public class MaintenanceDocumentAuthorizerBase extends DocumentAuthorizerBase implements MaintenanceDocumentAuthorizer
Modifier and Type | Field and Description |
---|---|
protected static DocumentDictionaryService |
documentDictionaryService |
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 and Description |
---|
MaintenanceDocumentAuthorizerBase() |
Modifier and Type | Method and Description |
---|---|
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 static DocumentDictionaryService |
getDocumentDictionaryService() |
Set<String> |
getSecurePotentiallyHiddenSectionIds() |
Set<String> |
getSecurePotentiallyReadOnlySectionIds() |
addStandardAttributes, canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canTakeRequestedAction, canViewNoteAttachment, canViewNoteAttachment, getDocumentActions, isDocumentInitiator
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, getDataDictionaryService, getKualiModuleService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canTakeRequestedAction, canViewNoteAttachment
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
protected static transient DocumentDictionaryService documentDictionaryService
public MaintenanceDocumentAuthorizerBase()
public final boolean canCreate(Class boClass, Person user)
canCreate
in interface MaintenanceDocumentAuthorizer
public final boolean canMaintain(Object dataObject, Person user)
canMaintain
in interface MaintenanceDocumentAuthorizer
public final boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user)
canCreateOrMaintain
in interface MaintenanceDocumentAuthorizer
public Set<String> getSecurePotentiallyHiddenSectionIds()
getSecurePotentiallyHiddenSectionIds
in interface InquiryOrMaintenanceDocumentAuthorizer
public Set<String> getSecurePotentiallyReadOnlySectionIds()
protected void addRoleQualification(Object dataObject, Map<String,String> attributes)
DataObjectAuthorizerBase
addRoleQualification
in class DocumentAuthorizerBase
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 mapprotected void addPermissionDetails(Object dataObject, Map<String,String> attributes)
DataObjectAuthorizerBase
addPermissionDetails
in class DocumentAuthorizerBase
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 mapprotected static DocumentDictionaryService getDocumentDictionaryService()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.