Class IndexerActionDAO
java.lang.Object
fr.paris.lutece.plugins.elasticdata.business.IndexerActionDAO
- All Implemented Interfaces:
IIndexerActionDAO
This class provides Data Access methods for IndexerAction objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByIdResourceList(List<String> listIdResource, String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete the records from the table by resource identifiersvoidinsert(IndexerAction indexerAction, 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 tableloadByIdResource(String strIdResource, String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectIdIndexerActionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the indexerAction objects and returns them as a listselectIdResourceIndexerActionsList(String strIdDataSource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the IdResource of all the indexerAction objects and returns them as a listselectIndexerActionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the indexerAction objects and returns them as a listselectIndexerActionsList(String strIdDataSource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the indexerAction objects and returns them as a listselectIndexerActionsList(String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the indexerAction objects and returns them as a listselectIndexerActionsListByIds(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.ReferenceListselectIndexerActionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the indexerAction objects and returns them as a referenceListvoidstore(IndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
IndexerActionDAO
public IndexerActionDAO()
-
-
Method Details
-
insert
public void insert(IndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIIndexerActionDAO- Parameters:
indexerAction- instance of the IndexerAction object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIIndexerActionDAO- Parameters:
nKey- The identifier of the indexerActionplugin- the Plugin- Returns:
- The instance of the indexerAction
-
loadByIdResource
public IndexerAction loadByIdResource(String strIdResource, String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Specified by:
loadByIdResourcein interfaceIIndexerActionDAO- Parameters:
strIdResource- The identifier of the resourcestrIdDataSource- the identifier of the DataSourceplugin- the Plugin- Returns:
- The instance of the indexerAction
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIIndexerActionDAO- Parameters:
nKey- The identifier of the IndexerAction to deleteplugin- the Plugin
-
deleteByIdResourceList
public void deleteByIdResourceList(List<String> listIdResource, String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete the records from the table by resource identifiers- Specified by:
deleteByIdResourceListin interfaceIIndexerActionDAO- Parameters:
listIdResource- The list of resource identifiersstrIdDataSource- The id of datasourceplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceIIndexerActionDAO- Parameters:
indexerAction- the reference of the IndexerActionplugin- the Plugin
-
selectIndexerActionsList
public List<IndexerAction> selectIndexerActionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the indexerAction objects and returns them as a list- Specified by:
selectIndexerActionsListin interfaceIIndexerActionDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the indexerAction objects
-
selectIndexerActionsList
public List<IndexerAction> selectIndexerActionsList(String strIdDataSource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the indexerAction objects and returns them as a list- Specified by:
selectIndexerActionsListin interfaceIIndexerActionDAO- Parameters:
strIdDataSource- the identifier of data sourceplugin- the Plugin- Returns:
- The list which contains the data of all the indexerAction objects
-
selectIndexerActionsList
public List<IndexerAction> selectIndexerActionsList(String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the indexerAction objects and returns them as a list- Specified by:
selectIndexerActionsListin interfaceIIndexerActionDAO- Parameters:
strIdDataSource- the identifier of data sourceplugin- the Plugin- Returns:
- The list which contains the data of all the indexerAction objects
-
selectIdResourceIndexerActionsList
public List<String> selectIdResourceIndexerActionsList(String strIdDataSource, int nIdTask, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the IdResource of all the indexerAction objects and returns them as a list- Specified by:
selectIdResourceIndexerActionsListin interfaceIIndexerActionDAOplugin- the Plugin- Returns:
- The list which contains the IdResource of all the indexerAction objects
-
selectIdIndexerActionsList
public List<Integer> selectIdIndexerActionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the indexerAction objects and returns them as a list- Specified by:
selectIdIndexerActionsListin interfaceIIndexerActionDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the indexerAction objects
-
selectIndexerActionsReferenceList
public fr.paris.lutece.util.ReferenceList selectIndexerActionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the indexerAction objects and returns them as a referenceList- Specified by:
selectIndexerActionsReferenceListin interfaceIIndexerActionDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the indexerAction objects
-
selectIndexerActionsListByIds
public List<IndexerAction> selectIndexerActionsListByIds(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:
selectIndexerActionsListByIdsin interfaceIIndexerActionDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-