Class LookupViewAuthorizerBase

All Implemented Interfaces:
Serializable, DataObjectAuthorizer, ViewAuthorizer

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

    • LookupViewAuthorizerBase

      public LookupViewAuthorizerBase()
  • Method Details

    • canOpenView

      public boolean canOpenView(View view, ViewModel model, Person user)
      Override to check the for permissions of type 'Look Up Records' in addition to the open view check done in super
      Specified by:
      canOpenView in interface ViewAuthorizer
      Overrides:
      canOpenView in class ViewAuthorizerBase
      Parameters:
      view - view instance the open permission should be checked for
      model - object containing the model data associated with the view
      user - user who is requesting the view
      Returns:
      boolean true if the user is authorized to open the view, false otherwise
      See Also:
    • canInitiateMaintenanceDocument

      public boolean canInitiateMaintenanceDocument(String dataObjectClassName, Person user)
      Check if user is allowed to initiate the maintenance document associated with the lookup data object class.
      Parameters:
      dataObjectClassName - data object class name associated with the lookup
      user - user we are authorizing the actions for
      Returns:
      true if user is authorized to initiate the document, false otherwise