org.alfresco.repo.domain.avm
Class AbstractAVMLockDAOImpl
java.lang.Object
org.alfresco.repo.domain.avm.AbstractAVMLockDAOImpl
- All Implemented Interfaces:
- AVMLockDAO
- Direct Known Subclasses:
- AVMLockDAOImpl
public abstract class AbstractAVMLockDAOImpl
- extends java.lang.Object
- implements AVMLockDAO
Abstract implementation for AVMLock DAO.
- Since:
- 3.4
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
Method Summary |
protected abstract int |
deletePropertyUniqueContexts(java.lang.Long avmLocksValueId,
java.lang.Long avmStoreNameId,
java.lang.String dirPathToMatch,
java.lang.String lockDataStoreKey,
java.lang.String lockDataStoreValue)
|
void |
removeLocks(java.lang.String avmStore,
java.lang.String dirPathToMatch,
java.util.Map lockDataToMatch)
Remove all locks for a specific AVM store that start with a given directory path
that also optionally match a map of lock data entries. |
void |
setPropertyValueDAO(PropertyValueDAO propertyValueDAO)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
AbstractAVMLockDAOImpl
public AbstractAVMLockDAOImpl()
- Default constructor.
setPropertyValueDAO
public void setPropertyValueDAO(PropertyValueDAO propertyValueDAO)
removeLocks
public void removeLocks(java.lang.String avmStore,
java.lang.String dirPathToMatch,
java.util.Map lockDataToMatch)
- Remove all locks for a specific AVM store that start with a given directory path
that also optionally match a map of lock data entries.
- Specified by:
removeLocks
in interface AVMLockDAO
- Parameters:
avmStore
- the name of the AVM storedirPathToMatch
- optional - start with given directory path or null to match alllockDataToMatch
- optional - lock data to match (note: all entries must match) or null/empty to match all
deletePropertyUniqueContexts
protected abstract int deletePropertyUniqueContexts(java.lang.Long avmLocksValueId,
java.lang.Long avmStoreNameId,
java.lang.String dirPathToMatch,
java.lang.String lockDataStoreKey,
java.lang.String lockDataStoreValue)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.