wt.inf.library
Class ClassicCreatorHelper

java.lang.Object
  extended bywt.inf.template.creator.AbstractWTContainerCreator
      extended bywt.inf.library.ClassicCreatorHelper
All Implemented Interfaces:
ContainerCreatorOrgOperations, Serializable, WTContainerCreator

public final class ClassicCreatorHelper
extends AbstractWTContainerCreator
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.inf.template.creator.AbstractWTContainerCreator
EMPTY_USER_ARRAY, WTOBJECT_TYPE
 
Constructor Summary
protected ClassicCreatorHelper()
          

Supported API: false
 
Method Summary
 WTContainer initializeRequiredSystemUsers(WTContainerCreateRequest initData)
          This method initializes users and groups required for the container.
 WTContainer initializeSystemAccess(WTContainerCreateRequest createParams)
          Initializes System access rules.
 WTContainer initializeSystemFolders(WTContainerCreateRequest initData)
          This method initializes the folder structure for the container.
 
Methods inherited from class wt.inf.template.creator.AbstractWTContainerCreator
checkCreate, create, createAccessControlRule, createRootDomain, finalizeCreation, finalizeInitialization, getAdminGroupContext, getContainer, getContainerRef, initializeContextProvider, initializeSystemDomains, loadBusinessTemplate, migrate, migratePrePersistAttributes, runScript, setPrePersistAttributes, skipOrgXML, skipProjectXML, skipXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

ClassicCreatorHelper

protected ClassicCreatorHelper()


Supported API: false

Method Detail

initializeSystemFolders

public WTContainer initializeSystemFolders(WTContainerCreateRequest initData)
                                    throws WTException
This method initializes the folder structure for the container. By default no folders are created in this method. If your container requires ad-hocs to be set on folders, this is the place to set them, even the default cabinets.

Supported API: false

Overrides:
initializeSystemFolders in class AbstractWTContainerCreator
Parameters:
initData -
Returns:
WTContainer
Throws:
WTException

initializeRequiredSystemUsers

public WTContainer initializeRequiredSystemUsers(WTContainerCreateRequest initData)
                                          throws WTException
This method initializes users and groups required for the container. Whether this method is over-ridden or not, a Container Administrators group is created, and the user owning the active session is made the containers administrator. This method allows Containers to add required users and groups in addition to the required users.

Supported API: false

Overrides:
initializeRequiredSystemUsers in class AbstractWTContainerCreator
Parameters:
initData -
Returns:
WTContainer
Throws:
WTException

initializeSystemAccess

public WTContainer initializeSystemAccess(WTContainerCreateRequest createParams)
                                   throws WTException
Initializes System access rules. By default, the only rules put in place are to make the Container Administrator god. If your container requires Ad-Hoc ACLs, these should be created when the object is created and not in this over-ride since at this point the container has not yet reached a state where Ad-Hoc ACLS can be created. Generally this over-ride is for policy rules.

Supported API: false

Overrides:
initializeSystemAccess in class AbstractWTContainerCreator
Parameters:
createParams -
Returns:
WTContainer
Throws:
WTException