Fix for ALF-3952 - Search/Read Permissions Evaluation Performance

Includes read permission evaluation optimisation, bulk loading of aspects

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2010-07-26 12:44:30 +00:00
parent c5e0bf79ab
commit 5791f1e7fb
38 changed files with 3095 additions and 1774 deletions

View File

@@ -34,7 +34,6 @@ import org.apache.lucene.search.HitCollector;
*/
public abstract class AbstractResultSet implements ResultSet
{
/**
* Default constructor
*/
@@ -54,7 +53,7 @@ public abstract class AbstractResultSet implements ResultSet
{
// default to do nothing
}
public List<NodeRef> getNodeRefs()
{
ArrayList<NodeRef> nodeRefs = new ArrayList<NodeRef>(length());
@@ -75,4 +74,43 @@ public abstract class AbstractResultSet implements ResultSet
return cars;
}
/**
* Bulk fetch results in the cache
*
* @param bulkFetch
*/
public boolean setBulkFetch(boolean bulkFetch)
{
return false;
}
/**
* Do we bulk fetch
*
* @return - true if we do
*/
public boolean getBulkFetch()
{
return false;
}
/**
* Set the bulk fetch size
*
* @param bulkFetchSize
*/
public int setBulkFetchSize(int bulkFetchSize)
{
return 0;
}
/**
* Get the bulk fetch size.
*
* @return the fetch size
*/
public int getBulkFetchSize()
{
return 0;
}
}