wt.fv.uploadtocache
Class CCSRepair

java.lang.Object
  extended bywt.fv.uploadtocache.CCSRepair
All Implemented Interfaces:
RemoteAccess

public class CCSRepair
extends Object
implements RemoteAccess


Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
private static boolean removeMode
           
(package private) static boolean SERVER
           
private static boolean viewOnly
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
CCSRepair()
           
 
Method Summary
private static boolean attemptToFixAppData(ApplicationData apd)
           
private static Vector checkAppDataContentIntegrity(QueryResult adVec)
           
private static HolderToContent findAppDataHolderLink(ApplicationData ad)
           
private static ContentHolder findContentHolder(ApplicationData apd)
           
private static ApplicationData findCorPredecessorAppData(ContentHolder prevCH, ApplicationData apd)
           
static void main(String[] args)
           
private static void print(String msg)
           
private static void print(String msg, boolean printInRemoveMode)
           
private static boolean processArgs(String[] args)
           
private static int removeCorruptedContent(Vector toRemoveV)
           
private static void repairCCS()
           
private static QueryResult serverRequestor_getCorruptedAppDataSet()
           
private static boolean serverRequestor_removeContentStructure(ApplicationData ad)
           
static QueryResult serverSide_getAppDataSet()
           
static boolean serverSide_RemoveContentStructure(ApplicationData ad)
           
private static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

viewOnly

private static boolean viewOnly

removeMode

private static boolean removeMode

SERVER

static final boolean SERVER

CLASSNAME

private static final String CLASSNAME

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values
Constructor Detail

CCSRepair

public CCSRepair()
Method Detail

main

public static void main(String[] args)

repairCCS

private static void repairCCS()
                       throws WTException
Throws:
WTException

serverSide_getAppDataSet

public static QueryResult serverSide_getAppDataSet()
                                            throws WTException
Throws:
WTException

checkAppDataContentIntegrity

private static Vector checkAppDataContentIntegrity(QueryResult adVec)
                                            throws WTException
Throws:
WTException

attemptToFixAppData

private static boolean attemptToFixAppData(ApplicationData apd)
                                    throws WTException
Throws:
WTException

findCorPredecessorAppData

private static ApplicationData findCorPredecessorAppData(ContentHolder prevCH,
                                                         ApplicationData apd)
                                                  throws WTException
Throws:
WTException

findContentHolder

private static ContentHolder findContentHolder(ApplicationData apd)
                                        throws WTException
Throws:
WTException

processArgs

private static boolean processArgs(String[] args)

print

private static void print(String msg)

print

private static void print(String msg,
                          boolean printInRemoveMode)

usage

private static void usage()

removeCorruptedContent

private static int removeCorruptedContent(Vector toRemoveV)

serverRequestor_removeContentStructure

private static boolean serverRequestor_removeContentStructure(ApplicationData ad)
                                                       throws WTException
Throws:
WTException

serverRequestor_getCorruptedAppDataSet

private static QueryResult serverRequestor_getCorruptedAppDataSet()
                                                           throws WTException
Throws:
WTException

serverSide_RemoveContentStructure

public static boolean serverSide_RemoveContentStructure(ApplicationData ad)
                                                 throws WTException
Throws:
WTException

findAppDataHolderLink

private static HolderToContent findAppDataHolderLink(ApplicationData ad)
                                              throws WTException
Throws:
WTException