com.ptc.windchill.uwgm.task.disassociate
Class DisassociateTask
java.lang.Object
com.ptc.core.task.Task
com.ptc.core.task.AtomicTask
com.ptc.windchill.uwgm.task.disassociate.DisassociateTask
- All Implemented Interfaces:
- Externalizable, Serializable
- public class DisassociateTask
- extends AtomicTask
- See Also:
- Serialized Form
Fields inherited from class com.ptc.core.task.Task |
VERBOSE |
Method Summary |
TaskResult |
_run()
Supported API: false |
private void |
debugPrint(Vector objects)
|
private TaskResult |
disassociateFromDoc(Object contextObj,
EPMWorkspace ws,
Folder checkoutFolder,
WTContainer contextContainer,
boolean isActiveWs,
Vector activeAssocs,
Vector passiveAssocs)
|
private TaskResult |
disassociateFromPart(Object contextObj,
EPMWorkspace ws,
Folder checkoutFolder,
WTContainer contextContainer,
boolean isActiveWs,
Vector activeAssocs,
Vector passiveAssocs)
|
String |
getName()
Gets the value of the attribute: name; Localized String that represents
the "user task" label
Supported API: false |
private Object |
getObject(String objStr)
|
private void |
logErrorMessage(String messageId,
Object[] param)
|
private void |
logMessage(String messageId,
Object[] param)
|
private TaskResult |
processDissociateAction(DefaultTaskData taskData)
|
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
log
private static Log log
DisassociateTask
public DisassociateTask()
_run
public TaskResult _run()
throws WTException
- Description copied from class:
AtomicTask
Supported API: false
- Specified by:
_run
in class AtomicTask
- Returns:
- TaskResult
- Throws:
WTException
processDissociateAction
private TaskResult processDissociateAction(DefaultTaskData taskData)
throws WTException
- 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
disassociateFromPart
private TaskResult disassociateFromPart(Object contextObj,
EPMWorkspace ws,
Folder checkoutFolder,
WTContainer contextContainer,
boolean isActiveWs,
Vector activeAssocs,
Vector passiveAssocs)
throws WTException
- Throws:
WTException
disassociateFromDoc
private TaskResult disassociateFromDoc(Object contextObj,
EPMWorkspace ws,
Folder checkoutFolder,
WTContainer contextContainer,
boolean isActiveWs,
Vector activeAssocs,
Vector passiveAssocs)
throws WTException
- Throws:
WTException
logMessage
private void logMessage(String messageId,
Object[] param)
throws WTException
- Throws:
WTException
logErrorMessage
private void logErrorMessage(String messageId,
Object[] param)
throws WTException
- Throws:
WTException
getObject
private Object getObject(String objStr)
throws WTException
- Throws:
WTException
debugPrint
private void debugPrint(Vector objects)