com.ptc.windchill.enterprise.dataops.server
Class CollectionTask
java.lang.Object
com.ptc.core.task.Task
com.ptc.core.task.AtomicTask
com.ptc.windchill.enterprise.dataops.server.CollectionTask
- All Implemented Interfaces:
- Externalizable, Serializable, TransactionalTask
- public class CollectionTask
- extends AtomicTask
- implements TransactionalTask, Externalizable
- See Also:
- Serialized Form
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 |
CollectionTask
public CollectionTask()
CollectionTask
public CollectionTask(PurgeRecord purgeRecord,
CollectionCriteria criteria,
boolean createPreviewFile,
Vector conflictResolutions)
throws WTException
_run
protected TaskResult _run()
throws WTException
- Description copied from class:
AtomicTask
Supported API: false
- Specified by:
_run
in class AtomicTask
- Returns:
- TaskResult
- Throws:
WTException
getPurgeRecord
protected PurgeRecord getPurgeRecord()
getCollectionCriteria
private CollectionCriteria getCollectionCriteria()
isCreatePreviewFile
private boolean isCreatePreviewFile(int collectionSize)
getConflictResolutions
private Vector getConflictResolutions()
setRecordStatus
private void setRecordStatus(PurgeRecord record,
PurgeStatus status)
throws WTException
- Throws:
WTException
PP_Objects
private static void PP_Objects(WTCollection objects)
PP
private static void PP(String s)