Interface ITemporaryStatusDAO


  • public interface ITemporaryStatusDAO
    ITemporaryStatusDAO Interface
    • Method Detail

      • insert

        void insert​(TemporaryStatus status)
        Insert a new record in the table.
        Parameters:
        status - instance of the Status object to insert
        plugin - the Plugin
      • store

        void store​(TemporaryStatus status)
        Update the record in the table
        Parameters:
        status - the reference of the Status
        plugin - the Plugin
      • delete

        void delete​(int nKey)
        Delete a record from the table
        Parameters:
        nKey - The identifier of the Status to delete
        plugin - the Plugin
      • load

        Optional<TemporaryStatus> load​(int nKey)
        Load the data from the table
        Parameters:
        nKey - The identifier of the status
        plugin - the Plugin
        Returns:
        The instance of the status
      • loadByStatusId

        Optional<TemporaryStatus> loadByStatusId​(int nStatusId)
        Load the data from the table
        Parameters:
        nStatusId -
        plugin - the Plugin
        Returns:
        The instance of the status
      • selectStatusList

        List<TemporaryStatus> selectStatusList()
        Load the data of all the status objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the status objects
      • selectIdStatusList

        List<Integer> selectIdStatusList()
        Load the id of all the status objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the status objects
      • selectStatusListByIds

        List<TemporaryStatus> selectStatusListByIds​(List<Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        plugin - the Plugin
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects
      • loadByStatus

        Optional<TemporaryStatus> loadByStatus​(String strStatus)
        Load the data from the table using a like '%strStatus%'
        Parameters:
        strStatus -
        plugin - the Plugin
        Returns:
        Only the first status found returned