Merge from SEAMIST3

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2008-09-04 11:22:17 +00:00
parent 41b5618d1d
commit a6625b1c61
63 changed files with 5450 additions and 962 deletions

View File

@@ -24,6 +24,7 @@
*/
package org.alfresco.cmis.search;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
@@ -39,8 +40,10 @@ import org.alfresco.service.cmr.search.ResultSet;
/**
* @author andyh
*/
public class CMISResultSetImpl implements CMISResultSet
public class CMISResultSetImpl implements CMISResultSet, Serializable
{
private static final long serialVersionUID = 2014688399588268994L;
private Map<String, ResultSet> wrapped;
CMISQueryOptions options;
@@ -118,7 +121,7 @@ public class CMISResultSetImpl implements CMISResultSet
*
* @see org.alfresco.cmis.search.CMISResultSet#length()
*/
public int length()
public int getLength()
{
for (ResultSet resultSet : wrapped.values())
{
@@ -132,7 +135,7 @@ public class CMISResultSetImpl implements CMISResultSet
*
* @see org.alfresco.cmis.search.CMISResultSet#start()
*/
public int start()
public int getStart()
{
return options.getSkipCount();
}