wt.clients.csm.businessentity
Class BusinessEntityTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.csm.businessentity.BusinessEntityTaskDelegate

public class BusinessEntityTaskDelegate
extends TaskDelegate

Class BusinessEntityTaskDelegate provides support for launching the tasks to create, update and view BusinessEntities. 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
static String BUSINESSENTITY_RESOURCE
           
protected  ResourceBundle 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
BusinessEntityTaskDelegate()
          Create the task delegate.
 
Method Summary
 Applet getApplet()
          Return the parent applet.
 Frame getFrame()
          Return the parent frame.
 Object getObject()
          Return the object the manipulate.
protected  void initRB()
           
 void launchViewTask()
          Method launchViewTask displays the HTML properties page for the part which is the context of this TaskDelegate.
 
Methods inherited from class wt.clients.util.TaskDelegate
confirmAction, deleteObject, displayPropertiesPage, getParentApplet, getParentFolder, getParentFrame, launchCreateTask, launchDeleteTask, launchSaveAsTask, launchUpdateTask, 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

BUSINESSENTITY_RESOURCE

public static final String BUSINESSENTITY_RESOURCE
See Also:
Constant Field Values

resource

protected ResourceBundle resource
Constructor Detail

BusinessEntityTaskDelegate

public BusinessEntityTaskDelegate()
Create the task delegate.

Method Detail

getObject

public Object getObject()
Return the object the manipulate.

Overrides:
getObject in class TaskDelegate
Returns:
the object to manipulate
See Also:
TaskDelegate.getObject(), TaskDelegate.launchViewTask(), TaskDelegate.launchUpdateTask(), TaskDelegate.launchDeleteTask(), WTReference

getFrame

public Frame getFrame()
Return the parent frame.

Returns:
the parent frame.

getApplet

public Applet getApplet()
Return the parent applet.

Returns:
the parent applet

initRB

protected void initRB()

launchViewTask

public void launchViewTask()
                    throws TaskDelegateException,
                           ObjectNoLongerExistsException,
                           NotAuthorizedException,
                           WTException
Method launchViewTask displays the HTML properties page for the part which is the context of this TaskDelegate.

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:
WTPart