Class MaintenanceViewAuthorizerBase

All Implemented Interfaces:
Serializable, DataObjectAuthorizer, DocumentAuthorizer, ViewAuthorizer

public class MaintenanceViewAuthorizerBase extends DocumentViewAuthorizerBase
Implementation of ViewAuthorizer for MaintenanceDocumentView instances
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • MaintenanceViewAuthorizerBase

      public MaintenanceViewAuthorizerBase()
  • Method Details

    • canCreate

      public final boolean canCreate(Class<?> boClass, Person user)
    • canMaintain

      public final boolean canMaintain(Object dataObject, Person user)
    • canCreateOrMaintain

      public final boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user)
    • addRoleQualification

      protected void addRoleQualification(Object dataObject, Map<String,String> attributes)
      Description copied from class: DocumentViewAuthorizerBase
      Override this method to populate the role qualifier attributes from the primary data object or document. This will only be called once per request.
      Overrides:
      addRoleQualification in class DocumentViewAuthorizerBase
      Parameters:
      dataObject - - the primary data object (i.e. the main object instance behind the lookup result row or inquiry) or the document
      attributes - - role qualifiers will be added to this map
    • addPermissionDetails

      protected void addPermissionDetails(Object dataObject, Map<String,String> attributes)
      Description copied from class: DocumentViewAuthorizerBase
      Override this method to populate the permission details from the primary data object or document. This will only be called once per request.
      Overrides:
      addPermissionDetails in class DocumentViewAuthorizerBase
      Parameters:
      dataObject - - the primary data object (i.e. the main object instance behind the lookup result row or inquiry) or the document
      attributes - - permission details will be added to this map