Class ArchiveResourceDao
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.archive.business.ArchiveResourceDao
- All Implemented Interfaces:
IArchiveResourceDao
@ApplicationScoped
@Named("workflow.archiveResourceDao")
public class ArchiveResourceDao
extends Object
implements IArchiveResourceDao
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdResource, int nIdTask) Delete the ArchiveResource Objectvoidinsert(ArchiveResource archiveResource) Insert a new record in the table.load(int nIdResource, int nIdTask) Load theArchiveResourceObjectvoidstore(ArchiveResource archiveResource) Update a record in the table.
-
Field Details
-
BEAN_NAME
- See Also:
-
-
Constructor Details
-
ArchiveResourceDao
public ArchiveResourceDao()
-
-
Method Details
-
insert
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
Description copied from interface:IArchiveResourceDaoLoad theArchiveResourceObject- Specified by:
loadin interfaceIArchiveResourceDao- Parameters:
nIdResource- the resource idnIdTask- the task id- Returns:
- the ArchiveResource Object
-
store
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
-