|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.api.rule.RuleResponsibility.Builder
public static final class RuleResponsibility.Builder
A builder which can be used to construct RuleResponsibility
instances. Enforces the constraints of the RuleResponsibilityContract
.
Method Summary | |
---|---|
RuleResponsibility |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static RuleResponsibility.Builder |
create()
|
static RuleResponsibility.Builder |
create(RuleResponsibilityContract contract)
|
String |
getActionRequestedCd()
code for the Action Requested |
String |
getApprovePolicy()
approval policy for the RuleResponsibility |
List<RuleDelegation.Builder> |
getDelegationRules()
list of RuleDelegations for the RuleResponsibility |
String |
getGroupId()
unique id of the Group for the RuleResponsibility |
String |
getId()
The unique identifier for an object. |
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getPrincipalId()
unique id of the Principal for the RuleResponsibility |
Integer |
getPriority()
integer representation of the priority of the RuleResponsibility |
String |
getResponsibilityId()
Unique Id for Responsibility. |
String |
getRoleName()
unique name of the Role for the RuleResponsibility |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isUsingGroup()
determines if the RuleResponsibiltity is using a kim Group |
boolean |
isUsingPrincipal()
determines if the RuleResponsibiltity is using a kim Principal |
boolean |
isUsingRole()
determines if the RuleResponsibiltity is using a kim Role |
void |
setActionRequestedCd(String actionRequestedCd)
|
void |
setApprovePolicy(String approvePolicy)
|
void |
setDelegationRules(List<RuleDelegation.Builder> delegationRules)
|
void |
setGroupId(String groupId)
|
void |
setId(String id)
|
void |
setObjectId(String objectId)
|
void |
setPrincipalId(String principalId)
|
void |
setPriority(Integer priority)
|
void |
setResponsibilityId(String responsibilityId)
|
void |
setRoleName(String roleName)
|
void |
setVersionNumber(Long versionNumber)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RuleResponsibility.Builder create()
public static RuleResponsibility.Builder create(RuleResponsibilityContract contract)
public RuleResponsibility build()
ModelBuilder
build
in interface ModelBuilder
public String getId()
Identifiable
getId
in interface Identifiable
public Integer getPriority()
RuleResponsibilityContract
getPriority
in interface RuleResponsibilityContract
public String getResponsibilityId()
RuleResponsibilityContract
This is the unique Id of the Responsibility
getResponsibilityId
in interface RuleResponsibilityContract
public String getActionRequestedCd()
RuleResponsibilityContract
This code matches the unique code for an ActionRequest
getActionRequestedCd
in interface RuleResponsibilityContract
public String getApprovePolicy()
RuleResponsibilityContract
getApprovePolicy
in interface RuleResponsibilityContract
public String getPrincipalId()
RuleResponsibilityContract
getPrincipalId
in interface RuleResponsibilityContract
public String getGroupId()
RuleResponsibilityContract
getGroupId
in interface RuleResponsibilityContract
public String getRoleName()
RuleResponsibilityContract
getRoleName
in interface RuleResponsibilityContract
public List<RuleDelegation.Builder> getDelegationRules()
RuleResponsibilityContract
getDelegationRules
in interface RuleResponsibilityContract
public boolean isUsingRole()
RuleResponsibilityContract
isUsingRole
in interface RuleResponsibilityContract
public boolean isUsingPrincipal()
RuleResponsibilityContract
isUsingPrincipal
in interface RuleResponsibilityContract
public boolean isUsingGroup()
RuleResponsibilityContract
isUsingGroup
in interface RuleResponsibilityContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setId(String id)
public void setPriority(Integer priority)
public void setResponsibilityId(String responsibilityId)
public void setActionRequestedCd(String actionRequestedCd)
public void setApprovePolicy(String approvePolicy)
public void setPrincipalId(String principalId)
public void setGroupId(String groupId)
public void setRoleName(String roleName)
public void setDelegationRules(List<RuleDelegation.Builder> delegationRules)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |