com.atlassian.jira.entity
Interface EntityEngine.WhereContext<E>

All Known Subinterfaces:
EntityEngine.WhereEqualAndContext<E>, EntityEngine.WhereEqualContext<E>, EntityEngine.WhereInContext<E>
Enclosing interface:
EntityEngine

public static interface EntityEngine.WhereContext<E>


Method Summary
 List<E> list()
           
 List<E> orderBy(String... orderByColumn)
           
 E singleValue()
          Returns the single Entity that is the result of this query.
 

Method Detail

orderBy

List<E> orderBy(String... orderByColumn)

list

List<E> list()

singleValue

E singleValue()
Returns the single Entity that is the result of this query.

Will return null if no rows were returned by the DB query. Throws PrecedenceSimpleClauseBuilder.IllegalState if more than one row is found.

Returns:
the Entity found or null of none found.


Copyright © 2002-2014 Atlassian. All Rights Reserved.