org.kuali.rice.krad.document
Class PessimisticLockTestDocumentAuthorizer

java.lang.Object
  extended by org.kuali.rice.krad.bo.authorization.BusinessObjectAuthorizerBase
      extended by org.kuali.rice.krad.document.authorization.DocumentAuthorizerBase
          extended by org.kuali.rice.krad.document.PessimisticLockTestDocumentAuthorizer
All Implemented Interfaces:
BusinessObjectAuthorizer, 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)

Field Summary
static boolean USES_PESSIMISTIC_LOCKING
           
 
Fields inherited from class org.kuali.rice.krad.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.krad.document.authorization.DocumentAuthorizerBase
addPermissionDetails, addRoleQualification, addStandardAttributes, canAddNoteAttachment, canDeleteNoteAttachment, canEditDocumentOverview, canInitiate, canOpen, canReceiveAdHoc, canSendAdHocRequests, canSendAnyTypeAdHocRequests, canTakeRequestedAction, canViewNoteAttachment, getDocumentActions, isDocumentInitiator
 
Methods inherited from class org.kuali.rice.krad.bo.authorization.BusinessObjectAuthorizerBase
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, getDataDictionaryService, getKualiModuleService, getPermissionDetailValues, getPermissionService, getPersonService, getRoleQualification, 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.krad.authorization.BusinessObjectAuthorizer
getCollectionItemPermissionDetails, getCollectionItemRoleQualifications, 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-2011 The Kuali Foundation. All Rights Reserved.