Class IndexerActionDAO

  • All Implemented Interfaces:
    IIndexerActionDAO

    public final class IndexerActionDAO
    extends java.lang.Object
    implements IIndexerActionDAO
    This class provides Data Access methods for Indexer Action objects
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONSTANT_AND
      SQL And constant
      static java.lang.String CONSTANT_WHERE
      SQL Where constant
    • Field Detail

      • CONSTANT_WHERE

        public static final java.lang.String CONSTANT_WHERE
        SQL Where constant
        See Also:
        Constant Field Values
      • CONSTANT_AND

        public static final java.lang.String CONSTANT_AND
        SQL And constant
        See Also:
        Constant Field Values
    • Constructor Detail

      • IndexerActionDAO

        public IndexerActionDAO()
    • Method Detail

      • insert

        public void insert​(IndexerAction indexerAction)
        Insert a new record in the table.
        Specified by:
        insert in interface IIndexerActionDAO
        Parameters:
        indexerAction - instance of the IndexerAction object to insert
      • load

        public IndexerAction load​(int nId)
        Load the data of the IndexerAction from the table
        Specified by:
        load in interface IIndexerActionDAO
        Parameters:
        nId - The identifier of the action
        Returns:
        the instance of the IndexerAction
      • delete

        public void delete​(int nId)
        Delete a record from the table
        Specified by:
        delete in interface IIndexerActionDAO
        Parameters:
        nId - The identifier of the action
      • store

        public void store​(IndexerAction indexerAction)
        Update the indexerAction in the table
        Specified by:
        store in interface IIndexerActionDAO
        Parameters:
        indexerAction - instance of the IndexerAction object to update
      • selectList

        public java.util.List<IndexerAction> selectList​(IndexerActionFilter filter)
        Load the data of all indexerAction and returns them in a list
        Specified by:
        selectList in interface IIndexerActionDAO
        Parameters:
        filter - the search filter
        Returns:
        The List which contains the data of all action
      • selectList

        public java.util.List<IndexerAction> selectList()
        Load the data of all indexerAction
        Specified by:
        selectList in interface IIndexerActionDAO
        Returns:
        The List which contains the data of all action
      • buildRequestWithFilter

        public static java.lang.String buildRequestWithFilter​(java.lang.String strSelect,
                                                              java.util.List<java.lang.String> listStrFilter,
                                                              java.lang.String strOrder)
        Builds a query with filters placed in parameters
        Parameters:
        strSelect - the select of the query
        listStrFilter - the list of filter to add in the query
        strOrder - the order by of the query
        Returns:
        a query