Class UpdateTaskStateResourceQueueHome
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.alertgru.business.UpdateTaskStateResourceQueueHome
UpdateTaskStateResourceQueueService
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreate(UpdateTaskStateResourceQueue updateResourceQueue) static Optional<UpdateTaskStateResourceQueue>find(int nIdResourceHistory, int nIdTask) Load the data from the tablestatic Optional<UpdateTaskStateResourceQueue>find instance of the updateTaskStateResourceQueue by resourcestatic Optional<UpdateTaskStateResourceQueue>find instance of the updateTaskStateResourceQueue by resourcestatic List<UpdateTaskStateResourceQueue>Load the data of all the updateTaskStateResourceQueue objects and returns them as a collectionstatic List<UpdateTaskStateResourceQueue>Load the data of all the updateTaskStateResourceQueue objects and returns them as a collectionLoad the id of all the updateTaskStateResourceQueue and returns them as a collectionstatic List<UpdateTaskStateResourceQueue>findByPrimaryKeyList(List<Integer> listIdResourceQueues) Load the data from the tablestatic voidremoveByIdTask(int nIdTask) Delete a record from the tablestatic voidremoveByPrimaryKey(int nIdResourceQueues) static voidremoveByResource(int nIdResource, String strResourceType) Remove a record from the tablestatic voidremoveByResourceHistory(int nIdResourceHistory) Remove a record from the tablestatic voidupdate(UpdateTaskStateResourceQueue updateResourceQueue)
-
Method Details
-
create
-
update
-
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
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
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
Remove a record from the table- Parameters:
nIdResource- The nIdResource of the updateTaskStateResourceQueuestrResourceType- The resource type of the updateTaskStateResourceQueueplugin- the plugin
-
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
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 Optional<UpdateTaskStateResourceQueue> find(int nIdResource, int nIdTask, 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
-