wt.clients.folder
Class CreateFolderTaskLogic

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

public class CreateFolderTaskLogic
extends FolderTaskLogic

Class CreateFolderTaskLogic contains static methods to create Folders.

See Also:


Supported API:true

Field Summary
private static String CHECKOUT_FOLDER
           
private static String MESSAGES_RESOURCE
           
private static String versionID
           
private static boolean windchillPDMInstalled
           
 
Fields inherited from class wt.clients.folder.FolderTaskLogic
 
Constructor Summary
CreateFolderTaskLogic()
           
 
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, Folder parent_folder, AdminDomainRef domain_ref)
          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.
static Folder createFolder(String folder_name, String folder_location, AdminDomainRef domain_ref)
          Creates a new Folder with the given name in the given folder location.
static boolean isSystemCabinet(WTContainer container, Folder parentFolder)
           
 
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
 

Field Detail

MESSAGES_RESOURCE

private static String MESSAGES_RESOURCE

versionID

private static final String versionID
See Also:
Constant Field Values

windchillPDMInstalled

private static final boolean windchillPDMInstalled

CHECKOUT_FOLDER

private static final String CHECKOUT_FOLDER
See Also:
Constant Field Values
Constructor Detail

CreateFolderTaskLogic

public CreateFolderTaskLogic()
Method Detail

createFolder

public static Folder createFolder(String folder_name,
                                  String folder_location,
                                  AdminDomainRef domain_ref)
                           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.
domain_ref - the AdminDomainRef of the domain the folder is to be assigned to

Supported API:false
Throws:
FolderException
WTPropertyVetoException
WTException

createFolder

public static Folder createFolder(String folder_name,
                                  Folder parent_folder,
                                  AdminDomainRef domain_ref)
                           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
parent_folder - the Folder in which the new folder will be created.
domain_ref - the AdminDomainRef of the domain the folder is to be assigned to

Supported API:false
Throws:
FolderException
WTPropertyVetoException
WTException

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
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

isSystemCabinet

public static boolean isSystemCabinet(WTContainer container,
                                      Folder parentFolder)