public abstract class AbstractResultSetRow extends Object implements org.alfresco.service.cmr.search.ResultSetRow
Modifier and Type | Field and Description |
---|---|
protected Map<String,Serializable> |
properties
The direct properties of the current node Used by those implementations that can cache the whole set.
|
Constructor and Description |
---|
AbstractResultSetRow(org.alfresco.service.cmr.search.ResultSet resultSet,
int index)
The row needs the result set and the index for lookup.
|
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.ChildAssociationRef |
getChildAssocRef() |
protected Map<org.alfresco.service.namespace.QName,Serializable> |
getDirectProperties() |
int |
getIndex() |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef() |
org.alfresco.service.namespace.QName |
getQName() |
org.alfresco.service.cmr.search.ResultSet |
getResultSet() |
float |
getScore() |
Serializable |
getValue(org.alfresco.service.namespace.QName qname) |
Serializable |
getValue(String columnName) |
Map<String,Serializable> |
getValues() |
protected void |
setProperties(Map<org.alfresco.service.namespace.QName,Serializable> byQname) |
protected Map<String,Serializable> properties
public AbstractResultSetRow(org.alfresco.service.cmr.search.ResultSet resultSet, int index)
resultSet
- ResultSetindex
- intpublic org.alfresco.service.cmr.search.ResultSet getResultSet()
getResultSet
in interface org.alfresco.service.cmr.search.ResultSetRow
public int getIndex()
getIndex
in interface org.alfresco.service.cmr.search.ResultSetRow
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
getNodeRef
in interface org.alfresco.service.cmr.search.ResultSetRow
public org.alfresco.service.namespace.QName getQName()
getQName
in interface org.alfresco.service.cmr.search.ResultSetRow
public org.alfresco.service.cmr.repository.ChildAssociationRef getChildAssocRef()
getChildAssocRef
in interface org.alfresco.service.cmr.search.ResultSetRow
public float getScore()
getScore
in interface org.alfresco.service.cmr.search.ResultSetRow
public Map<String,Serializable> getValues()
getValues
in interface org.alfresco.service.cmr.search.ResultSetRow
public Serializable getValue(String columnName)
getValue
in interface org.alfresco.service.cmr.search.ResultSetRow
protected Map<org.alfresco.service.namespace.QName,Serializable> getDirectProperties()
protected void setProperties(Map<org.alfresco.service.namespace.QName,Serializable> byQname)
public Serializable getValue(org.alfresco.service.namespace.QName qname)
getValue
in interface org.alfresco.service.cmr.search.ResultSetRow
Copyright © 2005–2017 Alfresco Software. All rights reserved.