org.kuali.rice.krad.maintenance
Class MaintenanceDocumentAuthorizerBase

java.lang.Object
  extended by org.kuali.rice.krad.bo.DataObjectAuthorizerBase
      extended by org.kuali.rice.krad.document.DocumentAuthorizerBase
          extended by org.kuali.rice.krad.maintenance.MaintenanceDocumentAuthorizerBase
All Implemented Interfaces:
Serializable, DataObjectAuthorizer, DocumentAuthorizer, MaintenanceDocumentAuthorizer

public class MaintenanceDocumentAuthorizerBase
extends DocumentAuthorizerBase
implements MaintenanceDocumentAuthorizer

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.document.DocumentAuthorizerBase
PRE_ROUTING_ROUTE_NAME
 
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)
           
protected  DocumentDictionaryService getDocumentDictionaryService()
           
 void setDocumentDictionaryService(DocumentDictionaryService documentDictionaryService)
           
 
Methods inherited from class org.kuali.rice.krad.document.DocumentAuthorizerBase
addStandardAttributes, canAddNoteAttachment, canDeleteNoteAttachment, canEditDocumentOverview, canInitiate, canOpen, canReceiveAdHoc, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canTakeRequestedAction, canViewNoteAttachment, isDocumentInitiator
 
Methods inherited from class org.kuali.rice.krad.bo.DataObjectAuthorizerBase
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
 
Methods inherited from interface org.kuali.rice.krad.document.DocumentAuthorizer
canAddNoteAttachment, canDeleteNoteAttachment, canEditDocumentOverview, canInitiate, canOpen, canReceiveAdHoc, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canTakeRequestedAction, canViewNoteAttachment
 
Methods inherited from interface org.kuali.rice.krad.bo.DataObjectAuthorizer
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
 

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(Object dataObject,
                                 Person user)
Specified by:
canMaintain in interface MaintenanceDocumentAuthorizer

canCreateOrMaintain

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

addRoleQualification

protected void addRoleQualification(Object dataObject,
                                    Map<String,String> attributes)
Description copied from class: DataObjectAuthorizerBase
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: DataObjectAuthorizerBase
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

getDocumentDictionaryService

protected DocumentDictionaryService getDocumentDictionaryService()

setDocumentDictionaryService

public void setDocumentDictionaryService(DocumentDictionaryService documentDictionaryService)


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