org.kuali.rice.krad.maintenance
Class MaintenanceDocumentAuthorizerBase
java.lang.Object
org.kuali.rice.krad.bo.DataObjectAuthorizerBase
org.kuali.rice.krad.document.DocumentAuthorizerBase
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
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 |
MaintenanceDocumentAuthorizerBase
public MaintenanceDocumentAuthorizerBase()
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 documentattributes
- - 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 documentattributes
- - 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.