wt.projmgmt.admin
Class ProjectCreator

java.lang.Object
  extended bywt.inf.template.creator.AbstractWTContainerCreator
      extended bywt.inf.team.AbstractContainerTeamManagedCreator
          extended bywt.projmgmt.admin.ProjectCreator
All Implemented Interfaces:
ContainerCreatorOrgOperations, Serializable, WTContainerCreator

public class ProjectCreator
extends AbstractContainerTeamManagedCreator
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String ACTIONITEM_CLASS
           
private static boolean AUTO_CONFIRM
           
private static String CLASSNAME
           
private static String DELIVERABLE_CLASS
           
private static String MARKUP_CLASS
           
private static String MEETING_CLASS
           
private static String RESOURCE
           
 
Fields inherited from class wt.inf.team.AbstractContainerTeamManagedCreator
ACCESSPOLICYRULE_CLASS, CABINET_CLASS, DISCRETEACTIONITEM_CLASS, READ_TYPES, SUBFOLDER_CLASS, TOP_CLASS, WF_EXECUTION_OBJECT_CLASS
 
Fields inherited from class wt.inf.template.creator.AbstractWTContainerCreator
EMPTY_USER_ARRAY, WTOBJECT_TYPE
 
Constructor Summary
ProjectCreator()
           
 
Method Summary
protected  void checkCreate(WTContainerCreateRequest initData)
          Deprecated.  
protected  WTContainer finalizeInitialization(WTContainerCreateRequest createParams, XMLLob finalizeInitConfig)
          This method should be over-ridden to finalize any other initialization that is needed prior to Adding objects needed in the container.
protected  WTContainer initializeSystemAccess(WTContainerCreateRequest createParams)
          Initializes System access rules.
protected  WTContainer setPrePersistAttributes(WTContainerCreateRequest initData)
          This method sets attributes which need to be set prior to persisting the container.
 
Methods inherited from class wt.inf.team.AbstractContainerTeamManagedCreator
getAdminGroupContext, initializeContextProvider, initializeRequiredSystemUsers, initializeSystemFolders, migratePrePersistAttributes
 
Methods inherited from class wt.inf.template.creator.AbstractWTContainerCreator
create, createAccessControlRule, createRootDomain, finalizeCreation, getContainer, getContainerRef, initializeSystemDomains, loadBusinessTemplate, migrate, runScript, 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

ACTIONITEM_CLASS

private static final String ACTIONITEM_CLASS

DELIVERABLE_CLASS

private static final String DELIVERABLE_CLASS

MARKUP_CLASS

private static final String MARKUP_CLASS

MEETING_CLASS

private static final String MEETING_CLASS

AUTO_CONFIRM

private static final boolean AUTO_CONFIRM
Constructor Detail

ProjectCreator

public ProjectCreator()
Method Detail

checkCreate

protected void checkCreate(WTContainerCreateRequest initData)
                    throws WTException
Deprecated.  

This method can be over-ridden by concrete delegates to perform an early check on whether an object can be created. If the container cannot be created, implementors should throw a WTException.

Supported API: false

Overrides:
checkCreate in class AbstractWTContainerCreator
Parameters:
initData -
Throws:
WTException

setPrePersistAttributes

protected WTContainer setPrePersistAttributes(WTContainerCreateRequest initData)
                                       throws WTException
This method sets attributes which need to be set prior to persisting the container. Default is to do nothing.

Supported API: false

Overrides:
setPrePersistAttributes in class AbstractContainerTeamManagedCreator
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 AbstractContainerTeamManagedCreator
Parameters:
createParams -
Returns:
WTContainer
Throws:
WTException

finalizeInitialization

protected WTContainer finalizeInitialization(WTContainerCreateRequest createParams,
                                             XMLLob finalizeInitConfig)
                                      throws WTException
This method should be over-ridden to finalize any other initialization that is needed prior to Adding objects needed in the container. The passed in XMLLob is the one saved to finalizeInitData. This may be null.

Supported API: false

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