com.ptc.windchill.enterprise.dataops.server
Class ArchivePurgeTask

java.lang.Object
  extended bycom.ptc.core.task.Task
      extended bycom.ptc.core.task.AtomicTask
          extended bycom.ptc.windchill.enterprise.dataops.server.PurgeTask
              extended bycom.ptc.windchill.enterprise.dataops.server.ArchivePurgeTask
All Implemented Interfaces:
Externalizable, Serializable

public class ArchivePurgeTask
extends PurgeTask

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ptc.windchill.enterprise.dataops.server.PurgeTask
 
Fields inherited from class com.ptc.core.task.AtomicTask
EXTERNALIZATION_VERSION_UID, OLD_FORMAT_VERSION_UID
 
Fields inherited from class com.ptc.core.task.Task
log, VERBOSE
 
Constructor Summary
ArchivePurgeTask()
           
ArchivePurgeTask(WTCollection objects, PurgeRecord record, Vector conflictResolutions)
           
 
Method Summary
protected  TaskResult _run()
          

Supported API: false
private  WTCollection getObjectsToArchive(WTCollection objectsToPurge, RelationshipMap relationsMap)
           
private static void PP(String s)
           
private  ArchiveStatus runArchive(ArchiveRecord archiveRecord, WTCollection objects)
           
private  void saveArchiveStatus(ArchiveRecord archiveRecord, ArchiveStatus archiveStatus)
           
 
Methods inherited from class com.ptc.windchill.enterprise.dataops.server.PurgeTask
createAndSetTaskData, getConflictResolutions, getObjectsAsWTCollection, getPurgeRecord, purgeStatus2TaskStatus, runPurge, savePurgeStatus, updateTaskObjects
 
Methods inherited from class com.ptc.core.task.AtomicTask
readExternal, readVersion, run, writeExternal
 
Methods inherited from class com.ptc.core.task.Task
execute, executeInBackground, getClientID, getContext, getEndDate, getInternalStatus, getName, getParentTask, getQueueName, getResolutionOptions, getStartDate, getTaskData, getTaskEventId, hasConflicts, hasErrors, hasOverridableConflicts, hasWarnings, isRunningInBackground, isTaskEventStatusStored, readVersion, setClientID, setContext, setEndDate, setInternalStatus, setName, setParentTask, setQueueName, setResolutionOptions, setRunningInBackground, setStartDate, setTaskData, setTaskEventId, setTaskEventStatusStored, toString, updateTaskEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

ArchivePurgeTask

public ArchivePurgeTask()

ArchivePurgeTask

public ArchivePurgeTask(WTCollection objects,
                        PurgeRecord record,
                        Vector conflictResolutions)
                 throws WTException
Method Detail

_run

protected TaskResult _run()
                   throws WTException
Description copied from class: AtomicTask


Supported API: false

Overrides:
_run in class PurgeTask
Throws:
WTException

runArchive

private ArchiveStatus runArchive(ArchiveRecord archiveRecord,
                                 WTCollection objects)
                          throws WTException
Throws:
WTException

saveArchiveStatus

private void saveArchiveStatus(ArchiveRecord archiveRecord,
                               ArchiveStatus archiveStatus)
                        throws WTException
Throws:
WTException

getObjectsToArchive

private WTCollection getObjectsToArchive(WTCollection objectsToPurge,
                                         RelationshipMap relationsMap)
                                  throws WTException
Throws:
WTException

PP

private static void PP(String s)