Interface IUpdateTaskStateResourceQueueDAO

  • All Known Implementing Classes:
    UpdateTaskStateResourceQueueDAO

    public interface IUpdateTaskStateResourceQueueDAO
    IUpdateTaskStateResourceQueueDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByIdTask​(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteByPrimaryKey​(int nIdResourceQueues, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteByResource​(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteByResourceHistory​(int nIdResourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(UpdateTaskStateResourceQueue updateTaskStateResourceQueue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      java.util.Optional<UpdateTaskStateResourceQueue> load​(int nIdResource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<UpdateTaskStateResourceQueue> load​(int nIdResource, int nIdTask, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table by resource
      java.util.Optional<UpdateTaskStateResourceQueue> load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.Optional<UpdateTaskStateResourceQueue> load​(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table by resource
      java.util.List<UpdateTaskStateResourceQueue> selectAllActived​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the updateTaskStateResourceQueue objects and returns them as a collection
      java.util.List<UpdateTaskStateResourceQueue> selectAllDisabled​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the updateTaskStateResourceQueue objects and returns them as a collection
      java.util.List<java.lang.Integer> selectAllIdQueueActived​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the updateTaskStateResourceQueue and returns them as a collection
      java.util.List<UpdateTaskStateResourceQueue> selectByPrimaryKeyList​(java.util.List<java.lang.Integer> listIdResourceQueues, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      void store​(UpdateTaskStateResourceQueue updateTaskStateResourceQueue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

        void insert​(UpdateTaskStateResourceQueue updateTaskStateResourceQueue,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        updateTaskStateResourceQueue - instance of the updateTaskStateResourceQueue object to inssert
        plugin - The plugin
      • store

        void store​(UpdateTaskStateResourceQueue updateTaskStateResourceQueue,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        updateTaskStateResourceQueue - the reference of the updateTaskStateResourceQueue
        plugin - The plugin
      • deleteByPrimaryKey

        void deleteByPrimaryKey​(int nIdResourceQueues,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdResourceQueues - int identifier of the UpdateTaskStateResourceQueue to delete
        plugin - The plugin
      • deleteByIdTask

        void deleteByIdTask​(int nIdTask,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdUpdateTaskStateResourceQueue - int identifier of the UpdateTaskStateResourceQueue to delete
        plugin - The plugin
      • deleteByResourceHistory

        void deleteByResourceHistory​(int nIdResourceHistory,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        IdResourceHistory - the resource history id of the resource workflow
        plugin - The plugin
      • deleteByResource

        void deleteByResource​(int nIdResource,
                              java.lang.String strResourceType,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdResource - The nIdResource of the updateTaskStateResourceQueue
        strResourceType - The resource type of the updateTaskStateResourceQueue
        plugin - the plugin
      • load

        java.util.Optional<UpdateTaskStateResourceQueue> load​(int nKey,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the updateTaskStateResourceQueue
        plugin - The plugin
        Returns:
        The instance of the updateTaskStateResourceQueue
      • load

        java.util.Optional<UpdateTaskStateResourceQueue> load​(int nIdResource,
                                                              int nIdTask,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nIdResource - The nIdResource of the updateTaskStateResourceQueue
        nIdTask - The nIdTask of the updateTaskStateResourceQueue
        plugin - The plugin
        Returns:
        The instance of the updateTaskStateResourceQueue
      • load

        java.util.Optional<UpdateTaskStateResourceQueue> load​(int nIdResource,
                                                              java.lang.String strResourceType,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table by resource
        Parameters:
        nIdResource - The nIdResource of the updateTaskStateResourceQueue
        strResourceType - The resource type of the updateTaskStateResourceQueue
        plugin - the plugin
        Returns:
        The instance of the updateTaskStateResourceQueue
      • load

        java.util.Optional<UpdateTaskStateResourceQueue> load​(int nIdResource,
                                                              int nIdTask,
                                                              java.lang.String strResourceType,
                                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table by resource
        Parameters:
        nIdResource - The nIdResource of the updateTaskStateResourceQueue
        nIdTask - The nIdTask of the updateTaskStateResourceQueue
        strResourceType - The resource type of the updateTaskStateResourceQueue
        plugin - the plugin
        Returns:
        The instance of the updateTaskStateResourceQueue
      • selectAllActived

        java.util.List<UpdateTaskStateResourceQueue> selectAllActived​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the updateTaskStateResourceQueue objects and returns them as a collection
        Parameters:
        plugin - The plugin
        Returns:
        the List which contains the data of all the updateTaskStateResourceQueue objects
      • selectAllDisabled

        java.util.List<UpdateTaskStateResourceQueue> selectAllDisabled​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the updateTaskStateResourceQueue objects and returns them as a collection
        Parameters:
        plugin - The plugin
        Returns:
        the List which contains the data of all the updateTaskStateResourceQueue objects
      • selectAllIdQueueActived

        java.util.List<java.lang.Integer> selectAllIdQueueActived​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the updateTaskStateResourceQueue and returns them as a collection
        Parameters:
        plugin - The plugin
        Returns:
        the List which contains the id of all the updateTaskStateResourceQueue objects
      • selectByPrimaryKeyList

        java.util.List<UpdateTaskStateResourceQueue> selectByPrimaryKeyList​(java.util.List<java.lang.Integer> listIdResourceQueues,
                                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        listIdResourceQueues - The identifier list of the updateTaskStateResourceQueue
        plugin - The plugin
        Returns:
        The instance list of the updateTaskStateResourceQueue