Class CMISResultSet

    • Constructor Summary

      Constructors 
      Constructor Description
      CMISResultSet​(java.util.Map<java.lang.String,​org.alfresco.service.cmr.search.ResultSet> 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)  
    • Constructor Detail

      • CMISResultSet

        public CMISResultSet​(java.util.Map<java.lang.String,​org.alfresco.service.cmr.search.ResultSet> 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

      • getLength

        public int getLength()
      • getChildAssocRef

        public org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef​(int n)
        Specified by:
        getChildAssocRef in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
      • getChildAssocRefs

        public java.util.List<org.alfresco.service.cmr.repository.ChildAssociationRef> getChildAssocRefs()
        Specified by:
        getChildAssocRefs in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
      • getNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getNodeRef​(int n)
        Specified by:
        getNodeRef in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
      • getNodeRefs

        public java.util.List<org.alfresco.service.cmr.repository.NodeRef> getNodeRefs()
        Specified by:
        getNodeRefs in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
      • 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<CMISResultSetRow,​CMISResultSetMetaData>
        Parameters:
        bulkFetch - boolean
      • getBulkFetch

        public boolean getBulkFetch()
        Do we bulk fetch - not supported here
        Specified by:
        getBulkFetch in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
        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<CMISResultSetRow,​CMISResultSetMetaData>
        Parameters:
        bulkFetchSize - int
      • getBulkFetchSize

        public int getBulkFetchSize()
        Get the bulk fetch size.
        Specified by:
        getBulkFetchSize in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
        Returns:
        the fetch size
      • getFieldFacet

        public java.util.List<org.alfresco.util.Pair<java.lang.String,​java.lang.Integer>> getFieldFacet​(java.lang.String field)
        Specified by:
        getFieldFacet in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
      • getFacetQueries

        public java.util.Map<java.lang.String,​java.lang.Integer> getFacetQueries()
        Specified by:
        getFacetQueries in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
      • getHighlighting

        public java.util.Map<org.alfresco.service.cmr.repository.NodeRef,​java.util.List<org.alfresco.util.Pair<java.lang.String,​java.util.List<java.lang.String>>>> getHighlighting()
        Specified by:
        getHighlighting in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>
      • getSpellCheckResult

        public org.alfresco.service.cmr.search.SpellCheckResult getSpellCheckResult()
        Specified by:
        getSpellCheckResult in interface org.alfresco.service.cmr.search.ResultSetSPI<CMISResultSetRow,​CMISResultSetMetaData>