public static final class ActionRequest.Builder extends Object implements Serializable, ModelBuilder, ActionRequestContract
ActionRequest
instances. Enforces the constraints of the ActionRequestContract
.public static ActionRequest.Builder create(String id, ActionRequestType actionRequested, ActionRequestStatus status, String responsibilityId, String documentId, RecipientType recipientType)
public static ActionRequest.Builder create(ActionRequestContract contract)
public ActionRequest build()
ModelBuilder
build
in interface ModelBuilder
public String getId()
Identifiable
getId
in interface Identifiable
getId
in interface ActionRequestContract
public ActionRequestType getActionRequested()
getActionRequested
in interface ActionRequestContract
public ActionRequestStatus getStatus()
getStatus
in interface ActionRequestContract
public boolean isCurrent()
isCurrent
in interface ActionRequestContract
public org.joda.time.DateTime getDateCreated()
getDateCreated
in interface ActionRequestContract
public String getResponsibilityId()
getResponsibilityId
in interface ActionRequestContract
public String getDocumentId()
getDocumentId
in interface ActionRequestContract
public int getPriority()
getPriority
in interface ActionRequestContract
public int getRouteLevel()
getRouteLevel
in interface ActionRequestContract
public String getAnnotation()
getAnnotation
in interface ActionRequestContract
public RecipientType getRecipientType()
getRecipientType
in interface ActionRequestContract
public String getPrincipalId()
getPrincipalId
in interface ActionRequestContract
public String getGroupId()
getGroupId
in interface ActionRequestContract
public ActionRequestPolicy getRequestPolicy()
getRequestPolicy
in interface ActionRequestContract
public String getResponsibilityDescription()
getResponsibilityDescription
in interface ActionRequestContract
public boolean isForceAction()
isForceAction
in interface ActionRequestContract
public DelegationType getDelegationType()
getDelegationType
in interface ActionRequestContract
public String getRoleName()
getRoleName
in interface ActionRequestContract
public String getQualifiedRoleName()
getQualifiedRoleName
in interface ActionRequestContract
public String getQualifiedRoleNameLabel()
getQualifiedRoleNameLabel
in interface ActionRequestContract
public String getRouteNodeInstanceId()
getRouteNodeInstanceId
in interface ActionRequestContract
public String getNodeName()
getNodeName
in interface ActionRequestContract
public String getRequestLabel()
getRequestLabel
in interface ActionRequestContract
public String getParentActionRequestId()
getParentActionRequestId
in interface ActionRequestContract
public ActionTaken.Builder getActionTaken()
getActionTaken
in interface ActionRequestContract
public List<ActionRequest.Builder> getChildRequests()
getChildRequests
in interface ActionRequestContract
public void setActionRequested(ActionRequestType actionRequested)
public void setStatus(ActionRequestStatus status)
public void setCurrent(boolean current)
public void setDateCreated(org.joda.time.DateTime dateCreated)
public void setResponsibilityId(String responsibilityId)
public void setDocumentId(String documentId)
public void setPriority(int priority)
public void setRouteLevel(int routeLevel)
public void setAnnotation(String annotation)
public void setRecipientType(RecipientType recipientType)
public void setPrincipalId(String principalId)
public void setGroupId(String groupId)
public void setRequestPolicy(ActionRequestPolicy requestPolicy)
public void setResponsibilityDescription(String responsibilityDescription)
public void setForceAction(boolean forceAction)
public void setDelegationType(DelegationType delegationType)
public void setRoleName(String roleName)
public void setQualifiedRoleName(String qualifiedRoleName)
public void setQualifiedRoleNameLabel(String qualifiedRoleNameLabel)
public void setRouteNodeInstanceId(String routeNodeInstanceId)
public void setNodeName(String nodeName)
public void setRequestLabel(String requestLabel)
public void setParentActionRequestId(String parentActionRequestId)
public void setActionTaken(ActionTaken.Builder actionTaken)
public void setChildRequests(List<ActionRequest.Builder> childRequests)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.