Interface ResponsibilityTypeService
- All Superinterfaces:
KimTypeService
A
KimTypeService with specific methods for Responsibilities.-
Method Summary
Modifier and TypeMethodDescriptionList<org.kuali.rice.kim.api.responsibility.Responsibility> getMatchingResponsibilities(Map<String, String> requestedDetails, List<org.kuali.rice.kim.api.responsibility.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<org.kuali.rice.kim.api.responsibility.Responsibility> getMatchingResponsibilities(Map<String, String> requestedDetails, List<org.kuali.rice.kim.api.responsibility.Responsibility> responsibilities) throws org.kuali.rice.core.api.exception.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.org.kuali.rice.core.api.exception.RiceIllegalArgumentException
-