wt.clients.folder
Class CreateFolderTaskLogic

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

public class CreateFolderTaskLogic
extends wt.clients.folder.FolderTaskLogic

Class CreateFolderTaskLogic contains static methods to create Folders.

See Also:


Supported API:true

Method Summary
static Folder createFolder(String folder_name, Folder parent_folder)
          Creates a new folder with the given name in the given folder location.
static Folder createFolder(String folder_name, String folder_location)
          Creates a new Folder with the given name in the given folder location.
 
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

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 created
folder_location - the Folder in which the new folder will be created.

Supported API:true
Throws:
FolderException
WTPropertyVetoException
WTException

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 created
folder_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:
FolderException
WTPropertyVetoException
WTException