com.ptc.windchill.uwgm.task.associate
Class AssociateTask
java.lang.Object
com.ptc.core.task.Task
com.ptc.core.task.AtomicTask
com.ptc.windchill.uwgm.task.associate.AssociateTask
- All Implemented Interfaces:
- Externalizable, Serializable
- public class AssociateTask
- extends AtomicTask
- 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
protected static final String RESOURCE
- See Also:
- Constant Field Values
contextWorkspace
private EPMWorkspace contextWorkspace
isActiveWorkspace
private boolean isActiveWorkspace
sourceObject
private WTObject sourceObject
assocExecutorCache
private ArrayList assocExecutorCache
AssociateTask
public AssociateTask()
_run
public TaskResult _run()
throws WTException
- Description copied from class:
AtomicTask
Supported API: false
- Specified by:
_run
in class AtomicTask
- Returns:
- TaskResult
- Throws:
WTException
processAssociateAction
private TaskResult processAssociateAction(DefaultTaskData taskData)
throws WTException
- Throws:
WTException
createAndSaveAssociations
private void createAndSaveAssociations(Vector objsForRefreshCC)
throws WTPropertyVetoException,
WTException
- Throws:
WTPropertyVetoException
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
getObject
private Object getObject(String id)
throws WTException
- Throws:
WTException