public class ListQueryParameterObject extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ListQueryParameterObject.OrderBy |
static class |
ListQueryParameterObject.ResultType |
| Modifier and Type | Field and Description |
|---|---|
protected String |
databaseType |
protected static ListQueryParameterObject.OrderBy |
DEFAULT_ORDER_BY |
protected ListQueryParameterObject.OrderBy |
defaultOrderBy |
protected int |
firstResult |
protected int |
maxResults |
protected String |
nullHandlingColumn |
protected Query.NullHandlingOnOrder |
nullHandlingOnOrder |
protected Collection<ListQueryParameterObject.OrderBy> |
orderByCollection |
protected QueryProperty |
orderProperty |
protected Object |
parameter |
protected ListQueryParameterObject.ResultType |
resultType |
static String |
SORTORDER_ASC |
static String |
SORTORDER_DESC |
| Constructor and Description |
|---|
ListQueryParameterObject() |
ListQueryParameterObject(Object parameter,
int firstResult,
int maxResults) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOrder(String column,
String sortOrder,
Query.NullHandlingOnOrder nullHandlingOnOrder) |
protected String |
buildOrderBy() |
String |
getDatabaseType() |
int |
getFirstResult() |
int |
getFirstRow() |
int |
getLastRow() |
int |
getMaxResults() |
String |
getNullHandlingColumn() |
String |
getOrderBy() |
protected Collection<ListQueryParameterObject.OrderBy> |
getOrderByCollectionSafe() |
String |
getOrderByForWindow() |
String |
getOuterJoinOrderBy() |
Object |
getParameter() |
boolean |
hasOrderBy() |
protected boolean |
hasOrderByForColumn(String name) |
boolean |
isNeedsPaging() |
protected String |
mapOrderByToSql(ListQueryParameterObject.OrderBy by) |
void |
setDatabaseType(String databaseType) |
void |
setFirstResult(int firstResult) |
void |
setMaxResults(int maxResults) |
void |
setNullHandlingColumn(String nullHandlingColumn) |
void |
setParameter(Object parameter) |
protected static final ListQueryParameterObject.OrderBy DEFAULT_ORDER_BY
public static final String SORTORDER_ASC
public static final String SORTORDER_DESC
protected int firstResult
protected int maxResults
protected Object parameter
protected Collection<ListQueryParameterObject.OrderBy> orderByCollection
protected ListQueryParameterObject.OrderBy defaultOrderBy
protected QueryProperty orderProperty
protected String nullHandlingColumn
protected Query.NullHandlingOnOrder nullHandlingOnOrder
protected ListQueryParameterObject.ResultType resultType
protected String databaseType
public ListQueryParameterObject()
public ListQueryParameterObject(Object parameter, int firstResult, int maxResults)
public void addOrder(String column, String sortOrder, Query.NullHandlingOnOrder nullHandlingOnOrder)
public boolean isNeedsPaging()
public int getFirstResult()
public int getFirstRow()
public int getLastRow()
public int getMaxResults()
public Object getParameter()
public void setFirstResult(int firstResult)
public void setMaxResults(int maxResults)
public void setParameter(Object parameter)
public boolean hasOrderBy()
public String getOrderByForWindow()
protected String buildOrderBy()
protected Collection<ListQueryParameterObject.OrderBy> getOrderByCollectionSafe()
public String getOuterJoinOrderBy()
protected String mapOrderByToSql(ListQueryParameterObject.OrderBy by)
public String getOrderBy()
protected boolean hasOrderByForColumn(String name)
public void setDatabaseType(String databaseType)
public String getDatabaseType()
public String getNullHandlingColumn()
public void setNullHandlingColumn(String nullHandlingColumn)
Copyright © 2021 Flowable. All rights reserved.