public class LayoutSearchSQLComposer extends SQLComposer
SQLComposer.SQLComposerInfo
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
LayoutSearchSQLComposer() |
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. |
getSelectionCriteria, setSelectionCriteria
public static final java.lang.String COPYRIGHT
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
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.
The control parameters are documented in the searchLayouts()
method
in PageLayoutFacadeClient
. Based upon the control parameters that are specified, the AND
conditions are constructed and
appended to the WHERE
clause, e.g. AND PAGELAYOUT.ISTEMPLATE = 1 AND PAGELAYOUT.STARTDATE >= '2009-01-01 00:00:00.0'
.
composeSQLStatement
in class SQLComposer
sqlName
- The name of the SQL statement specified in the query templateentityTableName
- The entity table name specified in the query templateresultSetInfo
- The current resultSet information, which is a list of
ResultSetData. If there is no result set information, this
will an empty list and the value will never be null.sqlstatement
- The optional SQL statement specified in the query template.
This could be null if there is no SQL statement specified in
the query templateparams
- A list of optional parameters of type String specified in the
query template. If no parameters are specified, this would be
an empty list and will never be null.DataServiceSystemException