com.ptc.windchill.uwgm.task.disassociate
Class DisassociateTask

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

public class DisassociateTask
extends AtomicTask

See Also:
Serialized Form

Field Summary
private static Log log
           
protected static String RESOURCE
           
 
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
VERBOSE
 
Constructor Summary
DisassociateTask()
           
 
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.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

log

private static Log log
Constructor Detail

DisassociateTask

public DisassociateTask()
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

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)