wt.clients.folder
Class CabinetTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.folder.FolderTaskDelegate
          extended bywt.clients.folder.CabinetTaskDelegate

public class CabinetTaskDelegate
extends FolderTaskDelegate

TaskDelegate for manipulating Cabinet objects. Provides the implementation for creating and updating cabinets.

Supported API:false


Field Summary
private static String RESOURCES
           
 
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
CabinetTaskDelegate()
           
 
Method Summary
 void launchCreateTask()
          Method launchCreateTask launches the task to create a new Cabinet.
 void launchUpdateTask()
          Method launchUpdateTask launches the task to update a Cabinet.
 
Methods inherited from class wt.clients.folder.FolderTaskDelegate
launchDeleteTask, launchViewTask
 
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

RESOURCES

private static final String RESOURCES
See Also:
Constant Field Values
Constructor Detail

CabinetTaskDelegate

public CabinetTaskDelegate()
Method Detail

launchCreateTask

public void launchCreateTask()
                      throws TaskDelegateException
Method launchCreateTask launches the task to create a new Cabinet. If no parent frame has been set on this TaskDelegate, and no frame can be retrieved from the parent applet of this TaskDelegate, then an exception is thrown.

Overrides:
launchCreateTask in class TaskDelegate
Throws:
TaskDelegateException - if no frame is found with which to parent the dialog to create a new Cabinet
See Also:
TaskDelegate,

Supported API: false

launchUpdateTask

public void launchUpdateTask()
                      throws ModificationNotAllowedException,
                             NotAuthorizedException,
                             ObjectNoLongerExistsException,
                             TaskDelegateException,
                             WTException
Method launchUpdateTask launches the task to update a Cabinet.

Overrides:
launchUpdateTask in class TaskDelegate
Throws:
TaskDelegateException - if no object has been given to be updated, or if the given object is not a Cabinet, or no parent frame could be found to parent the update task
ModificationNotAllowedException - if the current user is not authorized to modify the object
NotAuthorizedException - if the current user is not authorized to view the object
ObjectNoLongerExistsException - if the object to be updated no longer exists
WTException - if an error occurs getting a refreshed copy of the object
See Also:
TaskDelegate,

Supported API: false