|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.api.action.ActionTaken.Builder
public static final class ActionTaken.Builder
A builder which can be used to construct ActionTaken
instances. Enforces the constraints of the ActionTakenContract
.
Method Summary | |
---|---|
ActionTaken |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static ActionTaken.Builder |
create(ActionTakenContract contract)
|
static ActionTaken.Builder |
create(String id,
String documentId,
String principalId,
ActionType actionTaken)
|
org.joda.time.DateTime |
getActionDate()
|
ActionType |
getActionTaken()
|
String |
getAnnotation()
|
String |
getDelegatorGroupId()
|
String |
getDelegatorPrincipalId()
|
String |
getDocumentId()
|
String |
getId()
The unique identifier for an object. |
String |
getPrincipalId()
|
boolean |
isCurrent()
|
void |
setActionDate(org.joda.time.DateTime actionDate)
|
void |
setActionTaken(ActionType actionTaken)
|
void |
setAnnotation(String annotation)
|
void |
setCurrent(boolean current)
|
void |
setDelegatorGroupId(String delegatorGroupId)
|
void |
setDelegatorPrincipalId(String delegatorPrincipalId)
|
void |
setDocumentId(String documentId)
|
void |
setId(String id)
|
void |
setPrincipalId(String principalId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ActionTaken.Builder create(String id, String documentId, String principalId, ActionType actionTaken)
public static ActionTaken.Builder create(ActionTakenContract contract)
public ActionTaken build()
ModelBuilder
build
in interface ModelBuilder
public String getId()
Identifiable
getId
in interface Identifiable
getId
in interface ActionTakenContract
public String getDocumentId()
getDocumentId
in interface ActionTakenContract
public String getPrincipalId()
getPrincipalId
in interface ActionTakenContract
public String getDelegatorPrincipalId()
getDelegatorPrincipalId
in interface ActionTakenContract
public String getDelegatorGroupId()
getDelegatorGroupId
in interface ActionTakenContract
public ActionType getActionTaken()
getActionTaken
in interface ActionTakenContract
public org.joda.time.DateTime getActionDate()
getActionDate
in interface ActionTakenContract
public String getAnnotation()
getAnnotation
in interface ActionTakenContract
public boolean isCurrent()
isCurrent
in interface ActionTakenContract
public void setId(String id)
public void setDocumentId(String documentId)
public void setPrincipalId(String principalId)
public void setDelegatorPrincipalId(String delegatorPrincipalId)
public void setDelegatorGroupId(String delegatorGroupId)
public void setActionTaken(ActionType actionTaken)
public void setActionDate(org.joda.time.DateTime actionDate)
public void setAnnotation(String annotation)
public void setCurrent(boolean current)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |