|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 ModelBuilderpublic String getId()
Identifiable
getId in interface Identifiablepublic Integer getPriority()
RuleResponsibilityContract
getPriority in interface RuleResponsibilityContractpublic String getResponsibilityId()
RuleResponsibilityContractThis is the unique Id of the Responsibility
getResponsibilityId in interface RuleResponsibilityContractpublic String getActionRequestedCd()
RuleResponsibilityContractThis code matches the unique code for an ActionRequest
getActionRequestedCd in interface RuleResponsibilityContractpublic String getApprovePolicy()
RuleResponsibilityContract
getApprovePolicy in interface RuleResponsibilityContractpublic String getPrincipalId()
RuleResponsibilityContract
getPrincipalId in interface RuleResponsibilityContractpublic String getGroupId()
RuleResponsibilityContract
getGroupId in interface RuleResponsibilityContractpublic String getRoleName()
RuleResponsibilityContract
getRoleName in interface RuleResponsibilityContractpublic List<RuleDelegation.Builder> getDelegationRules()
RuleResponsibilityContract
getDelegationRules in interface RuleResponsibilityContractpublic boolean isUsingRole()
RuleResponsibilityContract
isUsingRole in interface RuleResponsibilityContractpublic boolean isUsingPrincipal()
RuleResponsibilityContract
isUsingPrincipal in interface RuleResponsibilityContractpublic boolean isUsingGroup()
RuleResponsibilityContract
isUsingGroup in interface RuleResponsibilityContractpublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic 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 | |||||||||