wt.clients.folder
Class ShortcutTaskLogic

java.lang.Object
  extended bywt.clients.folder.ShortcutTaskLogic

public class ShortcutTaskLogic
extends Object

Class ShortcutTaskLogic provides static methods which contain the logic for manipulating Shortcuts.

Supported API: true

See Also:
Shortcut

Field Summary
private static String versionID
           
 
Constructor Summary
ShortcutTaskLogic()
           
 
Method Summary
static Shortcut createShortcut(CabinetBased target, Folder target_folder)
          Method createShortcut creates a new Shortcut to the given shortcut target in the given Folder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionID

private static final String versionID
See Also:
Constant Field Values
Constructor Detail

ShortcutTaskLogic

public ShortcutTaskLogic()
Method Detail

createShortcut

public static Shortcut createShortcut(CabinetBased target,
                                      Folder target_folder)
                               throws FolderException,
                                      WTException
Method createShortcut creates a new Shortcut to the given shortcut target in the given Folder.

Parameters:
target - the target of the Shortcut to be created
target_folder - the Folder in which to create the Shortcut
Returns:
the created Shortcut
Throws:
FolderException - if the given Folder in which to create the Shortcut is not valid
WTException - if an error occurs while creating the Shortcut
See Also:
CabinetBased, Folder,

Supported API: true