Class ExtractStoreDAO
java.lang.Object
fr.paris.lutece.plugins.identityexport.business.ExtractStoreDAO
- All Implemented Interfaces:
IExtractStoreDAO
This class provides Data Access methods for ExtractDaemon objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(ExportRequest extractDaemon, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectExtractDaemonsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the extractDaemon objects and returns them as a listselectExtractDaemonsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectExtractDaemonsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the extractDaemon objects and returns them as a referenceListselectIdExtractDaemonsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the extractDaemon objects and returns them as a listvoidstore(ExportRequest extractDaemon, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
ExtractStoreDAO
public ExtractStoreDAO()
-
-
Method Details
-
insert
public void insert(ExportRequest extractDaemon, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIExtractStoreDAO- Parameters:
extractDaemon- instance of the ExtractDaemon object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIExtractStoreDAO- Parameters:
nKey- The identifier of the extractDaemonplugin- the Plugin- Returns:
- The instance of the extractDaemon
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIExtractStoreDAO- Parameters:
nKey- The identifier of the ExtractDaemon to deleteplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceIExtractStoreDAO- Parameters:
extractDaemon- the reference of the ExtractDaemonplugin- the Plugin
-
selectExtractDaemonsList
public List<ExportRequest> selectExtractDaemonsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the extractDaemon objects and returns them as a list- Specified by:
selectExtractDaemonsListin interfaceIExtractStoreDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the extractDaemon objects
-
selectIdExtractDaemonsList
public List<Integer> selectIdExtractDaemonsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the extractDaemon objects and returns them as a list- Specified by:
selectIdExtractDaemonsListin interfaceIExtractStoreDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the extractDaemon objects
-
selectExtractDaemonsReferenceList
public fr.paris.lutece.util.ReferenceList selectExtractDaemonsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the extractDaemon objects and returns them as a referenceList- Specified by:
selectExtractDaemonsReferenceListin interfaceIExtractStoreDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the extractDaemon objects
-
selectExtractDaemonsListByIds
public List<ExportRequest> selectExtractDaemonsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a list- Specified by:
selectExtractDaemonsListByIdsin interfaceIExtractStoreDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-