wt.clients.folder
Class UpdateFolderTaskLogic

java.lang.Object
  extended by wt.clients.folder.FolderTaskLogic
      extended by wt.clients.folder.UpdateFolderTaskLogic

public class UpdateFolderTaskLogic
extends wt.clients.folder.FolderTaskLogic

Class UpdateFolderTaskLogic contains static methods for updating a folder.

Supported API: true


Method Summary
static Folder renameFolder(String name, SubFolder folder)
          This method will rename the given SubFolder object with the given name.
 
Methods inherited from class wt.clients.folder.FolderTaskLogic
changeFolders, getAllCabinets, getAllCabinets, getCabinetsByPermission, getCabinetsByPermission, getCabinetsByPermission, getContainingCabinet, getCreatorName, getFolder, getFolder, getFolderContents, getFolderContents, getFolderContents, getFolderSeparator, getObjectId, getParentFolder, getPersonalCabinet, getRootPath, getSubFolders, getSubFolders, getSubFolders, getSubFoldersByPermission, getSubFoldersByPermission, inPersonalCabinet, inPersonalCabinet, inPersonalCabinet, inPersonalCabinet, isEqual, isPersonalCabinet, setFolder, setFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

renameFolder

public static Folder renameFolder(String name,
                                  SubFolder folder)
                           throws WTPropertyVetoException,
                                  WTException
This method will rename the given SubFolder object with the given name.

Parameters:
name - the String name to use as the new name of the Subfolder
folder - the SubFolder whose name will be changed to the given name

Supported API: true
Throws:
WTPropertyVetoException
WTException