org.alfresco.repo.domain.avm
Interface AVMLockDAO

All Known Implementing Classes:
AbstractAVMLockDAOImpl, AVMLockDAOImpl

public interface AVMLockDAO

DAO service to remove AVM locks. Added here for now, since this is currently an WCM-specific use-case to optimise lock removal based on matching path (bypassing the Attribute Service -> PropVal DAO). See also AbstractPropertyValueDAOImpl. Affected table is currently: alf_prop_unique_ctx

Since:
3.4

Method Summary
 void removeLocks(java.lang.String avmStore, java.lang.String dirPath, 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.
 

Method Detail

removeLocks

void removeLocks(java.lang.String avmStore,
                 java.lang.String dirPath,
                 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.

Parameters:
avmStore - the name of the AVM store
dirPath - optional - start with given directory path or null to match all
lockDataToMatch - optional - lock data to match (note: all entries must match) or null/empty to match all


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.