wt.clients.team
Class TeamTemplateTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.team.TeamTemplateTaskDelegate

public class TeamTemplateTaskDelegate
extends TaskDelegate

Class which allows the Windchill folder explorer to manipulate projects.


Nested Class Summary
(package private)  class TeamTemplateTaskDelegate.DialogListener
           
 
Field Summary
private static String RESOURCE
           
private  TeamTemplate tempobject
           
 
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
TeamTemplateTaskDelegate()
           
 
Method Summary
private  CProject createProject(TeamTemplate teamTemplate)
           
 void launchCreateTask()
          Method which launches the create task for projects.
 void launchRenameTask()
          Method which renames the selected team template.
 void launchSaveAsTask()
          Method which copies the selected Team Templates.
 void launchUpdateTask()
          Method which launches the update task for team templates.
 void launchViewTask()
          Method which launches the view task for Team Templates.
 
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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

tempobject

private TeamTemplate tempobject
Constructor Detail

TeamTemplateTaskDelegate

public TeamTemplateTaskDelegate()
Method Detail

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 team templates.

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 Team Templates.

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 Team Templates.

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 team template.

Throws:
TaskDelegateException

createProject

private CProject createProject(TeamTemplate teamTemplate)