wt.clients.vc.baseline
Class ManagedBaselineTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.vc.baseline.ManagedBaselineTaskDelegate

public class ManagedBaselineTaskDelegate
extends TaskDelegate

Class ManagedBaselineTaskDelegate provides support for launching the tasks to create, update and view ManagedBaseline objects. This class should not be directly instantiated or manipulated. Instead, obtain a wt.clients.util.TaskDelegate from the wt.clients.util.TaskDelegateFactory for a specific object or class, and invoke methods on that obtained TaskDelegate.

Supported API: false

Extendable: false

See Also:
TaskDelegate, TaskDelegateFactory

Field Summary
 
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
ManagedBaselineTaskDelegate()
           
 
Method Summary
 void launchCreateTask()
          Method launchCreateTask launches the task to create a new baseline.
 void launchUpdateTask()
          Method launchUpdateTask launches the BaselineTaskFrame to update a given ManagedBaseline.
 void launchViewTask()
          Method launchViewTask launches an html page to to view a given ManagedBaseline.
 
Methods inherited from class wt.clients.util.TaskDelegate
confirmAction, deleteObject, displayPropertiesPage, getObject, getParentApplet, getParentFolder, getParentFrame, launchDeleteTask, launchSaveAsTask, launchViewDistributionListTask, setObject, setObjectReference, setParentApplet, setParentFolder, setParentFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedBaselineTaskDelegate

public ManagedBaselineTaskDelegate()
Method Detail

launchCreateTask

public void launchCreateTask()
                      throws TaskDelegateException
Method launchCreateTask launches the task to create a new baseline.

Overrides:
launchCreateTask in class TaskDelegate
Throws:
TaskDelegateException - if an error occurs attempting to set the folder in which to create the document
See Also:
BaselineTaskFrame, ManagedBaseline

launchViewTask

public void launchViewTask()
                    throws ObjectNoLongerExistsException,
                           NotAuthorizedException,
                           TaskDelegateException,
                           WTException
Method launchViewTask launches an html page to to view a given ManagedBaseline.

Overrides:
launchViewTask in class TaskDelegate
Throws:
TaskDelegateException - if no object has been given to update or the given object is not a WTPart
NotAuthorizedException - if the current user does not have permission to modify nor view the given WTPart
ObjectNoLongerExistsException - the given WTPart no longer exists in the database
WTException - if an error occurs preparing the given WTPart for modification
See Also:
ManagedBaseline

launchUpdateTask

public void launchUpdateTask()
                      throws ModificationNotAllowedException,
                             ObjectNoLongerExistsException,
                             NotAuthorizedException,
                             TaskDelegateException,
                             WTException
Method launchUpdateTask launches the BaselineTaskFrame to update a given ManagedBaseline.

Overrides:
launchUpdateTask in class TaskDelegate
Throws:
TaskDelegateException - if no object has been given to update or the given object is not a WTPart
ModificationNotAllowedException - if the current user has permission to view but not to modify the given WTPart
NotAuthorizedException - if the current user does not have permission to modify nor view the given WTPart
ObjectNoLongerExistsException - the given WTPart no longer exists in the database
WTException - if an error occurs preparing the given WTPart for modification
See Also:
BaselineTaskFrame, ManagedBaseline