wt.clients.rn
Class WTRNRequestTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.rn.WTRNRequestTaskDelegate
All Implemented Interfaces:
Serializable

public class WTRNRequestTaskDelegate
extends TaskDelegate
implements Serializable

Task delegate for RosettaNet Request object (wt.rn.WTRNRequest).

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
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
WTRNRequestTaskDelegate()
           
 
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
Constructor Detail

WTRNRequestTaskDelegate

public WTRNRequestTaskDelegate()
Method Detail

launchCreateTask

public void launchCreateTask()
                      throws TaskDelegateException
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
Throws:
TaskDelegateException

launchUpdateTask

public void launchUpdateTask()
                      throws ModificationNotAllowedException,
                             ObjectNoLongerExistsException,
                             NotAuthorizedException,
                             TaskDelegateException,
                             WTException
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:
ModificationNotAllowedException
ObjectNoLongerExistsException
NotAuthorizedException
TaskDelegateException
WTException

launchViewTask

public void launchViewTask()
                    throws ObjectNoLongerExistsException,
                           NotAuthorizedException,
                           TaskDelegateException,
                           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
NotAuthorizedException
TaskDelegateException
WTException
See Also:
TaskDelegate.setObject(java.lang.Object)

launchDeleteTask

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