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

Enclosing interface:
EntityEngine

public static interface EntityEngine.SelectFromContext<E>


Method Summary
 EntityEngine.WhereContext<E> findAll()
           
 E findById(Long id)
           
 EntityEngine.WhereEqualContext<E> whereEqual(String fieldName, Long value)
           
 EntityEngine.WhereEqualContext<E> whereEqual(String fieldName, String value)
           
<V> EntityEngine.WhereInContext<E>
whereIn(String fieldName, Collection<V> values)
          Supports IN operator.
 

Method Detail

findAll

EntityEngine.WhereContext<E> findAll()

findById

E findById(Long id)

whereEqual

EntityEngine.WhereEqualContext<E> whereEqual(String fieldName,
                                             String value)

whereEqual

EntityEngine.WhereEqualContext<E> whereEqual(String fieldName,
                                             Long value)

whereIn

<V> EntityEngine.WhereInContext<E> whereIn(String fieldName,
                                           Collection<V> values)
Supports IN operator.

NOTE: No use cases now, but the current design does not allow us to easily mix different types of contexts, e.g., (f1 = v1 and f2 in (v2, v3)).



Copyright © 2002-2014 Atlassian. All Rights Reserved.