Class UpdateTaskStateResourceQueueHome

java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.business.UpdateTaskStateResourceQueueHome

public class UpdateTaskStateResourceQueueHome extends Object
UpdateTaskStateResourceQueueService
  • Method Details

    • create

      public static void create(UpdateTaskStateResourceQueue updateResourceQueue)
    • update

      public static void update(UpdateTaskStateResourceQueue updateResourceQueue)
    • findAllActived

      public static List<UpdateTaskStateResourceQueue> findAllActived()
      Load the data of all the updateTaskStateResourceQueue objects and returns them as a collection
      Returns:
      the List which contains the data of all the updateTaskStateResourceQueue objects
    • findAllDisabled

      public static List<UpdateTaskStateResourceQueue> findAllDisabled()
      Load the data of all the updateTaskStateResourceQueue objects and returns them as a collection
      Returns:
      the List which contains the data of all the updateTaskStateResourceQueue objects
    • find

      public static Optional<UpdateTaskStateResourceQueue> find(int nIdResourceHistory, int nIdTask)
      Load the data from the table
      Parameters:
      nIdResourceHistory - The nIdResourceHistory of the updateTaskStateResourceQueue
      nIdTask - The nIdTask of the updateTaskStateResourceQueue
      Returns:
      The instance of the updateTaskStateResourceQueue
    • removeByPrimaryKey

      public static void removeByPrimaryKey(int nIdResourceQueues)
    • removeByIdTask

      public static void removeByIdTask(int nIdTask)
      Delete a record from the table
      Parameters:
      nIdUpdateTaskStateResourceQueue -
    • removeByResourceHistory

      public static void removeByResourceHistory(int nIdResourceHistory)
      Remove a record from the table
      Parameters:
      IdResourceHistory - the resource history id of the resource workflow
      plugin - The plugin
    • removeByResource

      public static void removeByResource(int nIdResource, String strResourceType)
      Remove a record from the table
      Parameters:
      nIdResource - The nIdResource of the updateTaskStateResourceQueue
      strResourceType - The resource type of the updateTaskStateResourceQueue
      plugin - the plugin
    • findAllIdQueueActived

      public static List<Integer> findAllIdQueueActived()
      Load the id of all the updateTaskStateResourceQueue and returns them as a collection
      Returns:
      the List which contains the id of all the updateTaskStateResourceQueue objects
    • findByPrimaryKeyList

      public static List<UpdateTaskStateResourceQueue> findByPrimaryKeyList(List<Integer> listIdResourceQueues)
      Load the data from the table
      Parameters:
      listIdResourceQueues - The identifier list of the updateTaskStateResourceQueue
      Returns:
      The instance list of the updateTaskStateResourceQueue
    • find

      public static Optional<UpdateTaskStateResourceQueue> find(int nIdResource, String strResourceType)
      find instance of the updateTaskStateResourceQueue 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
    • find

      public static Optional<UpdateTaskStateResourceQueue> find(int nIdResource, int nIdTask, String strResourceType)
      find instance of the updateTaskStateResourceQueue 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