|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.actionrequest.ActionRequestFactory
public class ActionRequestFactory
A factory to aid in creating the ever-so-gnarly ActionRequestValue object.
Constructor Summary | |
---|---|
ActionRequestFactory()
|
|
ActionRequestFactory(DocumentRouteHeaderValue document)
|
|
ActionRequestFactory(DocumentRouteHeaderValue document,
RouteNodeInstance routeNode)
|
|
ActionRequestFactory(RouteContext routeContext)
|
Method Summary | |
---|---|
ActionRequestValue |
addDelegationRequest(ActionRequestValue parentRequest,
Recipient recipient,
String responsibilityId,
Boolean forceAction,
DelegationType delegationType,
String annotation,
String ruleId)
|
ActionRequestValue |
addDelegationRoleRequest(ActionRequestValue parentRequest,
String approvePolicy,
RoleRecipient role,
String responsibilityId,
Boolean forceAction,
DelegationType delegationType,
String description,
String ruleId)
|
void |
addKimRoleRequest(String actionRequestedCode,
Integer priority,
Role role,
List<RoleMembership> memberships,
String description,
String responsibilityId,
boolean forceAction,
String actionRequestPolicyCode,
String requestLabel)
Generates an ActionRequest graph for the given KIM Responsibilities. |
ActionRequestValue |
addRoleRequest(RoleRecipient role,
String actionRequested,
String approvePolicy,
Integer priority,
String responsibilityId,
Boolean forceAction,
String description,
String ruleId)
Creates a root Role Request |
void |
addRoleResponsibilityRequest(List<ResponsibilityAction> responsibilities,
String approvePolicy)
Generates an ActionRequest graph for the given KIM Responsibilities. |
ActionRequestValue |
addRootActionRequest(String actionRequested,
Integer priority,
Recipient recipient,
String description,
String responsibilityId,
Boolean forceAction,
String approvePolicy,
String ruleId)
|
ActionRequestValue |
createActionRequest(String actionRequested,
Integer priority,
Recipient recipient,
String description,
String responsibilityId,
Boolean forceAction,
String annotation)
|
ActionRequestValue |
createActionRequest(String actionRequested,
Integer priority,
Recipient recipient,
String description,
String responsibilityId,
Boolean forceAction,
String approvePolicy,
String ruleId,
String annotation)
|
ActionRequestValue |
createActionRequest(String actionRequested,
Integer priority,
Recipient recipient,
String description,
String responsibilityId,
Boolean forceAction,
String approvePolicy,
String ruleId,
String annotation,
String requestLabel)
|
ActionRequestValue |
createActionRequest(String actionRequested,
Recipient recipient,
String description,
Boolean forceAction,
String annotation)
Constructs ActionRequestValue using default priority and 0 as responsibility |
ActionRequestValue |
createBlankActionRequest()
|
ActionRequestValue |
createNotificationRequest(String actionRequestCode,
PrincipalContract principal,
String reasonActionCode,
PrincipalContract reasonActionUser,
String responsibilityDesc)
|
List<ActionRequestValue> |
generateNotifications(List requests,
PrincipalContract principal,
Recipient delegator,
String notificationRequestCode,
String actionTakenCode)
|
protected static ActionRequestService |
getActionRequestService()
|
protected static GroupService |
getGroupService()
|
protected static IdentityHelperService |
getIdentityHelperService()
|
protected static IdentityService |
getIdentityService()
|
List<ActionRequestValue> |
getRequestGraphs()
|
protected static RoleService |
getRoleService()
|
boolean |
relatedToRoot(ActionRequestValue request)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActionRequestFactory()
public ActionRequestFactory(DocumentRouteHeaderValue document)
public ActionRequestFactory(DocumentRouteHeaderValue document, RouteNodeInstance routeNode)
public ActionRequestFactory(RouteContext routeContext)
Method Detail |
---|
public ActionRequestValue createActionRequest(String actionRequested, Recipient recipient, String description, Boolean forceAction, String annotation)
actionRequested
- recipient
- description
- forceAction
- annotation
-
public ActionRequestValue createActionRequest(String actionRequested, Integer priority, Recipient recipient, String description, String responsibilityId, Boolean forceAction, String annotation)
public ActionRequestValue createActionRequest(String actionRequested, Integer priority, Recipient recipient, String description, String responsibilityId, Boolean forceAction, String approvePolicy, String ruleId, String annotation)
public ActionRequestValue createActionRequest(String actionRequested, Integer priority, Recipient recipient, String description, String responsibilityId, Boolean forceAction, String approvePolicy, String ruleId, String annotation, String requestLabel)
public ActionRequestValue createBlankActionRequest()
public ActionRequestValue createNotificationRequest(String actionRequestCode, PrincipalContract principal, String reasonActionCode, PrincipalContract reasonActionUser, String responsibilityDesc)
public List<ActionRequestValue> generateNotifications(List requests, PrincipalContract principal, Recipient delegator, String notificationRequestCode, String actionTakenCode)
public ActionRequestValue addRoleRequest(RoleRecipient role, String actionRequested, String approvePolicy, Integer priority, String responsibilityId, Boolean forceAction, String description, String ruleId)
role
- actionRequested
- approvePolicy
- priority
- responsibilityId
- forceAction
- description
- ruleId
-
public void addRoleResponsibilityRequest(List<ResponsibilityAction> responsibilities, String approvePolicy)
responsibilities
- approvePolicy
- public ActionRequestValue addDelegationRoleRequest(ActionRequestValue parentRequest, String approvePolicy, RoleRecipient role, String responsibilityId, Boolean forceAction, DelegationType delegationType, String description, String ruleId)
public ActionRequestValue addDelegationRequest(ActionRequestValue parentRequest, Recipient recipient, String responsibilityId, Boolean forceAction, DelegationType delegationType, String annotation, String ruleId)
public ActionRequestValue addRootActionRequest(String actionRequested, Integer priority, Recipient recipient, String description, String responsibilityId, Boolean forceAction, String approvePolicy, String ruleId)
public void addKimRoleRequest(String actionRequestedCode, Integer priority, Role role, List<RoleMembership> memberships, String description, String responsibilityId, boolean forceAction, String actionRequestPolicyCode, String requestLabel)
public boolean relatedToRoot(ActionRequestValue request)
public List<ActionRequestValue> getRequestGraphs()
protected static ActionRequestService getActionRequestService()
protected static RoleService getRoleService()
protected static IdentityHelperService getIdentityHelperService()
protected static IdentityService getIdentityService()
protected static GroupService getGroupService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |