|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.clients.util.TaskDelegate
wt.clients.folder.ShortcutTaskDelegate
public class ShortcutTaskDelegate
Class ShortcutTaskDelegate supports launching the tasks to
create, update, view and delete Shortcuts.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
launchCreateTask()
Method launchCreateTask launches the task to create a new
Shortcut. |
void |
launchDeleteTask()
Method launchDeleteTask launches the task to delete a
Shortcut. |
void |
launchUpdateTask()
Method launchUpdateTask launches the task to update a
Shortcut. |
void |
launchViewTask()
Method launchViewTask launches the task to view a
Shortcut. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void launchCreateTask()
throws TaskDelegateException
launchCreateTask launches the task to create a new
Shortcut. If the object has been set on this
TaskDelegate (via setObject), the
CreateShortcutDialog launched is initialized with that object
as the target of the Shortcut to be created. Otherwise, if
the parent folder has been set on this TaskDelegate, the
parent folder is used as the initial Shortcut target in the
dialog launched. 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.
TaskDelegateException - if no frame is found with which to
parent the dialog to create a new ShortcutTaskDelegate,
Supported API: true
public void launchViewTask()
throws ObjectNoLongerExistsException,
NotAuthorizedException,
TaskDelegateException,
WTException
launchViewTask launches the task to view a
Shortcut. This view task retrieves the actual target
of the Shortcut and attempts to launch the view task
of that target object.
TaskDelegateException - if no object to be viewed has been
given, or if the object to be viewed is not a Shortcut,
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
objectTaskDelegate,
Supported API: true
public void launchUpdateTask()
throws ModificationNotAllowedException,
NotAuthorizedException,
ObjectNoLongerExistsException,
TaskDelegateException,
WTException
launchUpdateTask launches the task to update a
Shortcut. This update task retrieves the actual target
of the Shortcut and attempts to launch the update task
of that target object.
TaskDelegateException - if no object has been given to be updated,
or if the given object is not a
Shortcut, 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
objectTaskDelegate,
Supported API: true
public void launchDeleteTask()
throws TaskDelegateException,
WTException
launchDeleteTask launches the task to delete a
Shortcut. This delete task launches a dialog which
asks the user to confirm the delete. Note that the shortcut object
itself, and not the target of the shortcut is deleted.
TaskDelegateException - if no object has been given to be updated,
or if the given object is not a
Shortcut
WTException - if an error occurs deleting the ShortcutTaskDelegate,
Supported API: true
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||