Package org.kuali.rice.krad.inquiry
Class InquiryViewAuthorizerBase
java.lang.Object
org.kuali.rice.krad.bo.DataObjectAuthorizerBase
org.kuali.rice.krad.uif.view.ViewAuthorizerBase
org.kuali.rice.krad.inquiry.InquiryViewAuthorizerBase
- All Implemented Interfaces:
Serializable,DataObjectAuthorizer,ViewAuthorizer
Implementation of
ViewAuthorizer for
InquiryView instances- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanOpenView(View view, ViewModel model, Person user) Augmenting the base Open View check with an additional check against the KR-NS / Inquire Into Records permission template.Methods 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
-
InquiryViewAuthorizerBase
public InquiryViewAuthorizerBase()
-
-
Method Details
-
canOpenView
Augmenting the base Open View check with an additional check against the KR-NS / Inquire Into Records permission template. This check will fail if the user is not allowed by *either* the View- Specified by:
canOpenViewin interfaceViewAuthorizer- Overrides:
canOpenViewin classViewAuthorizerBase- Parameters:
view- - view instance to check authorization formodel- - object containing the view datauser- - user to authorize- Returns:
- boolean true if the user is authorized to open the view, false otherwise
- See Also:
-