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


Constructor Summary
DetachedResultSetRow(ResultSet resultSet, ResultSetRow row)
           
 
Method Summary
 ChildAssociationRef getChildAssocRef()
           
 NodeRef getNodeRef()
          The reference to the node that equates to this row in the result set
 QName getQName()
           
 java.io.Serializable getValue(Path path)
          Get a node property by path
 java.util.Map getValues()
          Get the values of all available node properties.
 
Methods inherited from class org.alfresco.repo.search.AbstractResultSetRow
getDirectProperties, getIndex, getResultSet, getScore, getValue, 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)
Method Detail

getValue

public java.io.Serializable getValue(Path path)
Description copied from interface: ResultSetRow
Get a node property by path

Specified by:
getValue in interface ResultSetRow
Overrides:
getValue in class AbstractResultSetRow
Parameters:
path - the path to the value required
Returns:
Returns the value of the property at the given path

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

getValues

public java.util.Map getValues()
Description copied from interface: ResultSetRow
Get the values of all available node properties. These are only properties that were stored in the query results and can vary depending on the query language that was used.

Specified by:
getValues in interface ResultSetRow
Overrides:
getValues in class AbstractResultSetRow
Returns:
Returns all the available node properties

getChildAssocRef

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


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