wt.clients.folder
Class SubFolderTaskDelegate

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

public class SubFolderTaskDelegate
extends FolderTaskDelegate

TaskDelegate for manipulating SubFolder objects. Provides the implementation for creating, updating, viewing and deleting folders.

Supported API:true

Extendable:true


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
SubFolderTaskDelegate()
           
 
Method Summary
 void launchCreateTask()
          Method launchCreateTask launches the task to create a new SubFolder.
 void launchUpdateTask()
          Method launchUpdateTask launches the task to update a SubFolder.
 void launchViewTask()
          Method launchViewTask launches the task to view a SubFolder.
 
Methods inherited from class wt.clients.folder.FolderTaskDelegate
launchDeleteTask
 
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

SubFolderTaskDelegate

public SubFolderTaskDelegate()
Method Detail

launchCreateTask

public void launchCreateTask()
                      throws TaskDelegateException
Method launchCreateTask launches the task to create a new SubFolder. If the parent folder has been set on this TaskDelegate, the parent folder is used as the parent folder in which the new folder is to be created. 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 SubFolder
See Also:
TaskDelegate,

Supported API: true

launchViewTask

public void launchViewTask()
                    throws ObjectNoLongerExistsException,
                           NotAuthorizedException,
                           TaskDelegateException,
                           WTException
Method launchViewTask launches the task to view a SubFolder.

Overrides:
launchViewTask in class FolderTaskDelegate
Throws:
TaskDelegateException - if no object to be viewed has been given, or if the object to be viewed is not a SubFolder, or if no parent frame has been specified to launch the view task
NotAuthorizedException - if the current user is not authorized to view the object
ObjectNoLongerExistsException - if the object to be viewed no longer exists
WTException - if an error occurs getting a refreshed copy of the object
See Also:
TaskDelegate,

Supported API: true

launchUpdateTask

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

Overrides:
launchUpdateTask in class TaskDelegate
Throws:
TaskDelegateException - if no object has been given to be updated, or if the given object is not a SubFolder, 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: true