wt.clients.epm
Class EPMDocumentTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.epm.EPMDocumentTaskDelegate
All Implemented Interfaces:
Serializable

public class EPMDocumentTaskDelegate
extends TaskDelegate
implements Serializable

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static boolean CREATE
           
private static ResourceBundle epmRB
           
private static String RESOURCE
           
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
EPMDocumentTaskDelegate()
           
 
Method Summary
 void launchCreateTask()
          Method launchCreateTask is invoked to launch the task to create a particular business object.
 void launchDeleteTask()
          Method launchDeleteTask is invoked to launch the task to delete a particular business object.
 void launchUpdateTask()
          Method launchUpdateTask is invoked to launch the task to update a particular business object.
 void launchViewTask()
          Method launchViewTask is invoked to launch the task to view a particular business object.
 
Methods inherited from class wt.clients.util.TaskDelegate
confirmAction, deleteObject, displayPropertiesPage, getObject, getParentApplet, getParentFolder, getParentFrame, 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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

epmRB

private static ResourceBundle epmRB

CREATE

private static boolean CREATE
Constructor Detail

EPMDocumentTaskDelegate

public EPMDocumentTaskDelegate()
Method Detail

launchCreateTask

public void launchCreateTask()
Description copied from class: TaskDelegate
Method launchCreateTask is invoked to launch the task to create a particular business object. Subclasses of this TaskDelegate class should implement the create task to support creating instances of the business object they represent. Since this TaskDelegate class is intented to be subclassed, this method provides no implementation. It method should be implemented to throw an exception when invoked, but simply does nothing.

Overrides:
launchCreateTask in class TaskDelegate

launchViewTask

public void launchViewTask()
                    throws TaskDelegateException,
                           ObjectNoLongerExistsException,
                           NotAuthorizedException,
                           WTException
Description copied from class: TaskDelegate
Method launchViewTask is invoked to launch the task to view a particular business object. Subclasses of this TaskDelegate class should implement the view task to support viewing instances of the business object they represent. The particular object to be viewed is specified via setObject. This method currently only contains the code to refresh the object to be viewed.

Overrides:
launchViewTask in class TaskDelegate
Throws:
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 viewing
See Also:
TaskDelegate.setObject(java.lang.Object)

launchUpdateTask

public void launchUpdateTask()
Description copied from class: TaskDelegate
Method launchUpdateTask is invoked to launch the task to update a particular business object. Subclasses of this TaskDelegate class should implement the update task to support updating instances of the business object they represent. The particular business object to be updated is specified via setObject. The implementation of this method prepares the given object for modification. Subclasses of this delegate class can invoke super.launchUpdateTask() in their implementations of this method to prepare the given object for modification.

Overrides:
launchUpdateTask in class TaskDelegate

launchDeleteTask

public void launchDeleteTask()
                      throws TaskDelegateException,
                             WTException
Description copied from class: TaskDelegate
Method launchDeleteTask is invoked to launch the task to delete a particular business object. Subclasses of this TaskDelegate class should implement the delete task to support deleting instances of the business object they represent. The particular object to be deleted is specified via setObject. This method will delete the object and then dispatch a RefreshEvent which broadcasts to RefreshListeners that the object was deleted.

Overrides:
launchDeleteTask in class TaskDelegate
Throws:
TaskDelegateException - if an error occurs deleting the object
WTException
See Also:
RefreshEvent, RefreshListener