Class AbstractResultSetRow

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​java.io.Serializable> properties
      The direct properties of the current node Used by those implementations that can cache the whole set.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractResultSetRow​(org.alfresco.service.cmr.search.ResultSet resultSet, int index)
      The row needs the result set and the index for lookup.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef()  
      protected java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> getDirectProperties()  
      int getIndex()  
      org.alfresco.service.cmr.repository.NodeRef getNodeRef()  
      org.alfresco.service.namespace.QName getQName()  
      org.alfresco.service.cmr.search.ResultSet getResultSet()  
      float getScore()  
      java.io.Serializable getValue​(java.lang.String columnName)  
      java.io.Serializable getValue​(org.alfresco.service.namespace.QName qname)  
      java.util.Map<java.lang.String,​java.io.Serializable> getValues()  
      protected void setProperties​(java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> byQname)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.alfresco.service.cmr.search.ResultSetRow

        getNodeRef, getNodeRefs, getScore, getScores
    • Field Detail

      • properties

        protected java.util.Map<java.lang.String,​java.io.Serializable> properties
        The direct properties of the current node Used by those implementations that can cache the whole set.
    • Constructor Detail

      • AbstractResultSetRow

        public AbstractResultSetRow​(org.alfresco.service.cmr.search.ResultSet resultSet,
                                    int index)
        The row needs the result set and the index for lookup.
        Parameters:
        resultSet - ResultSet
        index - int
    • Method Detail

      • getResultSet

        public org.alfresco.service.cmr.search.ResultSet getResultSet()
        Specified by:
        getResultSet in interface org.alfresco.service.cmr.search.ResultSetRow
      • getIndex

        public int getIndex()
        Specified by:
        getIndex in interface org.alfresco.service.cmr.search.ResultSetRow
      • getNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
        Specified by:
        getNodeRef in interface org.alfresco.service.cmr.search.ResultSetRow
      • getQName

        public org.alfresco.service.namespace.QName getQName()
        Specified by:
        getQName in interface org.alfresco.service.cmr.search.ResultSetRow
      • getChildAssocRef

        public org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef()
        Specified by:
        getChildAssocRef in interface org.alfresco.service.cmr.search.ResultSetRow
      • getScore

        public float getScore()
        Specified by:
        getScore in interface org.alfresco.service.cmr.search.ResultSetRow
      • getValues

        public java.util.Map<java.lang.String,​java.io.Serializable> getValues()
        Specified by:
        getValues in interface org.alfresco.service.cmr.search.ResultSetRow
      • getValue

        public java.io.Serializable getValue​(java.lang.String columnName)
        Specified by:
        getValue in interface org.alfresco.service.cmr.search.ResultSetRow
      • getDirectProperties

        protected java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> getDirectProperties()
      • setProperties

        protected void setProperties​(java.util.Map<org.alfresco.service.namespace.QName,​java.io.Serializable> byQname)
      • getValue

        public java.io.Serializable getValue​(org.alfresco.service.namespace.QName qname)
        Specified by:
        getValue in interface org.alfresco.service.cmr.search.ResultSetRow