Class ArchiveResourceDao
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.archive.business.ArchiveResourceDao
-
- All Implemented Interfaces:
IArchiveResourceDao
public class ArchiveResourceDao extends java.lang.Object implements IArchiveResourceDao
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_NAME
-
Constructor Summary
Constructors Constructor Description ArchiveResourceDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nIdResource, int nIdTask)Delete the ArchiveResource Objectvoidinsert(ArchiveResource archiveResource)Insert a new record in the table.ArchiveResourceload(int nIdResource, int nIdTask)Load theArchiveResourceObjectvoidstore(ArchiveResource archiveResource)Update a record in the table.
-
-
-
Field Detail
-
BEAN_NAME
public static final java.lang.String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
insert
public void insert(ArchiveResource archiveResource)
Description copied from interface:IArchiveResourceDaoInsert a new record in the table.- Specified by:
insertin interfaceIArchiveResourceDao- Parameters:
archiveResource- instance of the ArchiveResource object to insert
-
load
public ArchiveResource load(int nIdResource, int nIdTask)
Description copied from interface:IArchiveResourceDaoLoad theArchiveResourceObject- Specified by:
loadin interfaceIArchiveResourceDao- Parameters:
nIdResource- the resource idnIdTask- the task id- Returns:
- the ArchiveResource Object
-
store
public void store(ArchiveResource archiveResource)
Description copied from interface:IArchiveResourceDaoUpdate a record in the table.- Specified by:
storein interfaceIArchiveResourceDao- Parameters:
archiveResource- instance of the ArchiveResource object to update
-
delete
public void delete(int nIdResource, int nIdTask)Description copied from interface:IArchiveResourceDaoDelete the ArchiveResource Object- Specified by:
deletein interfaceIArchiveResourceDao- Parameters:
nIdResource- the resource idnIdTask- the task id
-
-