Interface MaintenanceDocumentAuthorizer

All Superinterfaces:
DataObjectAuthorizer, DocumentAuthorizer
All Known Implementing Classes:
MaintenanceDocumentAuthorizerBase

public interface MaintenanceDocumentAuthorizer extends DocumentAuthorizer
Authorizer class for MaintenanceDocument instances

The MaintenanceDocumentAuthorizer extends the available actions of DocumentAuthorizer for MaintenanceDocuments.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Method Details

    • canCreate

      boolean canCreate(Class boClass, Person user)
      Determines whether the user has the permission to create a new MaintenanceDocument
      Parameters:
      boClass - Class of the MaintenanceDocument
      user - Person instance of the current user
      Returns:
      true if the user is allowed to create a new MaintenanceDocument for the boClass, false otherwise
    • canMaintain

      boolean canMaintain(Object dataObject, Person user)
      Determines whether the user has the permission to maintain a MaintenanceDocument
      Parameters:
      dataObject - Object of the MaintenanceDocument
      user - Person instance of the current user
      Returns:
      true if the user is allowed to maintain the dataObject, false otherwise
    • canCreateOrMaintain

      boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user)
      Determines whether the user has the permission to create or maintain a MaintenanceDocument
      Parameters:
      maintenanceDocument - the MaintenanceDocument
      user - Person instance of the current user
      Returns:
      true if the user is allowed to create or maintain the MaintenanceDocument, false otherwise