Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.search
Interface ResultSetRow

@org.alfresco.api.AlfrescoPublicApi
public interface ResultSetRow
A row in a result set TODO: Support for other non attribute features such as parents and path
Author:
andyh

Method Summary
getChildAssocRef()
int
getIndex()
          Get the index of this result set in the result set If you want the overall position in paged reults you have to add the skipCount fo the result set.
getNodeRef()
          The reference to the node that equates to this row in the result set
getNodeRef(String selectorName)
          Gets the node ref related to the named selector
getNodeRefs()
          Gets the node refs
getQName()
getResultSet()
          Get the containing result set
float
getScore()
          Get the score for this row in the result set
float
getScore(String selectorName)
          Get the score related to the named selector.
getScores()
          Get the scores .
getValue(QName qname)
          Get a node property value by name
getValue(String columnName)
          Get the data for a single column
getValues()
          Get the values of all available node properties.
Method Detail
getValues
Map<String,SerializablegetValues()
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.
Returns:
Returns all the available node properties

getValue
Serializable getValue(String columnName)
Get the data for a single column
Parameters:
columnName - String
Returns:
the value

getValue
Serializable getValue(QName qname)
Get a node property value by name
Parameters:
qname - the property name
Returns:
Returns the node property for the given name

getNodeRef
NodeRef getNodeRef()
The reference to the node that equates to this row in the result set
Returns:
Returns the reference to the node that makes this result

getNodeRefs
Map<String,NodeRefgetNodeRefs()
Gets the node refs
Returns:
a map of selector name to node ref

getNodeRef
NodeRef getNodeRef(String selectorName)
Gets the node ref related to the named selector
Parameters:
selectorName - String
Returns:
the node ref

getScore
float getScore()
Get the score for this row in the result set
Returns:
Returns the score for this row in the resultset

getScores
Map<String,FloatgetScores()
Get the scores .
Returns:
a map of selector name to score.

getScore
float getScore(String selectorName)
Get the score related to the named selector.
Parameters:
selectorName - String
Returns:
- the score.

getResultSet
ResultSet getResultSet()
Get the containing result set
Returns:
Returns the containing resultset

getQName
QName getQName()
Returns:
Returns the name of the child association leading down to the node represented by this row

getIndex
int getIndex()
Get the index of this result set in the result set If you want the overall position in paged reults you have to add the skipCount fo the result set.
Returns:
int

getChildAssocRef
ChildAssociationRef getChildAssocRef()
Returns:
Returns the child assoc ref for this row

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.