com.ptc.windchill.uwgm.task.associate
Class AssociateTask

java.lang.Object
  extended bycom.ptc.core.task.Task
      extended bycom.ptc.core.task.AtomicTask
          extended bycom.ptc.windchill.uwgm.task.associate.AssociateTask
All Implemented Interfaces:
Externalizable, Serializable

public class AssociateTask
extends AtomicTask

See Also:
Serialized Form

Nested Class Summary
(package private)  class AssociateTask.AssociateTaskExecutor
           
 
Field Summary
private  ArrayList assocExecutorCache
           
private  EPMWorkspace contextWorkspace
           
private  boolean isActiveWorkspace
           
protected static String RESOURCE
           
private  WTObject sourceObject
           
 
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
AssociateTask()
           
 
Method Summary
 TaskResult _run()
          

Supported API: false
private  void createAndSaveAssociations(Vector objsForRefreshCC)
           
 String getName()
          Gets the value of the attribute: name; Localized String that represents the "user task" label

Supported API: false
private  Object getObject(String id)
           
private  TaskResult processAssociateAction(DefaultTaskData taskData)
           
 
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, 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
 

Field Detail

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
Constructor Detail

AssociateTask

public AssociateTask()
Method Detail

_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