Class UpdateTaskStateResourceQueueHome


  • public class UpdateTaskStateResourceQueueHome
    extends java.lang.Object
    UpdateTaskStateResourceQueueService
    • Method Detail

      • findAllActived

        public static java.util.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 java.util.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 java.util.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,
                                            java.lang.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 java.util.List<java.lang.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 java.util.List<UpdateTaskStateResourceQueue> findByPrimaryKeyList​(java.util.List<java.lang.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 java.util.Optional<UpdateTaskStateResourceQueue> find​(int nIdResource,
                                                                            java.lang.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 java.util.Optional<UpdateTaskStateResourceQueue> find​(int nIdResource,
                                                                            int nIdTask,
                                                                            java.lang.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