wt.clients.folder
Class FolderTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.folder.FolderTaskDelegate
Direct Known Subclasses:
CabinetTaskDelegate, 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


Field Summary
protected 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
FolderTaskDelegate()
           
 
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 wt.clients.util.TaskDelegate
confirmAction, deleteObject, displayPropertiesPage, getObject, getParentApplet, getParentFolder, getParentFrame, launchCreateTask, 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

RESOURCES

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

FolderTaskDelegate

public FolderTaskDelegate()
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.

Overrides:
launchViewTask in class TaskDelegate
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.

Overrides:
launchDeleteTask in class TaskDelegate
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