com.ptc.windchill.uwgm.task.saveas
Class SaveAsTask

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

public class SaveAsTask
extends AtomicTask

See Also:
Serialized Form

Nested Class Summary
(package private)  class SaveAsTask.SaveAsObjectInfo
           
 
Field Summary
private  String errorMessage
           
private  Locale locale
           
private static Log log
           
private  String sameAsNumber
           
static String SAVEAS_RESOURCE
           
private  String userManualNumber
           
 
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
SaveAsTask()
           
 
Method Summary
 TaskResult _run()
          

Supported API: false
private  WTContainer getContainer(Object obj)
           
 String getName()
          Gets the value of the attribute: name; Localized String that represents the "user task" label

Supported API: false
private  void logDetailMessageAndReturn(CopyObjectInfo[] copyObjectInfo)
           
private  CopyObjectInfo[] performSaveAs(HashMap objsForSaveAs)
           
private  void processSaveAsAction(DefaultTaskData df)
           
 
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

errorMessage

private String errorMessage

locale

private Locale locale

userManualNumber

private String userManualNumber

sameAsNumber

private String sameAsNumber

SAVEAS_RESOURCE

public static final String SAVEAS_RESOURCE
See Also:
Constant Field Values

log

private static Log log
Constructor Detail

SaveAsTask

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

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

processSaveAsAction

private void processSaveAsAction(DefaultTaskData df)
                          throws WTException
Throws:
WTException

performSaveAs

private CopyObjectInfo[] performSaveAs(HashMap objsForSaveAs)
                                throws WTException,
                                       WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

logDetailMessageAndReturn

private void logDetailMessageAndReturn(CopyObjectInfo[] copyObjectInfo)
                                throws WTException
Throws:
WTException

getContainer

private WTContainer getContainer(Object obj)