wt.clients.folder
Class FolderTaskDelegate
java.lang.Object
wt.clients.util.TaskDelegate
wt.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
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 |
RESOURCES
protected static final String RESOURCES
- See Also:
- Constant Field Values
FolderTaskDelegate
public FolderTaskDelegate()
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