Package org.kuali.rice.krad.lookup
Class LookupViewAuthorizerBase
java.lang.Object
org.kuali.rice.krad.bo.DataObjectAuthorizerBase
org.kuali.rice.krad.uif.view.ViewAuthorizerBase
org.kuali.rice.krad.lookup.LookupViewAuthorizerBase
- All Implemented Interfaces:
Serializable,DataObjectAuthorizer,ViewAuthorizer
Implementation of
ViewAuthorizer for
LookupView instances- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanInitiateMaintenanceDocument(String dataObjectClassName, org.kuali.rice.kim.api.identity.Person user) Check if user is allowed to initiate the maintenance document associated with the lookup data object class.booleancanOpenView(View view, ViewModel model, org.kuali.rice.kim.api.identity.Person user) Override to check the for permissions of type 'Look Up Records' in addition to the open view check done in superMethods inherited from class org.kuali.rice.krad.uif.view.ViewAuthorizerBase
canEditField, canEditGroup, canEditLine, canEditLineField, canEditView, canEditWidget, canPartialUnmaskField, canPerformAction, canPerformLineAction, canUnmaskField, canViewField, canViewGroup, canViewLine, canViewLineField, canViewWidget, getActionFlags, getActionPermissionDetails, getConfigurationService, getDataObjectContext, getEditModes, getFieldPermissionDetails, getGroupPermissionDetails, getRequestAuthorizationCache, getWidgetPermissionDetails, isAuthorizedByTemplate, setConfigurationService, setRequestAuthorizationCacheMethods inherited from class org.kuali.rice.krad.bo.DataObjectAuthorizerBase
addPermissionDetails, addRoleQualification, getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
-
Constructor Details
-
LookupViewAuthorizerBase
public LookupViewAuthorizerBase()
-
-
Method Details
-
canOpenView
Override to check the for permissions of type 'Look Up Records' in addition to the open view check done in super- Specified by:
canOpenViewin interfaceViewAuthorizer- Overrides:
canOpenViewin classViewAuthorizerBase- Parameters:
view- view instance the open permission should be checked formodel- object containing the model data associated with the viewuser- 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, org.kuali.rice.kim.api.identity.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 lookupuser- user we are authorizing the actions for- Returns:
- true if user is authorized to initiate the document, false otherwise
-