AVM DAO refactor - fix child entry name pattern match (+ missing test), also orphan reaper max limit

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2009-09-08 12:58:46 +00:00
parent efda84932f
commit efb73c6e4c
11 changed files with 1067 additions and 1010 deletions

View File

@@ -266,9 +266,9 @@ public abstract class AbstractAVMNodeDAOImpl implements AVMNodeDAO
/**
* {@inheritDoc}
*/
public List<AVMNodeEntity> getNodeOrphans()
public List<AVMNodeEntity> getNodeOrphans(int maxSize)
{
return getNodeEntityOrphans();
return getNodeEntityOrphans(maxSize);
}
/**
@@ -399,7 +399,7 @@ public abstract class AbstractAVMNodeDAOImpl implements AVMNodeDAO
protected abstract List<AVMNodeEntity> getNodeEntitiesNewInStore(long storeId);
protected abstract List<AVMNodeEntity> getLayeredNodeEntitiesNewInStore(long storeId);
protected abstract List<Long> getLayeredNodeEntityIdsNewInStore(long storeId);
protected abstract List<AVMNodeEntity> getNodeEntityOrphans();
protected abstract List<AVMNodeEntity> getNodeEntityOrphans(int maxSize);
protected abstract List<AVMNodeEntity> getAllLayeredDirectoryNodeEntities();
protected abstract List<AVMNodeEntity> getAllLayeredFileNodeEntities();
protected abstract List<Long> getAVMNodeEntityIdsByAclId(long aclId);