com.versionone.om
Class Theme
java.lang.Object
com.versionone.om.Entity
com.versionone.om.BaseAsset
com.versionone.om.ProjectAsset
com.versionone.om.Theme
public class Theme
- extends ProjectAsset
Represents a Theme in the VersionOne system.
| Methods inherited from class com.versionone.om.BaseAsset |
canClose, canDelete, canReactivate, close, createAttachment, createAttachment, createConversation, createConversation, createLink, createLink, createNote, createNote, delete, getAttachments, getCustomDropdown, getCustomField, getDescription, getLinks, getName, getNotes, getReferencedInExpressions, getURL, isActive, isClosed, reactivate, setDescription, setName |
| Methods inherited from class com.versionone.om.Entity |
equals, get, getChangeComment, getChangeDate, getChangedBy, getCreateComment, getCreateDate, getCreatedBy, getID, getInstance, hashCode, save, save, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getOwners
public java.util.Collection<Member> getOwners()
- Returns:
- Members that own this item.
getRisk
public IListValueProperty getRisk()
- Returns:
- This Theme's Risk.
getPriority
public IListValueProperty getPriority()
- Returns:
- This Theme's Priority.
getSource
public IListValueProperty getSource()
- Returns:
- This Theme's Source.
getType
public IListValueProperty getType()
- Returns:
- This Theme's Type.
getStatus
public IListValueProperty getStatus()
- Returns:
- This Theme's Status.
getParentTheme
public Theme getParentTheme()
- Returns:
- The Theme this Theme is assigned to.
setParentTheme
public void setParentTheme(Theme value)
- Parameters:
value - The Theme this Theme is assigned to.
getCustomer
public Member getCustomer()
- Returns:
- Member assigned as a customer for this Theme.
setCustomer
public void setCustomer(Member value)
- Parameters:
value - Member assigned as a customer for this Theme.
getBuild
public java.lang.String getBuild()
- Returns:
- Build number associated with this Theme.
setBuild
public void setBuild(java.lang.String value)
- Parameters:
value - Build number associated with this Theme.
getEstimate
public java.lang.Double getEstimate()
- Returns:
- High-level estimate of this Theme.
setEstimate
public void setEstimate(java.lang.Double value)
- Parameters:
value - High-level estimate of this Theme.
getPrimaryWorkitems
public java.util.Collection<PrimaryWorkitem> getPrimaryWorkitems(PrimaryWorkitemFilter filter)
- Stories and Defects assigned to this Theme.
- Parameters:
filter - Criteria to filter stories and defects on. Pass a
DefectFilter or StoryFilter to get only Defects or
Stories, respectively.
- Returns:
- A collection primary work items that belong to this theme
filtered by the passed in filter.
getChildThemes
public java.util.Collection<Theme> getChildThemes(ThemeFilter filter)
- Child Themes of this Theme.
- Parameters:
filter - Criteria to filter children of themes. Pass a ThemeFilter
to get only children of themes, respectively.
- Returns:
- A collection children of theme that belong to this theme filtered
by the passed in filter.
getGoals
public java.util.Collection<Goal> getGoals()
- Returns:
- Goals this Theme is assigned to.
createChildTheme
public Theme createChildTheme(java.lang.String name)
- Create a theme that is a child of this theme.
- Parameters:
name - Name of the new theme.
- Returns:
- The new theme.
createChildTheme
public Theme createChildTheme(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> attributes)
- Create a theme that is a child of this theme.
- Parameters:
name - Name of the new theme.attributes - additional attributes for new theme.
- Returns:
- The new theme.