|
||||||||||
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)
|
Method Summary | |
---|---|
ActionRequestValue |
addDelegationRequest(ActionRequestValue parentRequest,
Recipient recipient,
String responsibilityId,
Boolean forceAction,
String delegationType,
String annotation,
String ruleId)
|
ActionRequestValue |
addDelegationRoleRequest(ActionRequestValue parentRequest,
String approvePolicy,
RoleRecipient role,
String responsibilityId,
Boolean forceAction,
String delegationType,
String description,
String ruleId)
|
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<org.kuali.rice.kim.api.responsibility.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,
org.kuali.rice.kim.api.identity.principal.PrincipalContract principal,
String reasonActionCode,
org.kuali.rice.kim.api.identity.principal.PrincipalContract reasonActionUser,
String responsibilityDesc)
|
List<ActionRequestValue> |
generateNotifications(List requests,
org.kuali.rice.kim.api.identity.principal.PrincipalContract principal,
Recipient delegator,
String notificationRequestCode,
String actionTakenCode)
|
protected static ActionRequestService |
getActionRequestService()
|
protected static org.kuali.rice.kim.api.group.GroupService |
getGroupService()
|
protected static IdentityHelperService |
getIdentityHelperService()
|
protected static org.kuali.rice.kim.api.services.IdentityService |
getIdentityService()
|
List<ActionRequestValue> |
getRequestGraphs()
|
protected static org.kuali.rice.kim.api.role.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)
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, org.kuali.rice.kim.api.identity.principal.PrincipalContract principal, String reasonActionCode, org.kuali.rice.kim.api.identity.principal.PrincipalContract reasonActionUser, String responsibilityDesc)
public List<ActionRequestValue> generateNotifications(List requests, org.kuali.rice.kim.api.identity.principal.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<org.kuali.rice.kim.api.responsibility.ResponsibilityAction> responsibilities, String approvePolicy)
responsibilities
- approvePolicy
- public ActionRequestValue addDelegationRoleRequest(ActionRequestValue parentRequest, String approvePolicy, RoleRecipient role, String responsibilityId, Boolean forceAction, String delegationType, String description, String ruleId)
public ActionRequestValue addDelegationRequest(ActionRequestValue parentRequest, Recipient recipient, String responsibilityId, Boolean forceAction, String 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 boolean relatedToRoot(ActionRequestValue request)
public List<ActionRequestValue> getRequestGraphs()
protected static ActionRequestService getActionRequestService()
protected static org.kuali.rice.kim.api.role.RoleService getRoleService()
protected static IdentityHelperService getIdentityHelperService()
protected static org.kuali.rice.kim.api.services.IdentityService getIdentityService()
protected static org.kuali.rice.kim.api.group.GroupService getGroupService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |