|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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)
|
Method Summary | |
---|---|
ActionRequestValue |
addDelegationRequest(ActionRequestValue parentRequest,
Recipient recipient,
Long responsibilityId,
Boolean forceAction,
String delegationType,
String annotation,
Long ruleId)
|
ActionRequestValue |
addDelegationRoleRequest(ActionRequestValue parentRequest,
String approvePolicy,
RoleRecipient role,
Long responsibilityId,
Boolean forceAction,
String delegationType,
String description,
Long ruleId)
|
ActionRequestValue |
addRoleRequest(RoleRecipient role,
String actionRequested,
String approvePolicy,
Integer priority,
Long responsibilityId,
Boolean forceAction,
String description,
Long ruleId)
Creates a root Role Request |
void |
addRoleResponsibilityRequest(List<ResponsibilityActionInfo> responsibilities,
String approvePolicy)
Generates an ActionRequest graph for the given KIM Responsibilities. |
ActionRequestValue |
addRootActionRequest(String actionRequested,
Integer priority,
Recipient recipient,
String description,
Long responsibilityId,
Boolean forceAction,
String approvePolicy,
Long ruleId)
|
ActionRequestValue |
createActionRequest(String actionRequested,
Integer priority,
Recipient recipient,
String description,
Long responsibilityId,
Boolean forceAction,
String annotation)
|
ActionRequestValue |
createActionRequest(String actionRequested,
Integer priority,
Recipient recipient,
String description,
Long responsibilityId,
Boolean forceAction,
String approvePolicy,
Long ruleId,
String annotation)
|
ActionRequestValue |
createActionRequest(String actionRequested,
Integer priority,
Recipient recipient,
String description,
Long responsibilityId,
Boolean forceAction,
String approvePolicy,
Long 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,
KimPrincipal principal,
String reasonActionCode,
KimPrincipal reasonActionUser,
String responsibilityDesc)
|
List<ActionRequestValue> |
generateNotifications(List requests,
KimPrincipal principal,
Recipient delegator,
String notificationRequestCode,
String actionTakenCode)
|
protected static ActionRequestService |
getActionRequestService()
|
protected static IdentityHelperService |
getIdentityHelperService()
|
protected static IdentityManagementService |
getIdentityManagementService()
|
List<ActionRequestValue> |
getRequestGraphs()
|
protected static RoleManagementService |
getRoleManagementService()
|
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)
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, Long responsibilityId, Boolean forceAction, String annotation)
public ActionRequestValue createActionRequest(String actionRequested, Integer priority, Recipient recipient, String description, Long responsibilityId, Boolean forceAction, String approvePolicy, Long ruleId, String annotation)
public ActionRequestValue createActionRequest(String actionRequested, Integer priority, Recipient recipient, String description, Long responsibilityId, Boolean forceAction, String approvePolicy, Long ruleId, String annotation, String requestLabel)
public ActionRequestValue createBlankActionRequest()
public ActionRequestValue createNotificationRequest(String actionRequestCode, KimPrincipal principal, String reasonActionCode, KimPrincipal reasonActionUser, String responsibilityDesc)
public List<ActionRequestValue> generateNotifications(List requests, KimPrincipal principal, Recipient delegator, String notificationRequestCode, String actionTakenCode)
public ActionRequestValue addRoleRequest(RoleRecipient role, String actionRequested, String approvePolicy, Integer priority, Long responsibilityId, Boolean forceAction, String description, Long ruleId)
role
- actionRequested
- approvePolicy
- priority
- responsibilityId
- forceAction
- description
- ruleId
-
public void addRoleResponsibilityRequest(List<ResponsibilityActionInfo> responsibilities, String approvePolicy)
responsibilities
- approvePolicy
- public ActionRequestValue addDelegationRoleRequest(ActionRequestValue parentRequest, String approvePolicy, RoleRecipient role, Long responsibilityId, Boolean forceAction, String delegationType, String description, Long ruleId)
public ActionRequestValue addDelegationRequest(ActionRequestValue parentRequest, Recipient recipient, Long responsibilityId, Boolean forceAction, String delegationType, String annotation, Long ruleId)
public ActionRequestValue addRootActionRequest(String actionRequested, Integer priority, Recipient recipient, String description, Long responsibilityId, Boolean forceAction, String approvePolicy, Long ruleId)
public boolean relatedToRoot(ActionRequestValue request)
public List<ActionRequestValue> getRequestGraphs()
protected static ActionRequestService getActionRequestService()
protected static RoleManagementService getRoleManagementService()
protected static IdentityHelperService getIdentityHelperService()
protected static IdentityManagementService getIdentityManagementService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |