wt.clients.folder
Class UpdateFolderTaskLogic
java.lang.Object
wt.clients.folder.FolderTaskLogic
wt.clients.folder.UpdateFolderTaskLogic
- public class UpdateFolderTaskLogic
- extends FolderTaskLogic
Class UpdateFolderTaskLogic contains static methods for updating a folder.
Supported API: true
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 |
UpdateFolderTaskLogic
public UpdateFolderTaskLogic()
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 Subfolderfolder
- 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 Subfolderfolder
- the SubFolder whose name will be changed to the given nameinherits
- whether the folder inherits its domain from its parent
Supported API: false
- Throws:
WTPropertyVetoException
WTException