|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.util.TaskDelegate
wt.clients.workflow.definer.WfProcessTemplateTaskDelegate
Class which allows the Windchill folder explorer to manipulate life cycle templates.
Field Summary | |
(package private) ProcessNavigatorFrame |
frame
|
(package private) Workable |
original
|
private static String |
VC_RESOURCES
|
private static String |
versionID
|
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 | |
WfProcessTemplateTaskDelegate()
|
Method Summary | |
protected ProcessNavigatorFrame |
createProcessNavigatorFrame(boolean edit_mode)
|
protected WfProcessTemplateEditor |
createProcessTemplateEditor()
|
protected void |
deleteObject()
|
(package private) ProcessNavigatorFrame |
getProcessNavigatorFrame()
|
private boolean |
isCreateAllowed()
|
private boolean |
isModifyAllowed(WfProcessTemplate process)
|
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 |
launchSaveAsTask()
Method launchSaveAsTask launches the
CopyDialog to create a new WfProcessTemplate
document from the original selected document.. |
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 versionID
private static final String VC_RESOURCES
ProcessNavigatorFrame frame
Workable original
Constructor Detail |
public WfProcessTemplateTaskDelegate()
Method Detail |
ProcessNavigatorFrame getProcessNavigatorFrame()
protected WfProcessTemplateEditor createProcessTemplateEditor()
protected ProcessNavigatorFrame createProcessNavigatorFrame(boolean edit_mode)
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 launchSaveAsTask() throws TaskDelegateException
launchSaveAsTask
launches the
CopyDialog
to create a new WfProcessTemplate
document from the original selected document..
launchSaveAsTask
in class TaskDelegate
TaskDelegateException
- if an error occurs attempting to
set the folder in which to create the documentpublic 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 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
private boolean isCreateAllowed()
private boolean isModifyAllowed(WfProcessTemplate process)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |