|
|||||||||
| 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 ResultSetRowpublic int getIndex()
ResultSetRow
getIndex in interface ResultSetRowpublic NodeRef getNodeRef()
ResultSetRow
getNodeRef in interface ResultSetRowpublic QName getQName()
getQName in interface ResultSetRowpublic ChildAssociationRef getChildAssocRef()
getChildAssocRef in interface ResultSetRowpublic float getScore()
ResultSetRow
getScore in interface ResultSetRowpublic java.util.Map getValues()
ResultSetRow
getValues in interface ResultSetRowpublic java.io.Serializable getValue(java.lang.String columnName)
ResultSetRow
getValue in interface ResultSetRowprotected java.util.Map getDirectProperties()
protected void setProperties(java.util.Map byQname)
public java.io.Serializable getValue(QName qname)
ResultSetRow
getValue in interface ResultSetRowqname - the property name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||