com.ibm.ftt.projects.core.logicalfactory
Interface ISubProjectFactory


public interface ISubProjectFactory

A factory for creating subprojects.


Field Summary
static String COPY_RIGHT
           
 
Method Summary
 ILogicalSubProject createSubProject(String name, ILogicalProject parentProject)
          Creates a logical subproject with the given name.
 

Field Detail

COPY_RIGHT

static final String COPY_RIGHT
See Also:
Constant Field Values
Method Detail

createSubProject

ILogicalSubProject createSubProject(String name,
                                    ILogicalProject parentProject)
                                    throws OperationFailedException
Creates a logical subproject with the given name. Once the logical subproject has been created, the following additional steps should be taken to ensure the subproject is properly initialized:
  1. Call it's setSystems method
  2. Call it's setPersistentProperty method for each required property.

Parameters:
name - a String containing the name of the logical subproject to be created
parentProject - the ILogicalProject to contain the new subproject
Returns:
the ILogicalSubProject that is created
Throws:
{@link - OperationFailedException} when the subproject cannot be created due to errors
OperationFailedException