wt.clients.folder
Class UpdateFolderTaskLogic

java.lang.Object
  extended bywt.clients.folder.FolderTaskLogic
      extended bywt.clients.folder.UpdateFolderTaskLogic

public class UpdateFolderTaskLogic
extends FolderTaskLogic

Class UpdateFolderTaskLogic contains static methods for updating a folder.

Supported API: true


Field Summary
 
Fields inherited from class wt.clients.folder.FolderTaskLogic
 
Constructor Summary
UpdateFolderTaskLogic()
           
 
Method Summary
static Folder renameFolder(String name, SubFolder folder)
          This method will rename the given SubFolder object with the given name.
static Folder updateFolder(String name, SubFolder folder, AdminDomainRef domain_ref, boolean inherits)
          This method will update the given SubFolder object with the given name, domain inheritence and AdminDomainRef.
 
Methods inherited from class wt.clients.folder.FolderTaskLogic
changeFolders, changeFolders, getAllCabinets, getAllCabinets, 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
 

Constructor Detail

UpdateFolderTaskLogic

public UpdateFolderTaskLogic()
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

updateFolder

public static Folder updateFolder(String name,
                                  SubFolder folder,
                                  AdminDomainRef domain_ref,
                                  boolean inherits)
                           throws WTPropertyVetoException,
                                  WTException
This method will update the given SubFolder object with the given name, domain inheritence and AdminDomainRef.

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
inherits - whether the folder inherits its domain from its parent

Supported API: false
Throws:
WTPropertyVetoException
WTException