Interface PermissionTypeService

All Superinterfaces:
KimTypeService

public interface PermissionTypeService extends KimTypeService
A KimTypeService with specific methods for Permissions.
  • Method Details

    • getMatchingPermissions

      List<org.kuali.rice.kim.api.permission.Permission> getMatchingPermissions(Map<String,String> requestedDetails, List<org.kuali.rice.kim.api.permission.Permission> permissions) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException
      Gets whether a permission assignment with the given details is applicable for the given request details. For example, the details for a permission (say edit) 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.
      permissions - the list of permission to check for matches. cannot be null.
      Returns:
      an immutable list of matched permissions. will not return null.
      Throws:
      IllegalArgumentException - if the requestedDetails or permissions is null.
      org.kuali.rice.core.api.exception.RiceIllegalArgumentException