Interface DelegationTypeService

All Superinterfaces:
KimTypeService

public interface DelegationTypeService extends KimTypeService
A KimTypeService with specific methods for Delegations.
  • Method Details

    • doesDelegationQualifierMatchQualification

      boolean doesDelegationQualifierMatchQualification(Map<String,String> qualification, Map<String,String> delegationQualifier) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Gets whether a role assignment with the given qualifier is applicable for the given qualification. For example, the qualifier for a role could be as follows: chartOfAccountsCode = BL organizationCode = ARSC descendsHierarchy = true The qualification could be: chartOfAccountsCode = BL organizationCode = PSY (reports to BL-ARSC) This method would return true for this set of arguments. This would require a query of the client app's organization hierarchy, so an implementation of this sort must be done by a service which lives within the client app and will be called remotely by KIM. The contents of the passed in attribute sets should not be modified as they may be used in future calls by the role service.
      Parameters:
      qualification - the qualification. cannot be null.
      delegationQualifier - the delegation qualifier. cannot be null.
      Returns:
      true if the qualifications match
      Throws:
      IllegalArgumentException - if the qualification or delegationQualifier is null
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException