com.ptc.windchill.uwgm.task.autoassociate
Class AutoAssociateTask
java.lang.Object
com.ptc.core.task.Task
com.ptc.core.task.AtomicTask
com.ptc.windchill.uwgm.task.autoassociate.AutoAssociateTask
- All Implemented Interfaces:
- Externalizable, Serializable, TransactionalTask
- public class AutoAssociateTask
- extends AtomicTask
- implements TransactionalTask
- See Also:
- Serialized Form
Methods inherited from class com.ptc.core.task.Task |
execute, executeInBackground, getClientID, getContext, getEndDate, getInternalStatus, 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 |
RESOURCE
public static final String RESOURCE
- See Also:
- Constant Field Values
UNIQUE_OID_SEPERATOR
private static final String UNIQUE_OID_SEPERATOR
- See Also:
- Constant Field Values
rf
private static ReferenceFactory rf
currentWorkspace
private EPMWorkspace currentWorkspace
isActiveWorkspace
private boolean isActiveWorkspace
locale
private Locale locale
defaultPartFolderOid
private String defaultPartFolderOid
finderCreator
private AutoAssociatePartFinderCreator finderCreator
autoAssocExecutorCache
private ArrayList autoAssocExecutorCache
AutoAssociateTask
public AutoAssociateTask()
_run
public TaskResult _run()
throws WTException
- Description copied from class:
AtomicTask
Supported API: false
- Specified by:
_run
in class AtomicTask
- Returns:
- TaskResult
- Throws:
WTException
getName
public String getName()
- Description copied from class:
Task
- Gets the value of the attribute: name; Localized String that represents
the "user task" label
Supported API: false
- Overrides:
getName
in class Task
- Returns:
- String
processAction
public TaskResult processAction(DefaultTaskData df)
throws WTException
- Throws:
WTException
getTargetFolderForNewParts
private WTKeyedMap getTargetFolderForNewParts()
throws WTException
- Throws:
WTException
createAndSaveAssociations
private void createAndSaveAssociations(Vector refreshCCWTParts)
throws WTPropertyVetoException,
WTException
- Throws:
WTPropertyVetoException
WTException
getObjectFromOid
private RevisionControlled getObjectFromOid(String oid)
throws WTException
- Throws:
WTException
getDefaultFolderOid
private String getDefaultFolderOid(EPMWorkspace workspace,
Class objectClass)
throws WTException
- Throws:
WTException
logErrorMessage
private void logErrorMessage(String messageId,
Object[] param)
throws WTException
- Throws:
WTException