org.alfresco.repo.search.results
Class SortedResultSetRow

java.lang.Object
  extended by org.alfresco.repo.search.AbstractResultSetRow
      extended by org.alfresco.repo.search.results.SortedResultSetRow
All Implemented Interfaces:
ResultSetRow

public class SortedResultSetRow
extends AbstractResultSetRow
implements ResultSetRow


Field Summary
 
Fields inherited from class org.alfresco.repo.search.AbstractResultSetRow
properties
 
Constructor Summary
SortedResultSetRow(SortedResultSet resultSet, int index)
           
 
Method Summary
 NodeRef getNodeRef(java.lang.String selectorName)
          Gets the node ref related to the named selector
 java.util.Map getNodeRefs()
          Gets the node refs
 float getScore(java.lang.String selectorName)
          Get the score related to the named selector.
 java.util.Map getScores()
          Get the scores .
 
Methods inherited from class org.alfresco.repo.search.AbstractResultSetRow
getChildAssocRef, getDirectProperties, getIndex, getNodeRef, getQName, getResultSet, getScore, getValue, getValue, getValues, setProperties
 
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
getChildAssocRef, getIndex, getNodeRef, getQName, getResultSet, getScore, getValue, getValue, getValues
 

Constructor Detail

SortedResultSetRow

public SortedResultSetRow(SortedResultSet resultSet,
                          int index)
Parameters:
resultSet -
index -
Method Detail

getNodeRef

public NodeRef getNodeRef(java.lang.String selectorName)
Description copied from interface: ResultSetRow
Gets the node ref related to the named selector

Specified by:
getNodeRef in interface ResultSetRow
Returns:
the node ref

getNodeRefs

public java.util.Map getNodeRefs()
Description copied from interface: ResultSetRow
Gets the node refs

Specified by:
getNodeRefs in interface ResultSetRow
Returns:
a map of selector name to node ref

getScore

public float getScore(java.lang.String selectorName)
Description copied from interface: ResultSetRow
Get the score related to the named selector.

Specified by:
getScore in interface ResultSetRow
Returns:
- the score.

getScores

public java.util.Map getScores()
Description copied from interface: ResultSetRow
Get the scores .

Specified by:
getScores in interface ResultSetRow
Returns:
a map of selector name to score.


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