public class TransactionalDocumentAuthorizerBase extends DocumentAuthorizerBase implements TransactionalDocumentAuthorizer
PRE_ROUTING_ROUTE_NAME| Constructor and Description |
|---|
TransactionalDocumentAuthorizerBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBlanketApprove(Document document,
Person user) |
boolean |
canCancel(Document document,
Person user)
Determines if the user has permission to cancel the document
|
boolean |
canClose(Document document,
Person user) |
protected boolean |
canEstablishPessimisticLock(Document document,
Person user)
Returns whether
user can establish a pessimistic lock on the document. |
boolean |
canRoute(Document document,
Person user)
Determines if the user has permission to route the document
|
boolean |
canSave(Document document,
Person user) |
protected DataDictionaryService |
getDataDictionaryService() |
protected boolean |
isUsingPessimisticLocking(Document document)
Returns whether the
document is using pessimistic locking. |
protected void |
setDataDictionaryService(DataDictionaryService dataDictionaryService) |
addPermissionDetails, addRoleQualification, addStandardAttributes, canAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canSuperUserApprove, canSuperUserDisapprove, canSuperUserTakeAction, canTakeRequestedAction, canViewNoteAttachment, canViewNoteAttachment, getDocumentRequestAuthorizationCache, isDocumentInitiator, setDocumentRequestAuthorizationCachegetPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate, permissionExistsByTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanAcknowledge, canAddNoteAttachment, canAnnotate, canApprove, canCopy, canDeleteNoteAttachment, canDisapprove, canEdit, canEditDocumentOverview, canFyi, canInitiate, canOpen, canPerformRouteReport, canRecall, canReceiveAdHoc, canReload, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canSendNoteFyi, canSuperUserApprove, canSuperUserDisapprove, canSuperUserTakeAction, canTakeRequestedAction, canViewNoteAttachment, canViewNoteAttachment, setDocumentRequestAuthorizationCacheisAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplatepublic TransactionalDocumentAuthorizerBase()
public boolean canClose(Document document, Person user)
The user can only close the document if it is a transactional document.
canClose in interface DocumentAuthorizercanClose in class DocumentAuthorizerBasepublic boolean canSave(Document document, Person user)
The user can only save the document if they have permission and, if pessimistic locking is turned
on for the document, they can establish a pessimistic lock.
canSave in interface DocumentAuthorizercanSave in class DocumentAuthorizerBasepublic boolean canRoute(Document document, Person user)
The user can only route the document if they have permission and, if pessimistic locking is
turned on for the document, they can establish a pessimistic lock.
canRoute in interface DocumentAuthorizercanRoute in class DocumentAuthorizerBasedocument - document to checkuser - current userpublic boolean canCancel(Document document, Person user)
The user can only cancel the document if they have permission and, if pessimistic locking is
turned on for the document, they can establish a pessimistic lock.
canCancel in interface DocumentAuthorizercanCancel in class DocumentAuthorizerBasedocument - document to checkuser - current userpublic boolean canBlanketApprove(Document document, Person user)
The user can only blanket approve the document if they have permission and, if pessimistic
locking is turned on for the document, they can establish a pessimistic lock.
canBlanketApprove in interface DocumentAuthorizercanBlanketApprove in class DocumentAuthorizerBaseprotected boolean isUsingPessimisticLocking(Document document)
document is using pessimistic locking.document - the document to check for using pessimistic lockingdocument is using pessimistic locking, false otherwise.protected boolean canEstablishPessimisticLock(Document document, Person user)
user can establish a pessimistic lock on the document.
The user can only establish a pessimistic lock on the document document if there are no existing
locks or if they already have a lock on the document.
document - the document to check for pessimistic locksuser - the user to check for pessimistic locksuser can establish a pessimistic lock on the document, false otherwiseprotected DataDictionaryService getDataDictionaryService()
protected void setDataDictionaryService(DataDictionaryService dataDictionaryService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.