wt.clients.project
Class ProjectTaskDelegate
java.lang.Object
wt.clients.util.TaskDelegate
wt.clients.project.ProjectTaskDelegate
- public class ProjectTaskDelegate
- extends TaskDelegate
Class which allows the Windchill folder explorer to manipulate
projects.
Methods inherited from class wt.clients.util.TaskDelegate |
confirmAction, deleteObject, displayPropertiesPage, getObject, getParentApplet, getParentFolder, getParentFrame, launchDeleteTask, launchViewDistributionListTask, setObject, setObjectReference, setParentApplet, setParentFolder, setParentFrame |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
tempobject
private TeamTemplate tempobject
ProjectTaskDelegate
public ProjectTaskDelegate()
launchCreateTask
public void launchCreateTask()
throws TaskDelegateException
- Method which launches the create task for projects.
- Overrides:
launchCreateTask
in class TaskDelegate
- Throws:
TaskDelegateException
- if an error occurs launching a create task
launchUpdateTask
public void launchUpdateTask()
throws ModificationNotAllowedException,
ObjectNoLongerExistsException,
NotAuthorizedException,
TaskDelegateException,
WTException
- Method which launches the update task for projects.
- Overrides:
launchUpdateTask
in class TaskDelegate
- Throws:
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
database
launchViewTask
public void launchViewTask()
throws TaskDelegateException
- Method which launches the view task for projects.
- Overrides:
launchViewTask
in class TaskDelegate
- Throws:
TaskDelegateException
- if an error occurs launching a view
task- See Also:
TaskDelegate.setObject(java.lang.Object)
launchSaveAsTask
public void launchSaveAsTask()
throws TaskDelegateException
- Method which copies the selected projects.
- Overrides:
launchSaveAsTask
in class TaskDelegate
- Throws:
TaskDelegateException
- if an error occurs launching a create task
launchRenameTask
public void launchRenameTask()
throws TaskDelegateException
- Method which renames the selected project.
- Throws:
TaskDelegateException
createProject
private CProject createProject(TeamTemplate teamTemplate)