com.atlassian.jira.entity
Class Select.WhereClauseAwareContext<E>

java.lang.Object
  extended by com.atlassian.jira.entity.Select.ExecutableContext<E>
      extended by com.atlassian.jira.entity.Select.WhereClauseAwareContext<E>
All Implemented Interfaces:
SelectQuery<E>
Direct Known Subclasses:
Select.SelectColumnsFromContext, Select.WhereContext
Enclosing class:
Select

public abstract static class Select.WhereClauseAwareContext<E>
extends Select.ExecutableContext<E>

Marker for contexts that can accept a where clause


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.entity.SelectQuery
SelectQuery.ExecutionContext<E>
 
Field Summary
 
Fields inherited from class com.atlassian.jira.entity.Select.ExecutableContext
queryBuilder
 
Constructor Summary
protected Select.WhereClauseAwareContext(com.atlassian.jira.entity.Select.QueryBuilder<E> queryBuilder)
           
 
Method Summary
 Select.WhereContext<E> byId(Long id)
           
abstract  Select.OrderByContext<E> orderBy(String... orderByColumn)
           
abstract  Select.WhereContext<E> whereCondition(org.ofbiz.core.entity.EntityCondition condition)
           
abstract  Select.WhereContext<E> whereEqual(String field, Long value)
           
abstract  Select.WhereContext<E> whereEqual(String field, String value)
           
 Select.WhereContext<E> whereLike(String field, String pattern)
           
 Select.WhereContext<E> whereNull(String field)
           
 
Methods inherited from class com.atlassian.jira.entity.Select.ExecutableContext
runWith, runWith
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Select.WhereClauseAwareContext

protected Select.WhereClauseAwareContext(com.atlassian.jira.entity.Select.QueryBuilder<E> queryBuilder)
Method Detail

whereEqual

public abstract Select.WhereContext<E> whereEqual(String field,
                                                  String value)

whereEqual

public abstract Select.WhereContext<E> whereEqual(String field,
                                                  Long value)

whereCondition

public abstract Select.WhereContext<E> whereCondition(org.ofbiz.core.entity.EntityCondition condition)

orderBy

public abstract Select.OrderByContext<E> orderBy(String... orderByColumn)

byId

public final Select.WhereContext<E> byId(@Nonnull
                                         Long id)

whereNull

public final Select.WhereContext<E> whereNull(String field)

whereLike

public final Select.WhereContext<E> whereLike(String field,
                                              String pattern)


Copyright © 2002-2014 Atlassian. All Rights Reserved.