Class UpdateTaskStateResourceQueueHome
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.alertgru.business.UpdateTaskStateResourceQueueHome
-
public class UpdateTaskStateResourceQueueHome extends java.lang.ObjectUpdateTaskStateResourceQueueService
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreate(UpdateTaskStateResourceQueue updateResourceQueue)static java.util.Optional<UpdateTaskStateResourceQueue>find(int nIdResourceHistory, int nIdTask)Load the data from the tablestatic java.util.Optional<UpdateTaskStateResourceQueue>find(int nIdResource, int nIdTask, java.lang.String strResourceType)find instance of the updateTaskStateResourceQueue by resourcestatic java.util.Optional<UpdateTaskStateResourceQueue>find(int nIdResource, java.lang.String strResourceType)find instance of the updateTaskStateResourceQueue by resourcestatic java.util.List<UpdateTaskStateResourceQueue>findAllActived()Load the data of all the updateTaskStateResourceQueue objects and returns them as a collectionstatic java.util.List<UpdateTaskStateResourceQueue>findAllDisabled()Load the data of all the updateTaskStateResourceQueue objects and returns them as a collectionstatic java.util.List<java.lang.Integer>findAllIdQueueActived()Load the id of all the updateTaskStateResourceQueue and returns them as a collectionstatic java.util.List<UpdateTaskStateResourceQueue>findByPrimaryKeyList(java.util.List<java.lang.Integer> listIdResourceQueues)Load the data from the tablestatic voidremoveByIdTask(int nIdTask)Delete a record from the tablestatic voidremoveByPrimaryKey(int nIdResourceQueues)static voidremoveByResource(int nIdResource, java.lang.String strResourceType)Remove a record from the tablestatic voidremoveByResourceHistory(int nIdResourceHistory)Remove a record from the tablestatic voidupdate(UpdateTaskStateResourceQueue updateResourceQueue)
-
-
-
Method Detail
-
create
public static void create(UpdateTaskStateResourceQueue updateResourceQueue)
-
update
public static void update(UpdateTaskStateResourceQueue updateResourceQueue)
-
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 updateTaskStateResourceQueuenIdTask- 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 workflowplugin- 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 updateTaskStateResourceQueuestrResourceType- The resource type of the updateTaskStateResourceQueueplugin- 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 updateTaskStateResourceQueuestrResourceType- The resource type of the updateTaskStateResourceQueueplugin- 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 updateTaskStateResourceQueuenIdTask- The nIdTask of the updateTaskStateResourceQueuestrResourceType- The resource type of the updateTaskStateResourceQueueplugin- the plugin- Returns:
- The instance of the updateTaskStateResourceQueue
-
-