public abstract class AbstractAVMLockDAOImpl extends java.lang.Object implements AVMLockDAO
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
AbstractAVMLockDAOImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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) |
public void setPropertyValueDAO(PropertyValueDAO propertyValueDAO)
public void removeLocks(java.lang.String avmStore, java.lang.String dirPathToMatch, java.util.Map lockDataToMatch)
removeLocks
in interface AVMLockDAO
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 allprotected 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.