Package wt.clients.folder
Class CreateFolderTaskLogic
java.lang.Object
wt.clients.folder.FolderTaskLogic
wt.clients.folder.CreateFolderTaskLogic
public class CreateFolderTaskLogic
extends wt.clients.folder.FolderTaskLogic
Class
CreateFolderTaskLogic contains static methods to create
Folders.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic FoldercreateFolder(String folder_name, String folder_location) Creates a new Folder with the given name in the given folder location.static FoldercreateFolder(String folder_name, Folder parent_folder) Creates a new folder with the given name in the given folder location.Methods inherited from class wt.clients.folder.FolderTaskLogic
changeFolders, 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
-
Method Details
-
createFolder
public static Folder createFolder(String folder_name, Folder parent_folder) throws FolderException, WTPropertyVetoException, WTException Creates a new folder with the given name in the given folder location.- Parameters:
folder_name- the String name of the folder to be createdfolder_location- the Folder in which the new folder will be created.
Supported API:true- Throws:
FolderExceptionWTPropertyVetoExceptionWTException
-
createFolder
public static Folder createFolder(String folder_name, String folder_location) throws FolderException, WTPropertyVetoException, WTException Creates a new Folder with the given name in the given folder location.- Parameters:
folder_name- the String name of the folder to be createdfolder_location- the String location in which to create the new folder. The given String must be a valid path to an existing cabinet or folder.
Supported API:true- Throws:
FolderExceptionWTPropertyVetoExceptionWTException
-