org.alfresco.opencmis.search
Class CMISResultSet

java.lang.Object
  extended by org.alfresco.opencmis.search.CMISResultSet
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable, org.alfresco.service.cmr.search.ResultSetSPI

public class CMISResultSet
extends java.lang.Object
implements org.alfresco.service.cmr.search.ResultSetSPI, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CMISResultSet(java.util.Map wrapped, org.alfresco.opencmis.search.CMISQueryOptions options, org.alfresco.service.cmr.search.LimitBy limitBy, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.repo.search.impl.querymodel.Query query, org.alfresco.opencmis.dictionary.CMISDictionaryService cmisDictionaryService, org.alfresco.service.cmr.dictionary.DictionaryService alfrescoDictionaryService)
           
 
Method Summary
 void close()
           
 boolean getBulkFetch()
          Do we bulk fetch - not supported here
 int getBulkFetchSize()
          Get the bulk fetch size.
 org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef(int n)
           
 java.util.List getChildAssocRefs()
           
 java.util.List getFieldFacet(java.lang.String field)
           
 int getLength()
           
 CMISResultSetMetaData getMetaData()
           
 org.alfresco.service.cmr.repository.NodeRef getNodeRef(int n)
           
 java.util.List getNodeRefs()
           
 CMISResultSetMetaData getResultSetMetaData()
           
 CMISResultSetRow getRow(int i)
           
 float getScore(int n)
           
 int getStart()
           
 boolean hasMore()
           
 java.util.Iterator iterator()
           
 int length()
           
 boolean setBulkFetch(boolean bulkFetch)
          Bulk fetch results in the cache - not supported here
 int setBulkFetchSize(int bulkFetchSize)
          Set the bulk fetch size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMISResultSet

public CMISResultSet(java.util.Map wrapped,
                     org.alfresco.opencmis.search.CMISQueryOptions options,
                     org.alfresco.service.cmr.search.LimitBy limitBy,
                     org.alfresco.service.cmr.repository.NodeService nodeService,
                     org.alfresco.repo.search.impl.querymodel.Query query,
                     org.alfresco.opencmis.dictionary.CMISDictionaryService cmisDictionaryService,
                     org.alfresco.service.cmr.dictionary.DictionaryService alfrescoDictionaryService)
Method Detail

close

public void close()
Specified by:
close in interface org.alfresco.service.cmr.search.ResultSetSPI

getMetaData

public CMISResultSetMetaData getMetaData()

getRow

public CMISResultSetRow getRow(int i)
Specified by:
getRow in interface org.alfresco.service.cmr.search.ResultSetSPI

hasMore

public boolean hasMore()
Specified by:
hasMore in interface org.alfresco.service.cmr.search.ResultSetSPI

getLength

public int getLength()

getStart

public int getStart()
Specified by:
getStart in interface org.alfresco.service.cmr.search.ResultSetSPI

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.lang.Iterable

getChildAssocRef

public org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef(int n)
Specified by:
getChildAssocRef in interface org.alfresco.service.cmr.search.ResultSetSPI

getChildAssocRefs

public java.util.List getChildAssocRefs()
Specified by:
getChildAssocRefs in interface org.alfresco.service.cmr.search.ResultSetSPI

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef(int n)
Specified by:
getNodeRef in interface org.alfresco.service.cmr.search.ResultSetSPI

getNodeRefs

public java.util.List getNodeRefs()
Specified by:
getNodeRefs in interface org.alfresco.service.cmr.search.ResultSetSPI

getResultSetMetaData

public CMISResultSetMetaData getResultSetMetaData()
Specified by:
getResultSetMetaData in interface org.alfresco.service.cmr.search.ResultSetSPI

getScore

public float getScore(int n)
Specified by:
getScore in interface org.alfresco.service.cmr.search.ResultSetSPI

length

public int length()
Specified by:
length in interface org.alfresco.service.cmr.search.ResultSetSPI

setBulkFetch

public boolean setBulkFetch(boolean bulkFetch)
Bulk fetch results in the cache - not supported here

Specified by:
setBulkFetch in interface org.alfresco.service.cmr.search.ResultSetSPI
Parameters:
bulkFetch -

getBulkFetch

public boolean getBulkFetch()
Do we bulk fetch - not supported here

Specified by:
getBulkFetch in interface org.alfresco.service.cmr.search.ResultSetSPI
Returns:
- true if we do

setBulkFetchSize

public int setBulkFetchSize(int bulkFetchSize)
Set the bulk fetch size

Specified by:
setBulkFetchSize in interface org.alfresco.service.cmr.search.ResultSetSPI
Parameters:
bulkFetchSize -

getBulkFetchSize

public int getBulkFetchSize()
Get the bulk fetch size.

Specified by:
getBulkFetchSize in interface org.alfresco.service.cmr.search.ResultSetSPI
Returns:
the fetch size

getFieldFacet

public java.util.List getFieldFacet(java.lang.String field)
Specified by:
getFieldFacet in interface org.alfresco.service.cmr.search.ResultSetSPI


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