wt.clients.folder
Class SubFolderTaskDelegate

java.lang.Object
  extended by wt.clients.util.TaskDelegate
      extended by wt.clients.folder.FolderTaskDelegate
          extended by wt.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


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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

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.

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