Package com.polarion.alm.projects.model
Interface IProjectGroup
- All Superinterfaces:
IAdaptable
,IChangeListener
,IGroupEntity
,IHasCustomValues
,IHasValues
,ILocatedObject
,IPObject
IPObject
representation of project group. Project goups form
tree hierarchy, with projects being the leafs of this tree.
Note: Projects and project groups are available as
IPObjects
so that it's easy to read them and manipulate some
of their properties. However, they encapsulate lower level objects and
therefore it's not possible to create and delete projects by the means of
standard IPObject
ways.
The project group location is extracted from a context of the project group.
- Author:
- dobisekm
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from interface com.polarion.alm.projects.model.ILocatedObject
KEY_LOCATION
-
Method Summary
Modifier and TypeMethodDescriptionThis method performs a recursive search for all contained projects.getName()
The project group name is generated from a location of a project groupReturns list of groups contained in this project group sorted by name.Methods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adapt
Methods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChanged
Methods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomField
Methods inherited from interface com.polarion.alm.projects.model.ILocatedObject
getLocation
Methods inherited from interface com.polarion.platform.persistence.model.IPObject
can, copyTo, createStructureForKey, forget, getContextId, getDataRevision, getDataSvc, getEnumerationOptionForField, getEnumerationTypeForField, getFieldLabel, getFieldType, getIncompatibleCustomField, getIncompatibleCustomFieldPrototype, getIncompatibleCustomFieldsList, getLastRevision, getLocalId, getObjectId, getPrototype, getRevision, getUri, getValue, isModified, isPersisted, isReadOnly, isResolved, isUnresolvable, resolve, save, setEnumerationValue, setValue, update
-
Field Details
-
PROTO
- See Also:
-
KEY_PARENT
- See Also:
-
KEY_PROJECTS
- See Also:
-
KEY_GROUPS
- See Also:
-
KEY_NAME
- See Also:
-
-
Method Details
-
getParentProjectGroup
IProjectGroup getParentProjectGroup() -
getContainedProjects
IPObjectList getContainedProjects() -
getSortedContainedProjects
IPObjectList getSortedContainedProjects() -
getSortedDeepContainedProjects
IPObjectList getSortedDeepContainedProjects() -
getDeepContainedProjects
This method performs a recursive search for all contained projects.The result of this method might be expensive to calculate and is NOT cached by the IProjectGroup.
- Returns:
- a
IPObjectList
containingIProject
s
-
getName
String getName()The project group name is generated from a location of a project group- Returns:
- the name of a project group
-
getContainedGroups
- Returns:
- list of
IProjectGroup
contained in the project group
-
getSortedContainedGroups
IPObjectList getSortedContainedGroups()Returns list of groups contained in this project group sorted by name.- Returns:
- list of
IProjectGroup
(notnull
)
-