wt.projmgmt.util
Class RepairManualMode

java.lang.Object
  extended bywt.projmgmt.util.RepairManualMode

public class RepairManualMode
extends Object

This script updates manual mode project management objects so that they are compatible with the new manual mode implemntation (introduced in 6.2.6.05) that tracks actual start and actual finish dates.


Field Summary
private static String CMD
           
private static int DEFAULT_PAGE_SIZE
           
private static int ERROR_STATUS
           
private static String HELP_FLAG
           
private static int numberOfErrors
           
private static int OK_STATUS
           
private static String PAGE_SIZE_FLAG
           
private static String SILENT_FLAG
           
 
Constructor Summary
RepairManualMode()
           
 
Method Summary
static Timestamp alignBack(Timestamp theTime, TimeZone tz)
           
static ExecutionObject alignDates(ExecutionObject exObj, boolean VERBOSE)
           
static Timestamp alignForward(Timestamp theTime, TimeZone tz)
           
static void main(String[] args)
           
static ExecutionObject repairManualMode(ExecutionObject exObj, boolean VERBOSE)
           
static ExecutionObject repairProjMgmtObject(ExecutionObject exObj, boolean VERBOSE)
           
static void usage(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PAGE_SIZE

private static final int DEFAULT_PAGE_SIZE
See Also:
Constant Field Values

CMD

private static final String CMD

PAGE_SIZE_FLAG

private static final String PAGE_SIZE_FLAG
See Also:
Constant Field Values

SILENT_FLAG

private static final String SILENT_FLAG
See Also:
Constant Field Values

HELP_FLAG

private static final String HELP_FLAG
See Also:
Constant Field Values

ERROR_STATUS

private static final int ERROR_STATUS
See Also:
Constant Field Values

OK_STATUS

private static final int OK_STATUS
See Also:
Constant Field Values

numberOfErrors

private static int numberOfErrors
Constructor Detail

RepairManualMode

public RepairManualMode()
Method Detail

usage

public static void usage(int status)

main

public static void main(String[] args)

repairProjMgmtObject

public static ExecutionObject repairProjMgmtObject(ExecutionObject exObj,
                                                   boolean VERBOSE)
                                            throws WTException
Throws:
WTException

repairManualMode

public static ExecutionObject repairManualMode(ExecutionObject exObj,
                                               boolean VERBOSE)
                                        throws WTException
Throws:
WTException

alignDates

public static ExecutionObject alignDates(ExecutionObject exObj,
                                         boolean VERBOSE)
                                  throws WTException
Throws:
WTException

alignBack

public static Timestamp alignBack(Timestamp theTime,
                                  TimeZone tz)

alignForward

public static Timestamp alignForward(Timestamp theTime,
                                     TimeZone tz)