public interface ICategory extends ICategoryHandle, IAuditable, IProjectScoped
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARCHIVED_PROPERTY
The archived property, see
isArchived() . |
static java.util.Collection<java.lang.String> |
ASSOCIATED_TEAM_AREAS_PROPERTIES
The associated team areas properties, see
getAssociatedTeamAreas() |
static java.lang.String |
CATEGORY_ID
The category id property, see
getCategoryId() . |
static java.lang.String |
DEFAULT_CATEGORY_PROPERTY
The default property, see
#isDefault() . |
static ItemProfile<ICategory> |
DEFAULT_PROFILE |
static java.lang.String |
DESCRIPTION_PROPERTY
The description property, see
getHTMLDescription() . |
static java.lang.String |
FILTERED_PROPERTY
The filtered property, see
isFiltered() . |
static ItemProfile<ICategory> |
FULL_PROFILE
The full item profile.
|
static IItemType |
ITEM_TYPE
The category item type.
|
static ItemProfile<ICategory> |
LARGE_PROFILE |
static ItemProfile<ICategory> |
MEDIUM_PROFILE |
static java.lang.String |
NAME_PROPERTY
The name property, see
getName() . |
static java.lang.String |
PROJECT_AREA_PROPERTY
The project area property, see
getProjectArea() . |
static java.lang.String |
READ_ACCESS_ENABLED_PROPERTY
The read access property, see
isReadAccessEnabled() . |
static ItemProfile<ICategory> |
SMALL_PROFILE |
MERGE_PREDECESSOR_STATE_PROPERTY, PREDECESSOR_STATE_PROPERTY
CONTEXT_ID_PROPERTY, ITEM_ID_PROPERTY, MAX_LARGE_STRING_BYTES, MAX_MEDIUM_STRING_BYTES, MAX_SMALL_STRING_BYTES, MODIFIED_BY_PROPERTY, MODIFIED_PROPERTY, STATE_ID_PROPERTY
Modifier and Type | Method and Description |
---|---|
java.util.List<ITeamAreaHandle> |
getAssociatedTeamAreas()
Returns the list of associated team areas.
|
CategoryId |
getCategoryId()
Returns the identifier, unique within a project area.
|
ITeamAreaHandle |
getDefaultTeamArea()
Returns the default team area that is used when a work item is not planned for an iteration.
|
int |
getDepth() |
java.lang.String |
getHierarchicalName()
|
com.ibm.team.foundation.common.text.XMLString |
getHTMLDescription()
Returns the description.
|
java.lang.String |
getName()
Returns the name suitable for presenting it as part of a label to the user.
|
CategoryId |
getParentId()
Deprecated.
use
getParentId2() instead, which returns the root category id where this returns null |
CategoryId |
getParentId2()
Returns the parent identifier.
|
IProjectAreaHandle |
getProjectArea()
Returns the project area this category belongs to.
|
java.util.List<ITeamAreaHandle> |
getTeamAreas()
Deprecated.
use read-only
getAssociatedTeamAreas() which also contains the "default team area" |
boolean |
isArchived()
Returns
true iff the category is archived and should no longer
be used. |
boolean |
isDefaultCategory()
Returns
true if the category is specified as a default for the mapped team area |
boolean |
isFiltered()
Returns
true if the category should be hidden from contributors not part of any associated team in the category subtree. |
boolean |
isReadAccessEnabled()
Returns
true iff this category is marked for team area based read access control |
boolean |
isSetDefaultTeamArea() |
boolean |
isUnassigned()
Returns
true iff this is the 'unassigned' category which is unique
within a project area. |
void |
setArchived(boolean value)
Deprecated.
internal
|
void |
setHTMLDescription(com.ibm.team.foundation.common.text.XMLString value)
Sets the description to the given xml string.
|
void |
setName(java.lang.String value)
Deprecated.
use
com.ibm.team.workitem.service.IWorkItemServer#renameCategory(ICategoryHandle, String, IProgressMonitor) instead |
getMergePredecessorState, getPredecessorState
isNewItem
getContextId, getItemHandle, getModifiedBy, getRedactedCopy, getRequestedModified, getRequestedStateId, getStateHandle, getWorkingCopy, hasHistory, isComplete, isPropertySet, isRedactedCopy, isWorkingCopy, modified, setContextId, setRequestedModified, setRequestedStateId
equals, getAdapter, getFullState, getItemId, getItemType, getOrigin, getStateId, hasFullState, hasStateId, isAuditable, isConfigurationAware, isImmutable, isSimple, isUnmanaged, makeImmutable, protect, sameItemId, sameStateId, size
static final IItemType ITEM_TYPE
static final java.lang.String PROJECT_AREA_PROPERTY
getProjectArea()
.static final java.lang.String NAME_PROPERTY
getName()
.static final java.lang.String DESCRIPTION_PROPERTY
getHTMLDescription()
.static final java.lang.String CATEGORY_ID
getCategoryId()
.static final java.lang.String FILTERED_PROPERTY
isFiltered()
.static final java.lang.String ARCHIVED_PROPERTY
isArchived()
.static final java.lang.String DEFAULT_CATEGORY_PROPERTY
#isDefault()
.static final java.lang.String READ_ACCESS_ENABLED_PROPERTY
isReadAccessEnabled()
.static final java.util.Collection<java.lang.String> ASSOCIATED_TEAM_AREAS_PROPERTIES
getAssociatedTeamAreas()
static final ItemProfile<ICategory> SMALL_PROFILE
static final ItemProfile<ICategory> DEFAULT_PROFILE
static final ItemProfile<ICategory> MEDIUM_PROFILE
static final ItemProfile<ICategory> LARGE_PROFILE
static final ItemProfile<ICategory> FULL_PROFILE
IProjectAreaHandle getProjectArea()
getProjectArea
in interface IProjectScoped
CategoryId getCategoryId()
java.lang.String getName()
IWorkItemCommon.resolveHierarchicalName(ICategoryHandle, IProgressMonitor)
com.ibm.team.foundation.common.text.XMLString getHTMLDescription()
void setHTMLDescription(com.ibm.team.foundation.common.text.XMLString value)
value
- the new descriptionint getDepth()
CategoryId getParentId2()
java.util.List<ITeamAreaHandle> getAssociatedTeamAreas()
ITeamAreaHandle getDefaultTeamArea()
boolean isSetDefaultTeamArea()
boolean isFiltered()
true
if the category should be hidden from contributors not part of any associated team in the category subtree.true
if the category should be hidden from unaffiliated contributorsboolean isDefaultCategory()
true
if the category is specified as a default for the mapped team areatrue
if the category is marked as defaultboolean isArchived()
true
iff the category is archived and should no longer
be used.true
iff the category is archivedboolean isUnassigned()
true
iff this is the 'unassigned' category which is unique
within a project area.true
iff this is the 'unassigned' categoryboolean isReadAccessEnabled()
true
iff this category is marked for team area based read access controltrue
iff the category is marked for access control@Deprecated java.lang.String getHierarchicalName()
@Deprecated java.util.List<ITeamAreaHandle> getTeamAreas()
getAssociatedTeamAreas()
which also contains the "default team area"@Deprecated void setArchived(boolean value)
@Deprecated CategoryId getParentId()
@Deprecated void setName(java.lang.String value)
com.ibm.team.workitem.service.IWorkItemServer#renameCategory(ICategoryHandle, String, IProgressMonitor)
instead