wt.clients.folder
Class FolderTaskDelegate

java.lang.Object
  extended by wt.clients.util.TaskDelegate
      extended by wt.clients.folder.FolderTaskDelegate
Direct Known Subclasses:
SubFolderTaskDelegate

public class FolderTaskDelegate
extends TaskDelegate

Class FolderTaskDelegate is a TaskDelegate subclass for handling the creating, updating, viewing and deleting of folder objects.

Supported API: true


Method Summary
 void launchDeleteTask()
          Method launchDeleteTask launches the task to delete a Folder.
 void launchViewTask()
          Method launchViewTask launches the task to view a SubFolder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

launchViewTask

public void launchViewTask()
                    throws ObjectNoLongerExistsException,
                           NotAuthorizedException,
                           TaskDelegateException,
                           WTException
Method launchViewTask launches the task to view a SubFolder. This method displays the HTML properties page for the folder.

Throws:
TaskDelegateException - if no object to be viewed has been given, or if the object to be viewed is not a folder, 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

launchDeleteTask

public void launchDeleteTask()
                      throws TaskDelegateException,
                             WTException
Method launchDeleteTask launches the task to delete a Folder. This delete task launches a dialog which warns the user that all contents of the folder will be deleted and asks the user to confirm the delete.

Throws:
TaskDelegateException - if no object has been given to be updated, or if the given object is not a Folder
WTException - if an error occurs deleting the Folder
See Also:
TaskDelegate,

Supported API: true