Class UpdateTaskStateResourceQueueDAO

java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.business.UpdateTaskStateResourceQueueDAO
All Implemented Interfaces:
IUpdateTaskStateResourceQueueDAO

public final class UpdateTaskStateResourceQueueDAO extends Object implements IUpdateTaskStateResourceQueueDAO
This class provides Data Access methods for UpdateTaskStateResourceQueue objects
  • Constructor Details

    • UpdateTaskStateResourceQueueDAO

      public UpdateTaskStateResourceQueueDAO()
  • Method Details

    • 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 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, 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 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 List<UpdateTaskStateResourceQueue> selectByPrimaryKeyList(List<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 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 List<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 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 Optional<UpdateTaskStateResourceQueue> load(int nIdResource, 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 Optional<UpdateTaskStateResourceQueue> load(int nIdResource, int nIdTask, 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