public class MaintenanceDocumentAuthorizerBase extends DocumentAuthorizerBase implements MaintenanceDocumentAuthorizer
MaintenanceDocumentAuthorizer
that perform KIM permission checks to authorize
the actionsMaintenanceDocumentAuthorizer
,
Serialized FormPRE_ROUTING_ROUTE_NAME
Constructor and Description |
---|
MaintenanceDocumentAuthorizerBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPermissionDetails(Object dataObject,
Map<String,String> attributes)
Adds the namespace, component and maintenance actions to the permission details attributes
|
protected void |
addRoleQualification(Object dataObject,
Map<String,String> attributes)
Adds the namespace and component to the role qualification attributes
|
boolean |
canCreate(Class boClass,
Person user)
Determines whether the user has the permission to create a new
MaintenanceDocument |
boolean |
canCreateOrMaintain(MaintenanceDocument maintenanceDocument,
Person user)
Determines whether the user has the permission to create or maintain a
MaintenanceDocument |
boolean |
canMaintain(Object dataObject,
Person user)
Determines whether the user has the permission to maintain a
MaintenanceDocument |
protected DocumentDictionaryService |
getDocumentDictionaryService() |
void |
setDocumentDictionaryService(DocumentDictionaryService documentDictionaryService) |
addStandardAttributes, canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canSuperUserApprove, canSuperUserDisapprove, canSuperUserTakeAction, canTakeRequestedAction, canViewNoteAttachment, canViewNoteAttachment, getDocumentRequestAuthorizationCache, isDocumentInitiator, setDocumentRequestAuthorizationCache
getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canBlanketApprove, canCancel, canClose, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canRoute, canSave, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canSuperUserApprove, canSuperUserDisapprove, canSuperUserTakeAction, canTakeRequestedAction, canViewNoteAttachment, canViewNoteAttachment, setDocumentRequestAuthorizationCache
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
public MaintenanceDocumentAuthorizerBase()
public boolean canCreate(Class boClass, Person user)
MaintenanceDocumentAuthorizer
MaintenanceDocument
canCreate
in interface MaintenanceDocumentAuthorizer
boClass
- Class
of the MaintenanceDocument
user
- Person
instance of the current usertrue
if the user is allowed to create a new MaintenanceDocument
for
the boClass, false
otherwiseMaintenanceDocumentAuthorizer.canCreate(Class, org.kuali.rice.kim.api.identity.Person)
public boolean canMaintain(Object dataObject, Person user)
MaintenanceDocumentAuthorizer
MaintenanceDocument
canMaintain
in interface MaintenanceDocumentAuthorizer
dataObject
- Object
of the MaintenanceDocument
user
- Person
instance of the current usertrue
if the user is allowed to maintain the dataObject, false
otherwiseMaintenanceDocumentAuthorizer.canMaintain(Object, org.kuali.rice.kim.api.identity.Person)
public boolean canCreateOrMaintain(MaintenanceDocument maintenanceDocument, Person user)
MaintenanceDocumentAuthorizer
MaintenanceDocument
canCreateOrMaintain
in interface MaintenanceDocumentAuthorizer
maintenanceDocument
- the MaintenanceDocument
user
- Person
instance of the current usertrue
if the user is allowed to create or maintain the MaintenanceDocument
,
false
otherwiseMaintenanceDocumentAuthorizer.canCreateOrMaintain(MaintenanceDocument, org.kuali.rice.kim.api.identity.Person)
protected void addRoleQualification(Object dataObject, Map<String,String> attributes)
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 mapDocumentAuthorizerBase.addRoleQualification(Object, java.util.Map)
protected void addPermissionDetails(Object dataObject, Map<String,String> attributes)
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 mapDocumentAuthorizerBase.addPermissionDetails(Object, java.util.Map)
protected DocumentDictionaryService getDocumentDictionaryService()
public void setDocumentDictionaryService(DocumentDictionaryService documentDictionaryService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.