|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.search.AbstractResultSetRow
public abstract class AbstractResultSetRow
Common support for a row in a result set
Field Summary | |
---|---|
protected java.util.Map |
properties
The direct properties of the current node Used by those implementations that can cache the whole set. |
Constructor Summary | |
---|---|
AbstractResultSetRow(ResultSet resultSet,
int index)
The row needs the result set and the index for lookup. |
Method Summary | |
---|---|
ChildAssociationRef |
getChildAssocRef()
|
protected java.util.Map |
getDirectProperties()
|
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. |
NodeRef |
getNodeRef()
The reference to the node that equates to this row in the result set |
QName |
getQName()
|
ResultSet |
getResultSet()
Get the containing result set |
float |
getScore()
Get the score for this row in the result set |
java.io.Serializable |
getValue(QName qname)
Get a node property value by name |
java.io.Serializable |
getValue(java.lang.String columnName)
Get the data for a single column |
java.util.Map |
getValues()
Get the values of all available node properties. |
protected void |
setProperties(java.util.Map 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 |
---|
protected java.util.Map properties
Constructor Detail |
---|
public AbstractResultSetRow(ResultSet resultSet, int index)
resultSet
- index
- Method Detail |
---|
public ResultSet getResultSet()
ResultSetRow
getResultSet
in interface ResultSetRow
public int getIndex()
ResultSetRow
getIndex
in interface ResultSetRow
public NodeRef getNodeRef()
ResultSetRow
getNodeRef
in interface ResultSetRow
public QName getQName()
getQName
in interface ResultSetRow
public ChildAssociationRef getChildAssocRef()
getChildAssocRef
in interface ResultSetRow
public float getScore()
ResultSetRow
getScore
in interface ResultSetRow
public java.util.Map getValues()
ResultSetRow
getValues
in interface ResultSetRow
public java.io.Serializable getValue(java.lang.String columnName)
ResultSetRow
getValue
in interface ResultSetRow
protected java.util.Map getDirectProperties()
protected void setProperties(java.util.Map byQname)
public java.io.Serializable getValue(QName qname)
ResultSetRow
getValue
in interface ResultSetRow
qname
- the property name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |