public abstract class SQLComposer
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
class |
SQLComposer.SQLComposerInfo
This class represented the updated information from a SQLComposer
|
Constructor and Description |
---|
SQLComposer() |
Modifier and Type | Method and Description |
---|---|
abstract SQLComposer.SQLComposerInfo |
composeSQLStatement(java.lang.String sqlName,
java.lang.String entityTableName,
java.util.List resultSetInfo,
java.lang.String sqlstatement,
java.util.List params)
Compose the final SQL statement.
|
SelectionCriteria |
getSelectionCriteria()
Gets the SelectionCriteria object which contains the search expression information.
|
void |
setSelectionCriteria(SelectionCriteria aSelectionCriteria)
Sets the selectin criteria information from the caller.
|
public abstract 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
sqlName
- The name of the sql statement specified in the query templateentityTableName
- The entity table name specified in the query templateresultSetInfo
- The current resultSet info, which is a list of ResultSetData. If there is no result set info,
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
public SelectionCriteria getSelectionCriteria()
public void setSelectionCriteria(SelectionCriteria aSelectionCriteria)
aSelectionCriteria
- the caller's selection critieria information.