wt.inf.container.creator
Class ExchangeCreator

java.lang.Object
  extended bywt.inf.template.creator.AbstractWTContainerCreator
      extended bywt.inf.container.creator.ExchangeCreator
All Implemented Interfaces:
ContainerCreatorOrgOperations, WTContainerCreator

public final class ExchangeCreator
extends AbstractWTContainerCreator



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static boolean DEBUG
           
private static String EXCHANGE_TYPE
           
private static DebugWriter LOG
           
private static String RESOURCE
           
private static String RULE_TYPE
           
 
Fields inherited from class wt.inf.template.creator.AbstractWTContainerCreator
EMPTY_USER_ARRAY, WTOBJECT_TYPE
 
Constructor Summary
ExchangeCreator()
           
 
Method Summary
protected  WTContainer finalizeCreation(WTContainerCreateRequest createParams)
          This method should be over-ridden if there is a need to do any processing after loading business data.
protected  WTContainer initializeSystemAccess(WTContainerCreateRequest createParams)
          Initializes System access rules.
protected  WTContainer initializeSystemDomains(WTContainerCreateRequest initData)
          This method initializes the domain and folder structure for the container.
 
Methods inherited from class wt.inf.template.creator.AbstractWTContainerCreator
checkCreate, create, createAccessControlRule, createRootDomain, finalizeInitialization, getAdminGroupContext, getContainer, getContainerRef, initializeContextProvider, initializeRequiredSystemUsers, initializeSystemFolders, 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

DEBUG

private static final boolean DEBUG

LOG

private static final DebugWriter LOG

EXCHANGE_TYPE

private static final String EXCHANGE_TYPE

RULE_TYPE

private static final String RULE_TYPE
Constructor Detail

ExchangeCreator

public ExchangeCreator()
Method Detail

initializeSystemDomains

protected WTContainer initializeSystemDomains(WTContainerCreateRequest initData)
                                       throws WTException
This method initializes the domain and folder structure for the container. There are two domains and cabinets that are created no matter what you add to your over-ride. Those being the container System and Business domains and cabinets. When over-riding, the ContainerRequest contains the container, when you get done manipulating the container simply return it. The framework will make sure that the the request object has the right container reference.

Supported API: false

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

initializeSystemAccess

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

Supported API: false

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

finalizeCreation

protected WTContainer finalizeCreation(WTContainerCreateRequest createParams)
                                throws WTException
This method should be over-ridden if there is a need to do any processing after loading business data. The default is to do nothing.

Supported API: false

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