|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.util.TaskDelegate
wt.clients.lifecycle.LifeCycleTemplateTaskDelegate
Class which allows the Windchill folder explorer to manipulate life cycle templates.
Nested Class Summary | |
(package private) class |
LifeCycleTemplateTaskDelegate.DialogListener
|
Field Summary | |
private Workable |
original
|
private static String |
RESOURCE
|
(package private) LifeCycleTemplate |
tempobject
|
private static String |
VC_RESOURCES
|
Fields inherited from class wt.clients.util.TaskDelegate |
ACTION_KEY, OBJ_PROPS_ACTION, object, objReference, OID_KEY, parentApplet, parentFolder, parentFrame, URL_TEMPLATE_ACTION, URLPROCESSOR_CLASS |
Constructor Summary | |
LifeCycleTemplateTaskDelegate()
|
Method Summary | |
protected void |
deleteObject()
|
void |
launchCheckInTask()
Method which checks in the selected life cycle templates. |
void |
launchCheckInTask(WTContainerRef context)
Method which checks in the selected life cycle templates. |
void |
launchCheckOutTask()
Method which checks out the selected life cycle templates. |
void |
launchCreateTask()
Method which launches the create task for life cycle templates. |
void |
launchDeleteTask()
Launches the delete task to delete the template associated with this task delegate. |
void |
launchRenameTask()
Method which copies the selected life cycle templates. |
void |
launchSaveAsTask()
Method which copies the selected life cycle templates. |
void |
launchUndoCheckOutTask()
Method which undos a check out of the selected life cycle templates. |
void |
launchUpdateTask()
Method which launches the update task for life cycle templates. |
void |
launchViewTask()
Method which launches the view task for life cycle templates. |
Methods inherited from class wt.clients.util.TaskDelegate |
confirmAction, displayPropertiesPage, getObject, getParentApplet, getParentFolder, getParentFrame, launchViewDistributionListTask, setObject, setObjectReference, setParentApplet, setParentFolder, setParentFrame |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String VC_RESOURCES
private Workable original
LifeCycleTemplate tempobject
Constructor Detail |
public LifeCycleTemplateTaskDelegate()
Method Detail |
public void launchCreateTask() throws TaskDelegateException
launchCreateTask
in class TaskDelegate
TaskDelegateException
- if an error occurs launching a create taskpublic void launchUpdateTask() throws TaskDelegateException, NotAuthorizedException, ObjectNoLongerExistsException, ModificationNotAllowedException, WTException
launchUpdateTask
in class TaskDelegate
WTException
- if an error occurs preparing the object
for modification
NotAuthorizedException
- if the current user does not have
permission to modify nor view the object
ModificationNotAllowedException
- if the current user has permission to
view but not modify the object
TaskDelegateException
- if an error occurs launching a update
task
ObjectNoLongerExistsException
- if the object no longer exists in the
databasepublic void launchViewTask() throws TaskDelegateException, NotAuthorizedException, ObjectNoLongerExistsException, WTException
launchViewTask
in class TaskDelegate
ObjectNoLongerExistsException
- if the object no longer exists in the
database
NotAuthorizedException
- if the current user does not have
permission to view the object
TaskDelegateException
- if an error occurs launching a view
task
WTException
- if an error occurs preparing the object
for viewingTaskDelegate.setObject(java.lang.Object)
public void launchCheckOutTask() throws TaskDelegateException, NotAuthorizedException, ObjectNoLongerExistsException, WTException
TaskDelegateException
NotAuthorizedException
ObjectNoLongerExistsException
WTException
public void launchCheckInTask() throws TaskDelegateException, NotAuthorizedException, ObjectNoLongerExistsException, WTException
TaskDelegateException
NotAuthorizedException
ObjectNoLongerExistsException
WTException
public void launchCheckInTask(WTContainerRef context) throws TaskDelegateException, NotAuthorizedException, ObjectNoLongerExistsException, WTException
TaskDelegateException
NotAuthorizedException
ObjectNoLongerExistsException
WTException
public void launchRenameTask() throws WTException
WTException
public void launchSaveAsTask()
launchSaveAsTask
in class TaskDelegate
public void launchUndoCheckOutTask() throws TaskDelegateException, NotAuthorizedException, ObjectNoLongerExistsException, WTException
TaskDelegateException
NotAuthorizedException
ObjectNoLongerExistsException
WTException
public void launchDeleteTask() throws TaskDelegateException, WTException
launchDeleteTask
in class TaskDelegate
TaskDelegateException
- if the context object associated
with this task delegate is null or is not a document.
WTException
- if an error occurs deleting the document.RefreshEvent
,
RefreshListener
protected void deleteObject() throws WTException
deleteObject
in class TaskDelegate
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |