org.kuali.rice.kns.document.authorization
Class MaintenanceDocumentAuthorizerBase

java.lang.Object
  extended by org.kuali.rice.kns.authorization.BusinessObjectAuthorizerBase
      extended by org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
          extended by org.kuali.rice.kns.document.authorization.MaintenanceDocumentAuthorizerBase
All Implemented Interfaces:
BusinessObjectAuthorizer, InquiryOrMaintenanceDocumentAuthorizer, DocumentAuthorizer, MaintenanceDocumentAuthorizer

public class MaintenanceDocumentAuthorizerBase
extends DocumentAuthorizerBase
implements MaintenanceDocumentAuthorizer


Field Summary
protected static MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService
           
 
Fields inherited from class org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
EDIT_MODE_DEFAULT_TRUE_VALUE, LOG, PRE_ROUTING_ROUTE_NAME, USER_SESSION_METHOD_TO_CALL_COMPLETE_MARKER, USER_SESSION_METHOD_TO_CALL_COMPLETE_OBJECT_KEY, USER_SESSION_METHOD_TO_CALL_OBJECT_KEY
 
Constructor Summary
MaintenanceDocumentAuthorizerBase()
           
 
Method Summary
protected  void addPermissionDetails(BusinessObject businessObject, Map<String,String> attributes)
          Override this method to populate the permission details from the primary business object or document.
protected  void addRoleQualification(BusinessObject businessObject, Map<String,String> attributes)
          Override this method to populate the role qualifier attributes from the primary business object or document.
 boolean canCreate(Class boClass, Person user)
           
 boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user)
           
 boolean canMaintain(BusinessObject businessObject, Person user)
           
protected  MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()
           
 Set<String> getSecurePotentiallyHiddenSectionIds()
           
 Set<String> getSecurePotentiallyReadOnlySectionIds()
           
 
Methods inherited from class org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
addStandardAttributes, canAddNoteAttachment, canDeleteNoteAttachment, canEditDocumentOverview, canInitiate, canOpen, canReceiveAdHoc, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canTakeRequestedAction, canViewNoteAttachment, getDocumentActions, getRouteHeaderService, isDocumentInitiator
 
Methods inherited from class org.kuali.rice.kns.authorization.BusinessObjectAuthorizerBase
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, getDataDictionaryService, getIdentityManagementService, getKualiModuleService, getPermissionDetailValues, getPersonService, getRoleQualification, 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
 
Methods inherited from interface org.kuali.rice.kns.document.authorization.DocumentAuthorizer
canAddNoteAttachment, canDeleteNoteAttachment, canInitiate, canOpen, canReceiveAdHoc, canSendAdHocRequests, canViewNoteAttachment, getDocumentActions
 
Methods inherited from interface org.kuali.rice.kns.authorization.BusinessObjectAuthorizer
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
 

Field Detail

maintenanceDocumentDictionaryService

protected static transient MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService
Constructor Detail

MaintenanceDocumentAuthorizerBase

public MaintenanceDocumentAuthorizerBase()
Method Detail

canCreate

public final boolean canCreate(Class boClass,
                               Person user)
Specified by:
canCreate in interface MaintenanceDocumentAuthorizer

canMaintain

public final boolean canMaintain(BusinessObject businessObject,
                                 Person user)
Specified by:
canMaintain in interface MaintenanceDocumentAuthorizer

canCreateOrMaintain

public final boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument,
                                         Person user)
Specified by:
canCreateOrMaintain in interface MaintenanceDocumentAuthorizer

getSecurePotentiallyHiddenSectionIds

public Set<String> getSecurePotentiallyHiddenSectionIds()
Specified by:
getSecurePotentiallyHiddenSectionIds in interface InquiryOrMaintenanceDocumentAuthorizer

getSecurePotentiallyReadOnlySectionIds

public Set<String> getSecurePotentiallyReadOnlySectionIds()
Specified by:
getSecurePotentiallyReadOnlySectionIds in interface MaintenanceDocumentAuthorizer

addRoleQualification

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

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

addPermissionDetails

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

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

getMaintenanceDocumentDictionaryService

protected final MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService()


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