Class UpdateTaskStateResourceQueueDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.alertgru.business.UpdateTaskStateResourceQueueDAO
-
- All Implemented Interfaces:
IUpdateTaskStateResourceQueueDAO
public final class UpdateTaskStateResourceQueueDAO extends java.lang.Object implements IUpdateTaskStateResourceQueueDAO
This class provides Data Access methods for UpdateTaskStateResourceQueue objects
-
-
Constructor Summary
Constructors Constructor Description UpdateTaskStateResourceQueueDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByIdTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteByPrimaryKey(int nIdResourceQueue, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteByResource(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteByResourceHistory(int IdResourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(UpdateTaskStateResourceQueue updateTaskStateResourceQueue, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.java.util.Optional<UpdateTaskStateResourceQueue>load(int nIdResource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.Optional<UpdateTaskStateResourceQueue>load(int nIdResource, int nIdTask, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the table by resourcejava.util.Optional<UpdateTaskStateResourceQueue>load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.Optional<UpdateTaskStateResourceQueue>load(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the table by resourcejava.util.List<UpdateTaskStateResourceQueue>selectAllActived(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the updateTaskStateResourceQueue objects and returns them as a collectionjava.util.List<UpdateTaskStateResourceQueue>selectAllDisabled(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the updateTaskStateResourceQueue objects and returns them as a collectionjava.util.List<java.lang.Integer>selectAllIdQueueActived(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the updateTaskStateResourceQueue and returns them as a collectionjava.util.List<UpdateTaskStateResourceQueue>selectByPrimaryKeyList(java.util.List<java.lang.Integer> listIdResourceQueues, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablevoidstore(UpdateTaskStateResourceQueue updateTaskStateResourceQueue, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(UpdateTaskStateResourceQueue updateTaskStateResourceQueue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
updateTaskStateResourceQueue- instance of the updateTaskStateResourceQueue object to inssertplugin- The plugin
-
load
public java.util.Optional<UpdateTaskStateResourceQueue> load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
nId- The identifier of the updateTaskStateResourceQueueplugin- 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:
deleteByPrimaryKeyin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
nIdResourceQueue- int identifier of the UpdateTaskStateResourceQueue to deleteplugin- The plugin
-
deleteByResourceHistory
public void deleteByResourceHistory(int IdResourceHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deleteByResourceHistoryin interfaceIUpdateTaskStateResourceQueueDAOplugin- The plugin
-
deleteByResource
public void deleteByResource(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IUpdateTaskStateResourceQueueDAODelete a record from the table- Specified by:
deleteByResourcein interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
nIdResource- The nIdResource of the updateTaskStateResourceQueuestrResourceType- The resource type of the updateTaskStateResourceQueueplugin- the plugin
-
deleteByIdTask
public void deleteByIdTask(int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deleteByIdTaskin interfaceIUpdateTaskStateResourceQueueDAOplugin- The plugin
-
store
public void store(UpdateTaskStateResourceQueue updateTaskStateResourceQueue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
updateTaskStateResourceQueue- the reference of the updateTaskStateResourceQueueplugin- The plugin
-
selectAllActived
public java.util.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:
selectAllActivedin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
plugin- The plugin- Returns:
- the List which contains the data of all the updateTaskStateResourceQueue objects
-
selectByPrimaryKeyList
public java.util.List<UpdateTaskStateResourceQueue> selectByPrimaryKeyList(java.util.List<java.lang.Integer> listIdResourceQueues, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
selectByPrimaryKeyListin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
listIdResourceQueues- The identifier list of the updateTaskStateResourceQueueplugin- The plugin- Returns:
- The instance list of the updateTaskStateResourceQueue
-
selectAllDisabled
public java.util.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:
selectAllDisabledin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
plugin- The plugin- Returns:
- the List which contains the data of all the updateTaskStateResourceQueue objects
-
selectAllIdQueueActived
public java.util.List<java.lang.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:
selectAllIdQueueActivedin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
plugin- The plugin- Returns:
- the List which contains the id of all the updateTaskStateResourceQueue objects
-
load
public java.util.Optional<UpdateTaskStateResourceQueue> load(int nIdResource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
nIdResource- The nIdResource of the updateTaskStateResourceQueuenIdTask- The nIdTask of the updateTaskStateResourceQueueplugin- The plugin- Returns:
- The instance of the updateTaskStateResourceQueue
-
load
public java.util.Optional<UpdateTaskStateResourceQueue> load(int nIdResource, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table by resource- Specified by:
loadin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
nIdResource- The nIdResource of the updateTaskStateResourceQueuestrResourceType- The resource type of the updateTaskStateResourceQueueplugin- the plugin- Returns:
- The instance of the updateTaskStateResourceQueue
-
load
public java.util.Optional<UpdateTaskStateResourceQueue> load(int nIdResource, int nIdTask, java.lang.String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table by resource- Specified by:
loadin interfaceIUpdateTaskStateResourceQueueDAO- 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
-
-