|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.dataops.purge.StandardPurgeService
Use the newStandardPurgeService
static factory method(s),
not the StandardPurgeService
constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
EXECUTE_QUEUES
|
private static String |
QUEUE_NAME
|
private static String |
RESOURCE
|
private static boolean |
VERBOSE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardPurgeService()
|
Method Summary | |
protected static void |
addQueueEntry()
|
private static boolean |
checkExistsQueueEntry()
|
static void |
cleanupCancelledPurgeRecords(String message)
|
String |
getConceptualClassname()
Deprecated. |
private static Timestamp |
getFutureTime()
This will run every midnight. |
static StandardPurgeService |
newStandardPurgeService()
Default factory for the class. |
protected void |
performStartupProcess()
Dummy method to be overridden by subclasses. |
private WTHashSet |
processObjects(Object[] objects,
WTHashSet copyOfIterationsToBePurged,
WTHashSet iterationsNotPurged)
|
PurgeResult |
purge(PurgeRecord purgeRecord,
WTCollection objectsToPurge,
ConflictResolution[] resolutions,
Locale locale)
Performs the purge operation on the collection of objects passed. |
private void |
registerListeners()
|
private void |
validateTaskEventRemove(DataMaintRecord record,
TaskEvent taskEvent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final boolean VERBOSE
private static boolean EXECUTE_QUEUES
private static final String QUEUE_NAME
Constructor Detail |
public StandardPurgeService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
public static StandardPurgeService newStandardPurgeService() throws WTException
WTException
public PurgeResult purge(PurgeRecord purgeRecord, WTCollection objectsToPurge, ConflictResolution[] resolutions, Locale locale) throws WTException
purge
in interface PurgeService
purgeRecord
- Purge record to be used for creating log and operand list logobjectsToPurge
- Collection of objects to be purgedresolutions
- User specified resolutions for overridable conflictslocale
- Locale to be used for the messages in logs.
WTException
private void registerListeners()
private void validateTaskEventRemove(DataMaintRecord record, TaskEvent taskEvent) throws WTException
WTException
private WTHashSet processObjects(Object[] objects, WTHashSet copyOfIterationsToBePurged, WTHashSet iterationsNotPurged) throws WTException
WTException
protected static void addQueueEntry() throws WTException
WTException
public static void cleanupCancelledPurgeRecords(String message) throws WTException
WTException
private static Timestamp getFutureTime()
private static boolean checkExistsQueueEntry() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |