wt.clients.epm
Class EPMDocumentMasterTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.epm.EPMDocumentMasterTaskDelegate

public class EPMDocumentMasterTaskDelegate
extends TaskDelegate


Field Summary
private static String CLASSNAME
           
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
EPMDocumentMasterTaskDelegate()
           
 
Method Summary
 void launchCreateTask()
          This method is only a nop implementation to support the interface.
 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
Constructor Detail

EPMDocumentMasterTaskDelegate

public EPMDocumentMasterTaskDelegate()
Method Detail

launchCreateTask

public void launchCreateTask()
                      throws TaskDelegateException
This method is only a nop implementation to support the interface. Creating EPMDocumentMasters directly is not allowed from the Java Client.

Overrides:
launchCreateTask in class TaskDelegate
Throws:
TaskDelegateException - if an error occurs launching a create task

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()
                      throws TaskDelegateException
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
Throws:
TaskDelegateException - if an error occurs launching a update task

launchDeleteTask

public void launchDeleteTask()
                      throws TaskDelegateException
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
See Also:
RefreshEvent, RefreshListener