Interface ResponsibilityTypeService
- All Superinterfaces:
KimTypeService
A
KimTypeService with specific methods for Responsibilities.-
Method Summary
Modifier and TypeMethodDescriptiongetMatchingResponsibilities(Map<String, String> requestedDetails, List<Responsibility> responsibilities) Gets whether a responsibility assignment with the given details is applicable for the given request details.Methods inherited from interface org.kuali.rice.kim.framework.type.KimTypeService
getAttributeDefinitions, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, validateAttributes, validateAttributesAgainstExisting, validateUniqueAttributes, validateUnmodifiableAttributes
-
Method Details
-
getMatchingResponsibilities
List<Responsibility> getMatchingResponsibilities(Map<String, String> requestedDetails, List<Responsibility> responsibilities) throws RiceIllegalArgumentExceptionGets whether a responsibility assignment with the given details is applicable for the given request details. For example, the details for a responsibilities (say approve) could be as follows: component = Account field = incomeStreamAccountNumber The Account component is known to belong to the KFS-COA namespace. If this service is requested... component = Account, field = All- Parameters:
requestedDetails- the requested details. cannot be null.responsibilities- the list of responsibilities to check for matches. cannot be null.- Returns:
- an immutable list of matched responsibilities. will not return null.
- Throws:
IllegalArgumentException- if the requestedDetails or responsibilities is null.RiceIllegalArgumentException
-