org.kuali.rice.krad.document
Class PessimisticLockTestDocumentAuthorizer

java.lang.Object
  extended by org.kuali.rice.krad.bo.DataObjectAuthorizerBase
      extended by org.kuali.rice.kns.bo.authorization.BusinessObjectAuthorizerBase
          extended by org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
              extended by org.kuali.rice.krad.document.PessimisticLockTestDocumentAuthorizer
All Implemented Interfaces:
Serializable, BusinessObjectAuthorizer, DataObjectAuthorizer, DocumentAuthorizer

public class PessimisticLockTestDocumentAuthorizer
extends DocumentAuthorizerBase

This class is used to allow a mock Document object to specify whether or not to use pessimistic locking without requiring a DocumentEntry in the kuali data dictionary

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

Field Summary
static boolean USES_PESSIMISTIC_LOCKING
           
 
Fields inherited from class org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
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 Summary
PessimisticLockTestDocumentAuthorizer()
           
 
Method Summary
protected  boolean usesPessimisticLocking(Document document)
           
 
Methods inherited from class org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase
addPermissionDetails, addRoleQualification, 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, canTakeRequestedAction, canViewNoteAttachment, canViewNoteAttachment, getDocumentActions, isDocumentInitiator
 
Methods inherited from class org.kuali.rice.kns.bo.authorization.BusinessObjectAuthorizerBase
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, getDataDictionaryService, getKualiModuleService, getRoleQualification, isAuthorized, isAuthorized, isAuthorizedByTemplate, permissionExistsByTemplate, permissionExistsByTemplate
 
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.kns.authorization.BusinessObjectAuthorizer
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
 
Methods inherited from interface org.kuali.rice.krad.bo.DataObjectAuthorizer
isAuthorized, isAuthorized, isAuthorizedByTemplate, isAuthorizedByTemplate
 

Field Detail

USES_PESSIMISTIC_LOCKING

public static boolean USES_PESSIMISTIC_LOCKING
Constructor Detail

PessimisticLockTestDocumentAuthorizer

public PessimisticLockTestDocumentAuthorizer()
Method Detail

usesPessimisticLocking

protected boolean usesPessimisticLocking(Document document)


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