|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.flowwatch.flowmanager.AbstractCreateSQLQuery
public abstract class AbstractCreateSQLQuery
| Constructor Summary | |
|---|---|
AbstractCreateSQLQuery()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getFlowRefLeftJoinByType(java.lang.String type)
Add the flow ref join clause. |
protected java.lang.String |
getFlowRefLeftJoinGlobal()
Add the flow ref join clause. |
protected java.lang.String |
getFrom()
Add the "from" clause |
protected java.lang.String |
getGlobalOrderBy()
A generic order by method used to order flow when no sort option selected |
protected java.lang.String |
getLastStepLeftJoin()
Add the flow step ref and corresponding flow step left join clause. |
protected java.lang.String |
getLimit(int indxFirst,
int rowsPerPage)
Add the "limit" clause. |
protected java.lang.String |
getMySQLFilterType(Filter.FilterType type,
java.lang.String value)
Return the mysql operator for a given filter type |
protected abstract java.lang.String |
getSelectByAttribute()
|
protected java.lang.String |
getSelectForCount()
A "select" clause to count all rows of a specific request |
protected java.lang.String |
getStartStepLeftJoin()
Add the flow step ref and corresponding flow step left join clause. |
protected abstract java.lang.String |
sort(int idxColumn,
java.lang.String sortType)
|
protected java.lang.String |
sortAsc(int idxColumn)
Add "order by" clause. |
protected java.lang.String |
sortDesc(int idxColumn)
Add "order by" clause. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCreateSQLQuery()
| Method Detail |
|---|
protected abstract java.lang.String getSelectByAttribute()
protected java.lang.String getSelectForCount()
protected java.lang.String getFrom()
protected java.lang.String getFlowRefLeftJoinByType(java.lang.String type)
type - a given flow type
protected java.lang.String getFlowRefLeftJoinGlobal()
protected java.lang.String getLastStepLeftJoin()
protected java.lang.String getStartStepLeftJoin()
protected java.lang.String getGlobalOrderBy()
protected abstract java.lang.String sort(int idxColumn,
java.lang.String sortType)
protected java.lang.String sortDesc(int idxColumn)
idxColumn - the index of the column to sort
protected java.lang.String sortAsc(int idxColumn)
idxColumn - the index of the column to sort
protected java.lang.String getLimit(int indxFirst,
int rowsPerPage)
indxFirst - start index of the returned resultrowsPerPage - number of returned results
protected java.lang.String getMySQLFilterType(Filter.FilterType type,
java.lang.String value)
type - a filter type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||