org.kuali.rice.krad.uif.authorization
Class MaintenanceDocumentAuthorizerBase

java.lang.Object
  extended by org.kuali.rice.krad.uif.authorization.AuthorizerBase
      extended by org.kuali.rice.krad.uif.authorization.DocumentAuthorizerBase
          extended by org.kuali.rice.krad.uif.authorization.MaintenanceDocumentAuthorizerBase
All Implemented Interfaces:
Authorizer

public class MaintenanceDocumentAuthorizerBase
extends DocumentAuthorizerBase

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.krad.uif.authorization.DocumentAuthorizerBase
EDIT_MODE_DEFAULT_TRUE_VALUE, LOG, PRE_ROUTING_ROUTE_NAME, USER_SESSION_METHOD_TO_CALL_COMPLETE_OBJECT_KEY, USER_SESSION_METHOD_TO_CALL_OBJECT_KEY
 
Constructor Summary
MaintenanceDocumentAuthorizerBase()
           
 
Method Summary
protected  void addPermissionDetails(Object dataObject, Map<String,String> attributes)
          Override this method to populate the permission details from the primary data object or document.
protected  void addRoleQualification(Object dataObject, Map<String,String> attributes)
          Override this method to populate the role qualifier attributes from the primary data object or document.
 boolean canCreate(Class<?> boClass, Person user)
           
 boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user)
           
 boolean canMaintain(Object dataObject, Person user)
           
 Set<String> getSecurePotentiallyHiddenSectionIds()
           
 Set<String> getSecurePotentiallyReadOnlySectionIds()
           
 
Methods inherited from class org.kuali.rice.krad.uif.authorization.DocumentAuthorizerBase
addStandardAttributes, canAddNoteAttachment, canDeleteNoteAttachment, canEditDocumentOverview, canInitiate, canOpen, canReceiveAdHoc, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canTakeRequestedAction, canViewNoteAttachment, getActionFlags, isDocumentInitiator
 
Methods inherited from class org.kuali.rice.krad.uif.authorization.AuthorizerBase
getDataDictionaryService, getEditModes, getKualiModuleService, getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, getRoleQualification, getSecurePotentiallyHiddenGroupIds, getSecurePotentiallyReadOnlyGroupIds, 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

MaintenanceDocumentAuthorizerBase

public MaintenanceDocumentAuthorizerBase()
Method Detail

canCreate

public final boolean canCreate(Class<?> boClass,
                               Person user)

canMaintain

public final boolean canMaintain(Object dataObject,
                                 Person user)

canCreateOrMaintain

public final boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument,
                                         Person user)

getSecurePotentiallyHiddenSectionIds

public Set<String> getSecurePotentiallyHiddenSectionIds()

getSecurePotentiallyReadOnlySectionIds

public Set<String> getSecurePotentiallyReadOnlySectionIds()

addRoleQualification

protected void addRoleQualification(Object dataObject,
                                    Map<String,String> attributes)
Description copied from class: AuthorizerBase
Override this method to populate the role qualifier attributes from the primary data object or document. This will only be called once per request.

Overrides:
addRoleQualification in class DocumentAuthorizerBase
Parameters:
dataObject - - the primary data object (i.e. the main object instance behind the lookup result row or inquiry) or the document
attributes - - role qualifiers will be added to this map

addPermissionDetails

protected void addPermissionDetails(Object dataObject,
                                    Map<String,String> attributes)
Description copied from class: AuthorizerBase
Override this method to populate the permission details from the primary data object or document. This will only be called once per request.

Overrides:
addPermissionDetails in class DocumentAuthorizerBase
Parameters:
dataObject - - the primary data object (i.e. the main object instance behind the lookup result row or inquiry) or the document
attributes - - permission details will be added to this map


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