|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogicalProjectRegistry
A registry for managing the set of known logical projects.
| Field Summary | |
|---|---|
static String |
COPY_RIGHT
|
| Method Summary | |
|---|---|
void |
add(ILogicalProject project)
Add a project to the registry. |
boolean |
contains(ILogicalProject project)
Returns true if the specified project is in the registry. |
ILogicalProject |
find(String projectName)
Searches for a project with the specified name in the registry. |
IProjectFactory |
getProjectFactory(String projectType)
Returns a project factory which matches the specified project type |
Object[] |
getProjects()
Returns an array of the projects in the registry. |
ISubProjectFactory |
getSubProjectFactory(String subProjectType)
Return a subproject factory which matches the subproject type |
void |
remove(ILogicalProject project)
Removes a project from the registry. |
| Field Detail |
|---|
static final String COPY_RIGHT
| Method Detail |
|---|
void add(ILogicalProject project)
throws OperationFailedException
project - the ILogicalProject to be added
{@link - OperationFailedException} if the add was not successful
OperationFailedExceptionboolean contains(ILogicalProject project)
true if the specified project is in the registry.
project - an ILogicalProject whose existence in the registry
is to be checked
true if the project is already in the registry,
false otherwiseILogicalProject find(String projectName)
projectName - a String containing the name of the project
ILogicalProject if the project is found,
null otherwiseIProjectFactory getProjectFactory(String projectType)
projectType - a String indicating the type of factory to be returned,
the set of valid project types is defined in the class XXXXX
IProjectFactory which can be used to create a projectObject[] getProjects()
ILogicalProjects in the registryISubProjectFactory getSubProjectFactory(String subProjectType)
subProjectType - -
a String indicating the type of factory to be returned.
The set of valid subproject types is defined in the class XXXXX
ISubProjectFactory which can be used to create a
subproject
void remove(ILogicalProject project)
throws OperationFailedException
project - an ILogicalProject representing the project to be
removed
{@link - OperationFailedException} if the remove was not successful
OperationFailedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||