Class UpdateTaskStateResourceQueueDAO

    • Method Summary

      All Methods Instance Methods Concrete 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 nIdResourceQueue, 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 IdResourceHistory, 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 nId, 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
      • Methods inherited from class java.lang.Object

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

      • UpdateTaskStateResourceQueueDAO

        public UpdateTaskStateResourceQueueDAO()
    • Method Detail

      • insert

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

        public java.util.Optional<UpdateTaskStateResourceQueue> load​(int nId,
                                                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IUpdateTaskStateResourceQueueDAO
        Parameters:
        nId - The identifier of the updateTaskStateResourceQueue
        plugin - The plugin
        Returns:
        The instance of the updateTaskStateResourceQueue
      • deleteByPrimaryKey

        public void deleteByPrimaryKey​(int nIdResourceQueue,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        deleteByPrimaryKey in interface IUpdateTaskStateResourceQueueDAO
        Parameters:
        nIdResourceQueue - int identifier of the UpdateTaskStateResourceQueue to delete
        plugin - The plugin
      • deleteByResourceHistory

        public void deleteByResourceHistory​(int IdResourceHistory,
                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        deleteByResourceHistory in interface IUpdateTaskStateResourceQueueDAO
        plugin - The plugin
      • deleteByResource

        public void deleteByResource​(int nIdResource,
                                     java.lang.String strResourceType,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IUpdateTaskStateResourceQueueDAO
        Delete a record from the table
        Specified by:
        deleteByResource in interface IUpdateTaskStateResourceQueueDAO
        Parameters:
        nIdResource - The nIdResource of the updateTaskStateResourceQueue
        strResourceType - The resource type of the updateTaskStateResourceQueue
        plugin - the plugin
      • deleteByIdTask

        public void deleteByIdTask​(int nIdTask,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        deleteByIdTask in interface IUpdateTaskStateResourceQueueDAO
        plugin - The plugin
      • store

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

        public 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
        Specified by:
        selectAllActived in interface IUpdateTaskStateResourceQueueDAO
        Parameters:
        plugin - The plugin
        Returns:
        the List which contains the data of all the updateTaskStateResourceQueue objects
      • selectByPrimaryKeyList

        public 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
        Specified by:
        selectByPrimaryKeyList in interface IUpdateTaskStateResourceQueueDAO
        Parameters:
        listIdResourceQueues - The identifier list of the updateTaskStateResourceQueue
        plugin - The plugin
        Returns:
        The instance list of the updateTaskStateResourceQueue
      • selectAllDisabled

        public 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
        Specified by:
        selectAllDisabled in interface IUpdateTaskStateResourceQueueDAO
        Parameters:
        plugin - The plugin
        Returns:
        the List which contains the data of all the updateTaskStateResourceQueue objects
      • selectAllIdQueueActived

        public 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
        Specified by:
        selectAllIdQueueActived in interface IUpdateTaskStateResourceQueueDAO
        Parameters:
        plugin - The plugin
        Returns:
        the List which contains the id of all the updateTaskStateResourceQueue objects
      • load

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

        public 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
        Specified by:
        load in interface IUpdateTaskStateResourceQueueDAO
        Parameters:
        nIdResource - The nIdResource of the updateTaskStateResourceQueue
        strResourceType - The resource type of the updateTaskStateResourceQueue
        plugin - the plugin
        Returns:
        The instance of the updateTaskStateResourceQueue
      • load

        public 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
        Specified by:
        load in interface IUpdateTaskStateResourceQueueDAO
        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