|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.base.DescribeableDto
com.intland.codebeamer.persistence.dto.TrackerDto
com.intland.codebeamer.persistence.dto.ReadOnlyTrackerDto
public class ReadOnlyTrackerDto
A special TrackerDto that doesn't allow to change it's attributes All attempts to invoke a property setter method will throw an UnsupportedOperationException
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto |
---|
DescribeableDto.DescriptionComparator |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
NamedDto.NameComparator |
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
IdentifiableDto.IdComparator |
Nested classes/interfaces inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto |
---|
ReferableDto.DescriptionComparator |
Field Summary |
---|
Fields inherited from class com.intland.codebeamer.persistence.dto.TrackerDto |
---|
BUG, CATEGORY_LINK_TYPE, CHANGE, GENERAL, INTERWIKI_LINK_TYPE, QA, REQUIREMENTS, TASK |
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto |
---|
HEAD_VERSION, SECTION_DELIMITER, VERSION_DELIMITER |
Constructor Summary | |
---|---|
ReadOnlyTrackerDto(TrackerDto tracker)
Create a read-only version of the specified tracker |
Method Summary | |
---|---|
java.lang.Object |
clone()
Create a writable copy of this ReadOnlyDto Caution: The semantics are different than the standard Object.clone() method,
because the returned object's class is typically different from the ReadOnlyDtos's class |
void |
setCreatedAt(java.util.Date createdAt)
Set the date and time the tracker was created |
void |
setCreatedBy(UserDto createdByUser)
Set the user that created the tracker |
void |
setDescription(java.lang.String details)
Set the description text |
void |
setDescriptionFormat(java.lang.String descriptionFormat)
Set the description format @see DescriptionFormat |
void |
setId(java.lang.Integer id)
Sets its unique identifier. |
void |
setKeyName(java.lang.String shortName)
Set the short/key name of the tracker |
void |
setName(java.lang.String name)
Sets its (descriptive) name. |
void |
setOldAfterDays(java.lang.Integer oldAfterDays)
|
void |
setProject(ProjectDto project)
Set the project the tracker belongs to |
void |
setReadable(boolean readable)
Access control flag: Can the current user see this tracker Note: This property is not persistent |
void |
setTemplateId(java.lang.Integer templateId)
Set the ID of the configuration template tracker |
void |
setType(TrackerTypeDto type)
Set the type of the tracker |
void |
setUsingWorkflow(boolean workflowActive)
Set whether to use workflow for this tracker or not |
void |
setVisible(java.lang.Boolean visible)
Set whether the tracker is visible |
void |
setWritable(boolean writable)
Access control flag: Can the current user edit this tracker Note: This property is not persistent |
Methods inherited from class com.intland.codebeamer.persistence.dto.TrackerDto |
---|
compareTo, compareTrackers, equals, getCreatedAt, getCreatedBy, getIconUrl, getInterwikiLink, getItemName, getKeyName, getOldAfterDays, getProcessDefinitionId, getProject, getShortDescription, getTemplateId, getTrackerTypeName, getType, getUrlLink, getVisible, isCategory, isReadable, isUsingWorkflow, isWritable, setProcessDefinitionId, toString |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto |
---|
compareByDescription, getDescription, getDescriptionFormat |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
compareNames, compareString, compareStringIgnoreCase, createLookupMap, getName, hashCode |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
compare, compareInteger, equals, getId, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReadOnlyTrackerDto(TrackerDto tracker)
tracker
- Method Detail |
---|
public java.lang.Object clone()
ReadOnlyDto
Object.clone()
method,
because the returned object's class is typically different from the ReadOnlyDtos's class
clone
in interface ReadOnlyDto
clone
in class IdentifiableDto
public void setId(java.lang.Integer id)
IdentifiableDto
setId
in class IdentifiableDto
public void setName(java.lang.String name)
NamedDto
setName
in class NamedDto
public void setDescription(java.lang.String details)
DescribeableDto
setDescription
in class DescribeableDto
details
- the description textpublic void setDescriptionFormat(java.lang.String descriptionFormat)
DescribeableDto
setDescriptionFormat
in class DescribeableDto
descriptionFormat
- to setpublic void setCreatedAt(java.util.Date createdAt)
TrackerDto
setCreatedAt
in class TrackerDto
createdAt
- is the date and time the tracker was created (must not be null)public void setCreatedBy(UserDto createdByUser)
TrackerDto
setCreatedBy
in class TrackerDto
createdByUser
- is the user that created the tracker (must not be null)public void setKeyName(java.lang.String shortName)
TrackerDto
setKeyName
in class TrackerDto
shortName
- for the tracker (must not be null)public void setOldAfterDays(java.lang.Integer oldAfterDays)
setOldAfterDays
in class TrackerDto
public void setProject(ProjectDto project)
TrackerDto
setProject
in interface ProjectAwareDto
setProject
in class TrackerDto
project
- of the tracker (must not be null)public void setReadable(boolean readable)
TrackerDto
setReadable
in class TrackerDto
readable
- true if the current user can see this tracker, otherwise falsepublic void setTemplateId(java.lang.Integer templateId)
TrackerDto
setTemplateId
in class TrackerDto
templateId
- of the template tracker, or null (no configuration template)public void setType(TrackerTypeDto type)
TrackerDto
setType
in class TrackerDto
type
- of the tracker to set (must not be null)public void setUsingWorkflow(boolean workflowActive)
TrackerDto
setUsingWorkflow
in class TrackerDto
workflowActive
- is true to activate workflow, false to deactivate workflowpublic void setVisible(java.lang.Boolean visible)
TrackerDto
setVisible
in class TrackerDto
visible
- should be TRUE to make the tracker visible, otherwise null or FALSEpublic void setWritable(boolean writable)
TrackerDto
setWritable
in interface WriteControlledDto
setWritable
in class TrackerDto
writable
- true if the current user may edit this tracker, otherwise false
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |