Class DocumentTypeAndNodeOrStatePermissionTypeServiceImpl

All Implemented Interfaces:
org.kuali.rice.kim.framework.permission.PermissionTypeService, org.kuali.rice.kim.framework.type.KimTypeService

public class DocumentTypeAndNodeOrStatePermissionTypeServiceImpl extends DocumentTypePermissionTypeServiceImpl
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • DocumentTypeAndNodeOrStatePermissionTypeServiceImpl

      public DocumentTypeAndNodeOrStatePermissionTypeServiceImpl()
  • Method Details

    • performPermissionMatches

      protected List<org.kuali.rice.kim.api.permission.Permission> performPermissionMatches(Map<String,String> requestedDetails, List<org.kuali.rice.kim.api.permission.Permission> permissionsList)
      Permission type service which can check the route node and status as well as the document hierarchy. Permission should be able to (in addition to taking the routingStatus, routingNote, and documentTypeName attributes) should take a documentNumber and retrieve those values from workflow before performing the comparison. consider the document type hierarchy - check for a permission that just specifies the document type first at each level - then if you don't find that, check for the doc type and the node, then the doc type and the state.
      Overrides:
      performPermissionMatches in class DocumentTypePermissionTypeServiceImpl
    • routeNodeMatches

      protected boolean routeNodeMatches(Map<String,String> requestedDetails, Map<String,String> permissionDetails)
    • routeStatusMatches

      protected boolean routeStatusMatches(Map<String,String> requestedDetails, Map<String,String> permissionDetails)
    • appDocStatusMatches

      protected boolean appDocStatusMatches(Map<String,String> requestedDetails, Map<String,String> permissionDetails)