org.ow2.petals.flowwatch.flowmanager
Class CreateSqlQueryFlow

java.lang.Object
  extended by org.ow2.petals.flowwatch.flowmanager.AbstractCreateSQLQuery
      extended by org.ow2.petals.flowwatch.flowmanager.CreateSqlQueryFlow

public class CreateSqlQueryFlow
extends AbstractCreateSQLQuery


Constructor Summary
CreateSqlQueryFlow()
           
 
Method Summary
 java.lang.String createCountQuery(java.util.Date after, java.util.Date before, RequestOptions reqOpt)
           
 java.lang.String createGetQuery(java.util.Date after, java.util.Date before, RequestOptions reqOpt)
           
protected  java.lang.String getSelectByAttribute()
           
protected  java.lang.String getWhereDateClause(java.util.Date after, java.util.Date before)
          Add a where clause for the start date
protected  java.lang.String sort(int idxColumn, java.lang.String sortType)
           
 
Methods inherited from class org.ow2.petals.flowwatch.flowmanager.AbstractCreateSQLQuery
getFlowRefLeftJoinByType, getFlowRefLeftJoinGlobal, getFrom, getGlobalOrderBy, getLastStepLeftJoin, getLimit, getMySQLFilterType, getSelectForCount, getStartStepLeftJoin, sortAsc, sortDesc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateSqlQueryFlow

public CreateSqlQueryFlow()
Method Detail

getSelectByAttribute

protected java.lang.String getSelectByAttribute()
Specified by:
getSelectByAttribute in class AbstractCreateSQLQuery

sort

protected java.lang.String sort(int idxColumn,
                                java.lang.String sortType)
Specified by:
sort in class AbstractCreateSQLQuery

getWhereDateClause

protected java.lang.String getWhereDateClause(java.util.Date after,
                                              java.util.Date before)
Add a where clause for the start date

Parameters:
after -
before -
Returns:

createGetQuery

public java.lang.String createGetQuery(java.util.Date after,
                                       java.util.Date before,
                                       RequestOptions reqOpt)

createCountQuery

public java.lang.String createCountQuery(java.util.Date after,
                                         java.util.Date before,
                                         RequestOptions reqOpt)


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.