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
public class LookupViewAuthorizerBase
- extends ViewAuthorizerBase
Implementation of ViewAuthorizer
for
LookupView
instances
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
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, getWidgetPermissionDetails, isAuthorizedByTemplate, setConfigurationService |
Methods inherited from class org.kuali.rice.krad.bo.DataObjectAuthorizerBase |
addPermissionDetails, addRoleQualification, getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupViewAuthorizerBase
public LookupViewAuthorizerBase()
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 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:
ViewAuthorizer.canOpenView(View, ViewModel, org.kuali.rice.kim.api.identity.Person)
canInitiateDocument
public boolean canInitiateDocument(LookupForm lookupForm,
Person user)
- Check if user is allowed to initiate the document
- Parameters:
lookupForm
- - The lookup form of the documentuser
- - user we are authorizing the actions for
- Returns:
- true if user is authorized to initiate the document, false otherwise
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.