Copyright 2005-2013 The Kuali Foundation
Licensed under the Educational Community License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Service to handle the building, sorting, saving, activating and deactivating of action request graphs. These lists are
what determine role and delegation behaviors in graphs of action requests.
Fetching that is being done is also taking into account the 'weight' of action request codes.
- Kuali Rice Team (email@example.com)
This method gets a list of ids of all principals who have a pending action request for a document.
Returns all pending requests for a given routing entity
documentId the id of the document header being routed
- a List of all pending ActionRequestValues for the document
Filters action requests based on if they occur after the given requestCode, and if they relate to
the given principal
actionRequests the List of ActionRequestValues to filter
principalId the id of the principal to find active requests for
principalGroupIds List of group ids that the principal belongs to
requestCode the request code for all ActionRequestValues to be after
- the filtered List of ActionRequestValues
Returns the highest priority delegator in the list of action requests.
Returns the closest delegator for the given ActionRequest
If this is a role request, then this method returns a List of the action request for each recipient within the
role. Otherwise, it will return a List with just the original action request.
Checks if the given user has any Action Requests on the given document.