com.ibm.commerce.giftcenter.facade.server.services.dataaccess.db.jdbc

Class GiftListSearchSQLComposer

  • All Implemented Interfaces:
    java.io.Serializable


    public class GiftListSearchSQLComposer
    extends SQLComposer
    The SQL composer class to filter gift lists based on the registrant's last name, first name, email address and country
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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)
      Compose the SQL statement for gift list search to replace the custom $GRADDR_CNDS$ tag.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GiftListSearchSQLComposer

        public GiftListSearchSQLComposer()
    • Method Detail

      • composeSQLStatement

        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
        Compose the SQL statement for gift list search to replace the custom $GRADDR_CNDS$ tag.
        Specified by:
        composeSQLStatement in class SQLComposer
        Parameters:
        sqlName - The name of the SQL statement specified in the query template
        entityTableName - The entity table name specified in the query template
        resultSetInfo - 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 template
        params - 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.
        Returns:
        A structure representing the updated SQL statement, its resultSet information.
        Throws:
        DataServiceSystemException