|
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.WorkflowTransitionDto
public class WorkflowTransitionDto
Wraps a workflow transition.
Nested Class Summary | |
---|---|
static class |
WorkflowTransitionDto.SourceStatusComparator
A special Comparator to compare/sort transitions by source/from status |
static class |
WorkflowTransitionDto.TargetStatusComparator
A special Comparator to compare/sort transitions by target/to status |
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 |
Constructor Summary | |
---|---|
WorkflowTransitionDto()
|
Method Summary | |
---|---|
java.lang.String |
getActionClass()
|
java.util.List<TrackerLayoutLabelDto> |
getFieldUpdates()
Get the fields whose values to update when this transition is executed |
NamedDto |
getFromStatus()
Get the origin status of this transition |
java.lang.Integer |
getFromStatusId()
|
java.lang.String |
getFromStatusName()
|
java.lang.Boolean |
getGrantedToAssignee()
|
java.lang.Boolean |
getGrantedToSubmitter()
|
java.lang.String |
getLabel()
Deprecated. use NamedDto.getName() |
java.util.List<RoleDto> |
getRolesGranted()
|
NamedDto |
getToStatus()
Get the target/destination status of this transition |
java.lang.Integer |
getToStatusId()
|
java.lang.String |
getToStatusName()
|
TrackerDto |
getTracker()
Get the tracker this transition belongs to |
void |
setActionClass(java.lang.String actionClass)
|
void |
setFieldUpdates(java.util.List<TrackerLayoutLabelDto> fieldUpdates)
Set the fields whose values to update when this transition is executed |
void |
setFromStatus(NamedDto fromStatus)
Set the origin status of this transition |
void |
setGrantedToAssignee(java.lang.Boolean grantToAssignee)
|
void |
setGrantedToSubmitter(java.lang.Boolean grantToSubmitter)
|
void |
setRolesGranted(java.util.List<RoleDto> grantToRoles)
|
void |
setToStatus(NamedDto toStatus)
Set the target/destination status of this transition |
void |
setTracker(TrackerDto tracker)
Set the tracker this transition belongs to |
java.lang.String |
toString()
|
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
compareNames, compareString, compareStringIgnoreCase, compareTo, createLookupMap, equals, getName, hashCode, setName |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
clone, compare, compareInteger, equals, getId, hashCode, setId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WorkflowTransitionDto()
Method Detail |
---|
public TrackerDto getTracker()
public void setTracker(TrackerDto tracker)
tracker
- is the Trackerpublic NamedDto getFromStatus()
public void setFromStatus(NamedDto fromStatus)
fromStatus
- is the origin statuspublic java.lang.Integer getFromStatusId()
public java.lang.String getFromStatusName()
public NamedDto getToStatus()
public void setToStatus(NamedDto toStatus)
toStatus
- is the target/destination statuspublic java.lang.Integer getToStatusId()
public java.lang.String getToStatusName()
public java.lang.String getLabel()
NamedDto.getName()
public java.lang.Boolean getGrantedToSubmitter()
public void setGrantedToSubmitter(java.lang.Boolean grantToSubmitter)
public java.lang.Boolean getGrantedToAssignee()
public void setGrantedToAssignee(java.lang.Boolean grantToAssignee)
public java.util.List<RoleDto> getRolesGranted()
public void setRolesGranted(java.util.List<RoleDto> grantToRoles)
public java.util.List<TrackerLayoutLabelDto> getFieldUpdates()
public void setFieldUpdates(java.util.List<TrackerLayoutLabelDto> fieldUpdates)
fieldUpdates
- is a List of fields (id plus value) to update during this transitionpublic java.lang.String getActionClass()
public void setActionClass(java.lang.String actionClass)
public java.lang.String toString()
toString
in class NamedDto
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |