org.kuali.rice.krad.lookup
Class LookupViewAuthorizerBase

java.lang.Object
  extended by org.kuali.rice.krad.bo.DataObjectAuthorizerBase
      extended by org.kuali.rice.krad.uif.view.ViewAuthorizerBase
          extended by 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

Constructor Summary
LookupViewAuthorizerBase()
           
 
Method Summary
 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
 
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, 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
 

Constructor Detail

LookupViewAuthorizerBase

public LookupViewAuthorizerBase()
Method Detail

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 for
model - - object containing the view data
user - - 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)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.