mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Reversed out revisions 14366, 14361 and 14356
- Just prior to this, created dev branch DEV/ANDY_HEAD_ROLLBACKS - Andy: Switch to this branch on your local copy if you have changes to any of the files modified here git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -31,6 +31,7 @@ import java.util.List;
|
||||
|
||||
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.cmr.repository.Path;
|
||||
import org.alfresco.service.cmr.search.LimitBy;
|
||||
import org.alfresco.service.cmr.search.PermissionEvaluationMode;
|
||||
import org.alfresco.service.cmr.search.ResultSet;
|
||||
@@ -38,22 +39,19 @@ import org.alfresco.service.cmr.search.ResultSetMetaData;
|
||||
import org.alfresco.service.cmr.search.ResultSetRow;
|
||||
import org.alfresco.service.cmr.search.SearchParameters;
|
||||
|
||||
/**
|
||||
* An empty result set
|
||||
* @author andyh
|
||||
*
|
||||
*/
|
||||
public class EmptyResultSet implements ResultSet
|
||||
{
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
*/
|
||||
public EmptyResultSet()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public Path[] getPropertyPaths()
|
||||
{
|
||||
return new Path[]{};
|
||||
}
|
||||
|
||||
public int length()
|
||||
{
|
||||
return 0;
|
||||
@@ -82,6 +80,7 @@ public class EmptyResultSet implements ResultSet
|
||||
|
||||
public ResultSetRow getRow(int i)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -97,6 +96,7 @@ public class EmptyResultSet implements ResultSet
|
||||
|
||||
public ChildAssociationRef getChildAssocRef(int n)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@@ -104,14 +104,4 @@ public class EmptyResultSet implements ResultSet
|
||||
{
|
||||
return new SimpleResultSetMetaData(LimitBy.UNLIMITED, PermissionEvaluationMode.EAGER, new SearchParameters());
|
||||
}
|
||||
|
||||
public int getStart()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public boolean hasMore()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user