|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.runtime.QueryResultImpl
public class QueryResultImpl
Implementation of QueryResult
.
Constructor Summary | |
---|---|
QueryResultImpl(Session session,
ObjectData objectData)
Constructor. |
Method Summary | ||
---|---|---|
AllowableActions |
getAllowableActions()
Returns the allowable actions if they were requested. |
|
List<PropertyData<?>> |
getProperties()
Returns a list of all properties in this query result. |
|
|
getPropertyById(String id)
Returns a property by id. |
|
|
getPropertyByQueryName(String queryName)
Returns a property by query name or alias. |
|
|
getPropertyMultivalueById(String id)
Returns a property multi-value by id. |
|
|
getPropertyMultivalueByQueryName(String queryName)
Returns a property multi-value by query name or alias. |
|
|
getPropertyValueById(String id)
Returns a property (single) value by id. |
|
|
getPropertyValueByQueryName(String queryName)
Returns a property (single) value by query name or alias. |
|
List<Relationship> |
getRelationships()
Returns the relationships if they were requested. |
|
List<Rendition> |
getRenditions()
Returns the renditions if they were requested. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryResultImpl(Session session, ObjectData objectData)
Method Detail |
---|
public List<PropertyData<?>> getProperties()
QueryResult
getProperties
in interface QueryResult
public <T> PropertyData<T> getPropertyById(String id)
QueryResult
Since repositories are not obligated to add property ids to their query
result properties, this method might not always work as expected with
some repositories. Use QueryResult.getPropertyByQueryName(String)
instead.
getPropertyById
in interface QueryResult
public <T> PropertyData<T> getPropertyByQueryName(String queryName)
QueryResult
getPropertyByQueryName
in interface QueryResult
public <T> T getPropertyValueById(String id)
QueryResult
getPropertyValueById
in interface QueryResult
QueryResult.getPropertyById(String)
public <T> T getPropertyValueByQueryName(String queryName)
QueryResult
getPropertyValueByQueryName
in interface QueryResult
QueryResult.getPropertyByQueryName(String)
public <T> List<T> getPropertyMultivalueById(String id)
QueryResult
getPropertyMultivalueById
in interface QueryResult
QueryResult.getPropertyById(String)
public <T> List<T> getPropertyMultivalueByQueryName(String queryName)
QueryResult
getPropertyMultivalueByQueryName
in interface QueryResult
QueryResult.getPropertyByQueryName(String)
public AllowableActions getAllowableActions()
QueryResult
getAllowableActions
in interface QueryResult
public List<Relationship> getRelationships()
QueryResult
getRelationships
in interface QueryResult
public List<Rendition> getRenditions()
QueryResult
getRenditions
in interface QueryResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |