|
||||||||||
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.ActionSet.Builder
public static final class ActionSet.Builder
A builder which can be used to construct ActionSet
instances. Enforces the constraints of the ActionSetContract
.
Method Summary | |
---|---|
boolean |
addAcknowledge()
This overridden method ... |
boolean |
addAction(String actionCode)
|
boolean |
addApprove()
|
boolean |
addCancel()
|
boolean |
addComplete()
|
boolean |
addDisapprove()
|
boolean |
addFyi()
|
boolean |
addRouted()
|
ActionSet |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static ActionSet.Builder |
create()
|
static ActionSet.Builder |
create(ActionSetContract contract)
Creates a builder by populating it with data from the given . |
List<String> |
getActionSet()
|
boolean |
hasAcknowledge()
|
boolean |
hasAction(String actionCode)
|
boolean |
hasApprove()
|
boolean |
hasCancel()
|
boolean |
hasComplete()
|
boolean |
hasDisapprove()
|
boolean |
hasFyi()
|
boolean |
hasRouted()
|
boolean |
removeAction(String actionCode)
|
void |
setActionSetList(List<String> actionSet)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ActionSet.Builder create()
public static ActionSet.Builder create(ActionSetContract contract)
contract
- the contract from which to populate this builder
public ActionSet build()
ModelBuilder
build
in interface ModelBuilder
public List<String> getActionSet()
public void setActionSetList(List<String> actionSet)
public boolean hasAction(String actionCode)
hasAction
in interface ActionSetContract
public boolean addAction(String actionCode)
addAction
in interface ActionSetContract
public boolean removeAction(String actionCode)
removeAction
in interface ActionSetContract
public boolean hasApprove()
hasApprove
in interface ActionSetContract
public boolean hasComplete()
hasComplete
in interface ActionSetContract
public boolean hasAcknowledge()
hasAcknowledge
in interface ActionSetContract
public boolean hasFyi()
hasFyi
in interface ActionSetContract
public boolean hasDisapprove()
hasDisapprove
in interface ActionSetContract
public boolean hasCancel()
hasCancel
in interface ActionSetContract
public boolean hasRouted()
hasRouted
in interface ActionSetContract
public boolean addApprove()
addApprove
in interface ActionSetContract
public boolean addComplete()
addComplete
in interface ActionSetContract
public boolean addAcknowledge()
addAcknowledge
in interface ActionSetContract
ActionSetContract.addAcknowledge()
public boolean addFyi()
addFyi
in interface ActionSetContract
public boolean addDisapprove()
addDisapprove
in interface ActionSetContract
public boolean addCancel()
addCancel
in interface ActionSetContract
public boolean addRouted()
addRouted
in interface ActionSetContract
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |