|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryResult
Query result.
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. |
Method Detail |
---|
List<PropertyData<?>> getProperties()
<T> PropertyData<T> getPropertyById(String id)
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 getPropertyByQueryName(String)
instead.
<T> PropertyData<T> getPropertyByQueryName(String queryName)
<T> T getPropertyValueById(String id)
getPropertyById(String)
<T> T getPropertyValueByQueryName(String queryName)
getPropertyByQueryName(String)
<T> List<T> getPropertyMultivalueById(String id)
getPropertyById(String)
<T> List<T> getPropertyMultivalueByQueryName(String queryName)
getPropertyByQueryName(String)
AllowableActions getAllowableActions()
List<Relationship> getRelationships()
List<Rendition> getRenditions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |