Package com.polarion.alm.tracker.model
Interface ITrackerProject
- All Superinterfaces:
IAdaptable,IChangeListener,IGroupEntity,IHasCustomValues,IHasValues,ILocatedObject,IPObject,IProject
- Author:
- POLARION SOFTWARE
-
Field Summary
FieldsFields inherited from interface com.polarion.alm.projects.model.ILocatedObject
KEY_LOCATIONFields inherited from interface com.polarion.alm.projects.model.IProject
KEY_ACTIVE, KEY_COLOR, KEY_DESCRIPTION, KEY_ICON, KEY_ID, KEY_LEAD, KEY_LOCK_WORK_RECORDS_DATE, KEY_NAME, KEY_PROJECT_GROUP, PROTO -
Method Summary
Modifier and TypeMethodDescriptioncan()createCategory(String id) Create new category and add it to the projectcreateTimePoint(String id, DateOnly date) Create new time point and add it to the projectCreates new (unpersisted) instance of work item in this project.createWorkItem(String typeId) Shortcut method, which creates a work item instance with the type field set.voiddeleteCategory(ICategory category) Remove the category object from the project and delete itvoiddeleteTimePoint(ITimePoint timePoint) Returns the approval status enumeration available in this project.Returns the immutable list of allICategoryies in this project.getCategory(String categoryId) Returns users that are allowed to sign documents in the project.
It does not count with a custom set permissions that are defined for each document.Returns list ofIFoldersorted ascending byIFolder.getTitleOrName().Returns the hyperlink link roles enumeration available in this project.Returns instance ofILanguageDefinitionsProviderwith language definitions related to this project.Returns the module types enumeration available in this project.Returns the OSLC item link roles enumeration available in this project.Returns the priority enumeration available in this project.Returns the resolution enumeration available in this project.Returns the severity enumeration available in this project.Returns the signature state enumeration.Returns the signature verdict enumeration.getStart()Returns the status enumeration available in this project.getTimePoint(String timePointId) Returns the immutable list of allITimePoints in this project sorted by time (oldest time points first).getWorkItem(String workItemId) Returns a work item for the specified id.Returns the work item link roles enumeration available in this project.Returns the work item types enumeration available in this project.Returns the work record type enumeration available in this project.queryWorkItems(String query, String sort) Methods inherited from interface com.polarion.platform.persistence.model.IAdaptable
adaptMethods inherited from interface com.polarion.platform.persistence.model.IChangeListener
markChangedMethods inherited from interface com.polarion.platform.persistence.model.IHasCustomValues
getCustomField, getCustomFieldPrototype, getCustomFieldsList, setCustomFieldMethods inherited from interface com.polarion.platform.persistence.model.IPObject
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, updateMethods inherited from interface com.polarion.alm.projects.model.IProject
getColor, getColorOrDefault, getDescription, getIcon, getIconOrDefault, getId, getLead, getLocation, getLockWorkRecordsDate, getName, getProjectGroup, isActive, setActive, setColor, setDescription, setIcon, setLead, setLockWorkRecordsDate, setName
-
Field Details
-
KEY_TRACKER_PREFIX
- See Also:
-
KEY_START
- See Also:
-
KEY_FINISH
- See Also:
-
-
Method Details
-
getTrackerService
ITrackerService getTrackerService()- Since:
- 3.5.2
-
getTrackerPrefix
String getTrackerPrefix() -
getStart
DateOnly getStart() -
getFinish
DateOnly getFinish() -
createWorkItem
IWorkItem createWorkItem()Creates new (unpersisted) instance of work item in this project. It is not persisted in any way, unless it's saved.- Returns:
- a new
IWorkItem
-
createWorkItem
Shortcut method, which creates a work item instance with the type field set.- Parameters:
typeId- the work item type ID to set. The type ID is not checked for validity!- Returns:
- a new
IWorkItemwith the specified type set - See Also:
-
getWorkItem
Returns a work item for the specified id. The returned work item is unresolved and it is not guaranteed that it exists.- Parameters:
workItemId-- Returns:
- an unresolved
IWorkItemobject representing the workitem with the given id, nevernull
-
queryWorkItems
- Parameters:
query-sort- the format is same as forIIndexSearch.sort(String)
-
getCategories
IPObjectList getCategories()Returns the immutable list of allICategoryies in this project. -
getCategory
- Parameters:
categoryId-- Returns:
- Returns unresolved non
nullinstance, regardless of whether such category exists.
-
deleteCategory
Remove the category object from the project and delete it- Parameters:
category- to delete
-
createCategory
Create new category and add it to the project- Parameters:
id-- Returns:
- created category
-
createTimePoint
Create new time point and add it to the project- Parameters:
id- - id of new time pointdate- - date of a time point- Returns:
- created time point
-
getTimePoints
IPObjectList getTimePoints()Returns the immutable list of allITimePoints in this project sorted by time (oldest time points first). -
getTimePoint
- Parameters:
timePointId-- Returns:
- Returns unresolved non
nullinstance, regardless of whether such time point exists.
-
deleteTimePoint
-
getClosedTimePoints
IPObjectList getClosedTimePoints() -
getNotClosedTimePoints
IPObjectList getNotClosedTimePoints() -
getNearestTimePoint
ITimePoint getNearestTimePoint()- Returns:
- The time point, whose date is first approaching in the future.
Returns
nullif no such time point exists in this project.
-
getBaselinesManager
-
getWorkItemTypeEnum
IEnumeration<ITypeOpt> getWorkItemTypeEnum()Returns the work item types enumeration available in this project. The enumeration options areITypeOptinstances. -
getModuleTypeEnum
Returns the module types enumeration available in this project. The enumeration options areITypeOptinstances.- Since:
- 3.17.2
-
getWorkItemLinkRoleEnum
IEnumeration<ILinkRoleOpt> getWorkItemLinkRoleEnum()Returns the work item link roles enumeration available in this project. The enumeration options areILinkRoleOptinstances.- Returns:
- not
null
-
getOSLCItemLinkRoleEnum
Returns the OSLC item link roles enumeration available in this project. The enumeration options areIEnumOptioninstances.- Returns:
- not
null
-
getApprovalStatusEnum
IEnumeration<IApprovalStatusOpt> getApprovalStatusEnum()Returns the approval status enumeration available in this project. The enumeration options areIApprovalStatusOptinstances.- Returns:
- not
null
-
getResolutionEnum
IEnumeration getResolutionEnum()Returns the resolution enumeration available in this project. The enumeration options areIResolutionOptinstances.- Returns:
- not
null
-
getPlanningConstraintsSet
IEnumeration getPlanningConstraintsSet()- Returns:
- not
null
-
getSeverityEnum
IEnumeration getSeverityEnum()Returns the severity enumeration available in this project. The enumeration options areISeverityOptinstances.- Returns:
- not
null
-
getStatusEnum
IEnumeration getStatusEnum()Returns the status enumeration available in this project. The enumeration options areIStatusOptinstances.- Returns:
- not
null
-
getPriorityEnum
IPriorityEnumeration getPriorityEnum()Returns the priority enumeration available in this project. The enumeration options areIPriorityOptinstances.- Returns:
- not
null
-
getHyperlinkRoleEnum
IEnumeration<IHyperlinkRoleOpt> getHyperlinkRoleEnum()Returns the hyperlink link roles enumeration available in this project. The enumeration options areIHyperlinkRoleOptinstances.- Returns:
- not
null
-
getWorkRecordTypeEnum
IEnumeration getWorkRecordTypeEnum()Returns the work record type enumeration available in this project. The enumeration options areITypeOptinstances.- Returns:
- not
null - Since:
- 3.3
-
getSignatureVerdictEnum
Returns the signature verdict enumeration.- Since:
- 3.9.0
-
getSignatureStateEnum
Returns the signature state enumeration.- Since:
- 3.9.0
-
getLanguageDefinitionsProvider
ILanguageDefinitionsProvider getLanguageDefinitionsProvider()Returns instance ofILanguageDefinitionsProviderwith language definitions related to this project.- Returns:
- provider instance (never
null) - Since:
- 3.6.1
- See Also:
-
can
-
getFolders
Returns list ofIFoldersorted ascending byIFolder.getTitleOrName().- Since:
- 3.8.3
-
getDocumentSigners
Returns users that are allowed to sign documents in the project.
It does not count with a custom set permissions that are defined for each document.- Returns:
- users sorted by name
- Since:
- 3.9.0
- See Also:
-