public class PromotionSearchSQLComposer extends SQLComposer
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CONTROL_PARAM_NAME_END_DATE_DATE1
The Control Parameter Name for End Date if after this date.
|
static java.lang.String | CONTROL_PARAM_NAME_END_DATE_DATE2
The Control Parameter Name for End Date is before this date.
|
static java.lang.String | CONTROL_PARAM_NAME_PROMOTION_REDEMPTION_METHOD
The Control Parameter Name for Promotion Redemption Method.
|
static java.lang.String | CONTROL_PARAM_NAME_PROMOTION_STATUS
The Control Parameter Name for Promotion Status.
|
static java.lang.String | CONTROL_PARAM_NAME_PROMOTION_TYPE
The Control Parameter Name for the Promotion Type.
|
static java.lang.String | CONTROL_PARAM_NAME_START_DATE_DATE1
The Control Parameter Name for Start Date if after this date.
|
static java.lang.String | CONTROL_PARAM_NAME_START_DATE_DATE2
The Control Parameter Name for Start Date is before this date.
|
static java.lang.String | CONTROL_PARAM_PREFIX
The Control Parameter prefix for Promotion Services.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
PromotionSearchSQLComposer() |
Modifier and Type | Method and Description |
---|---|
SQLComposer.SQLComposerInfo | composeSQLStatement(java.lang.String sqlName, java.lang.String entityTableName, java.util.List resultSetInfo, java.lang.String sqlstatement, java.util.List params)
This method composes an SQL statement by appending AND conditions to the WHERE clause of the given SQL statement according to the search criteria specified using the control parameters in the Get Expression.
|
protected java.lang.String | getDefaultListOfPromotionStatus()
This method returns the list of promotion status to be used in the regular search query when searching for promotions.
|
protected java.lang.String | getDefaultListOfPromotionStatusForAdvancedSearch()
This method returns the list of promotion status to be used in the advanced search query when searching for promotions with any status.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CONTROL_PARAM_PREFIX
public static final java.lang.String CONTROL_PARAM_NAME_START_DATE_DATE1
public static final java.lang.String CONTROL_PARAM_NAME_START_DATE_DATE2
public static final java.lang.String CONTROL_PARAM_NAME_END_DATE_DATE1
public static final java.lang.String CONTROL_PARAM_NAME_END_DATE_DATE2
public static final java.lang.String CONTROL_PARAM_NAME_PROMOTION_TYPE
public static final java.lang.String CONTROL_PARAM_NAME_PROMOTION_STATUS
public static final java.lang.String CONTROL_PARAM_NAME_PROMOTION_REDEMPTION_METHOD
protected java.lang.String getDefaultListOfPromotionStatus()
protected java.lang.String getDefaultListOfPromotionStatusForAdvancedSearch()
public SQLComposer.SQLComposerInfo composeSQLStatement(java.lang.String sqlName, java.lang.String entityTableName, java.util.List resultSetInfo, java.lang.String sqlstatement, java.util.List params) throws DataServiceSystemException
The control parameters supported by this method are: