org.alfresco.repo.search.results
Class DetachedResultSetRow

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

public class DetachedResultSetRow
extends AbstractResultSetRow

Detatched result set row


Field Summary
 
Fields inherited from class org.alfresco.repo.search.AbstractResultSetRow
properties
 
Constructor Summary
DetachedResultSetRow(ResultSet resultSet, ResultSetRow row)
          Detached result set row
 
Method Summary
 ChildAssociationRef getChildAssocRef()
           
 NodeRef getNodeRef()
          The reference to the node that equates to this row in the result set
 NodeRef getNodeRef(java.lang.String selectorName)
          Gets the node ref related to the named selector
 java.util.Map getNodeRefs()
          Gets the node refs
 QName getQName()
           
 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
getDirectProperties, getIndex, getResultSet, getScore, getValue, getValue, getValues, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetachedResultSetRow

public DetachedResultSetRow(ResultSet resultSet,
                            ResultSetRow row)
Detached result set row

Parameters:
resultSet -
row -
Method Detail

getQName

public QName getQName()
Specified by:
getQName in interface ResultSetRow
Overrides:
getQName in class AbstractResultSetRow
Returns:
Returns the name of the child association leading down to the node represented by this row

getNodeRef

public NodeRef getNodeRef()
Description copied from interface: ResultSetRow
The reference to the node that equates to this row in the result set

Specified by:
getNodeRef in interface ResultSetRow
Overrides:
getNodeRef in class AbstractResultSetRow
Returns:
Returns the reference to the node that makes this result

getChildAssocRef

public ChildAssociationRef getChildAssocRef()
Specified by:
getChildAssocRef in interface ResultSetRow
Overrides:
getChildAssocRef in class AbstractResultSetRow
Returns:
Returns the child assoc ref for this row

getNodeRef

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

Returns:
the node ref

getNodeRefs

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

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.

Returns:
- the score.

getScores

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

Returns:
a map of selector name to score.


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