Class UpdateTaskStateResourceQueueDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.extendrating.business.UpdateTaskStateResourceQueueDAO
-
- All Implemented Interfaces:
IUpdateTaskStateResourceQueueDAO
public final class UpdateTaskStateResourceQueueDAO extends 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 voiddelete(int nIdResource, int nIdTask)Delete a record from the tablevoiddelete(int nIdResource, String strResourceType)Delete a record from the tablevoiddeleteByIdTask(int nIdTask)Delete a record from the tableUpdateTaskStateResourceQueuefind(int nIdResource, int nIdTask)Load the data from the tableUpdateTaskStateResourceQueuefind(int nIdResource, String strResourceType)Load the data from the tablevoidinsert(UpdateTaskStateResourceQueue updateTaskStateResourceQueue)Insert a new record in the table.UpdateTaskStateResourceQueueload(int nId)Load the data from the tableList<UpdateTaskStateResourceQueue>selectAllActived()Load the data of all the updateTaskStateResourceQueue objects and returns them as a collectionList<UpdateTaskStateResourceQueue>selectAllDisabled()Load the data of all the updateTaskStateResourceQueue objects and returns them as a collectionvoidstore(UpdateTaskStateResourceQueue updateTaskStateResourceQueue)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(UpdateTaskStateResourceQueue updateTaskStateResourceQueue)
Insert a new record in the table.- Specified by:
insertin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
updateTaskStateResourceQueue- instance of the updateTaskStateResourceQueue object to inssert
-
load
public UpdateTaskStateResourceQueue load(int nId)
Load the data from the table- Specified by:
loadin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
nId- The identifier of the updateTaskStateResourceQueue- Returns:
- The instance of the updateTaskStateResourceQueue
-
delete
public void delete(int nIdResource, int nIdTask)Delete a record from the table- Specified by:
deletein interfaceIUpdateTaskStateResourceQueueDAO
-
deleteByIdTask
public void deleteByIdTask(int nIdTask)
Description copied from interface:IUpdateTaskStateResourceQueueDAODelete a record from the table- Specified by:
deleteByIdTaskin interfaceIUpdateTaskStateResourceQueueDAO
-
store
public void store(UpdateTaskStateResourceQueue updateTaskStateResourceQueue)
Update the record in the table- Specified by:
storein interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
updateTaskStateResourceQueue- the reference of the updateTaskStateResourceQueue
-
selectAllActived
public List<UpdateTaskStateResourceQueue> selectAllActived()
Load the data of all the updateTaskStateResourceQueue objects and returns them as a collection- Specified by:
selectAllActivedin interfaceIUpdateTaskStateResourceQueueDAO- Returns:
- the List which contains the data of all the updateTaskStateResourceQueue objects
-
selectAllDisabled
public List<UpdateTaskStateResourceQueue> selectAllDisabled()
Load the data of all the updateTaskStateResourceQueue objects and returns them as a collection- Specified by:
selectAllDisabledin interfaceIUpdateTaskStateResourceQueueDAO- Returns:
- the List which contains the data of all the updateTaskStateResourceQueue objects
-
find
public UpdateTaskStateResourceQueue find(int nIdResource, int nIdTask)
Load the data from the table- Specified by:
findin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
nIdResource- The nIdResourceHistory of the updateTaskStateResourceQueuenIdTask- The nIdTask of the updateTaskStateResourceQueue- Returns:
- The instance of the updateTaskStateResourceQueue
-
delete
public void delete(int nIdResource, String strResourceType)Description copied from interface:IUpdateTaskStateResourceQueueDAODelete a record from the table- Specified by:
deletein interfaceIUpdateTaskStateResourceQueueDAO
-
find
public UpdateTaskStateResourceQueue find(int nIdResource, String strResourceType)
Description copied from interface:IUpdateTaskStateResourceQueueDAOLoad the data from the table- Specified by:
findin interfaceIUpdateTaskStateResourceQueueDAO- Parameters:
nIdResource- The nIdResource of the updateTaskStateResourceQueuestrResourceType- The strResourceType of the updateTaskStateResourceQueue- Returns:
- The instance of the updateTaskStateResourceQueue
-
-