Interface IIndexerActionDAO
- All Known Implementing Classes:
IndexerActionDAO
public interface IIndexerActionDAO
IIndexerActionDAO Interface
-
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.booleaninsertIfAbsent(IndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table unless an action is already queued for the same resource and data source (unique key of the table), for example inserted at the same time by another thread or another instance.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
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
indexerAction- instance of the IndexerAction object to insertplugin- the Plugin
-
insertIfAbsent
boolean insertIfAbsent(IndexerAction indexerAction, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table unless an action is already queued for the same resource and data source (unique key of the table), for example inserted at the same time by another thread or another instance.- Parameters:
indexerAction- instance of the IndexerAction object to insertplugin- the Plugin- Returns:
- true if the record was inserted, false if an action was already queued for the resource and data source
-
store
Update the record in the table- Parameters:
indexerAction- the reference of the IndexerActionplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the IndexerAction to deleteplugin- the Plugin
-
deleteByIdResourceList
void deleteByIdResourceList(List<String> listIdResource, String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete the records from the table by resource identifiers- Parameters:
listIdResource- The list of resource identifiersstrIdDataSource- The id of datasourceplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the indexerActionplugin- the Plugin- Returns:
- The instance of the indexerAction
-
loadByIdResource
IndexerAction loadByIdResource(String strIdResource, String strIdDataSource, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Parameters:
strIdResource- The identifier of the resourcestrIdDataSource- the identifier of the DataSourceplugin- the Plugin- Returns:
- The instance of the indexerAction
-
selectIndexerActionsList
Load the data of all the indexerAction objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the indexerAction objects
-
selectIndexerActionsList
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- Parameters:
strIdDataSource- the identifier of data sourceplugin- the Plugin- Returns:
- The list which contains the data of all the indexerAction objects
-
selectIndexerActionsList
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- Parameters:
strIdDataSource- the identifier of data sourcenIdTask- the identifier of taskplugin- the Plugin- Returns:
- The list which contains the data of all the indexerAction objects
-
selectIdIndexerActionsList
Load the id of all the indexerAction objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the indexerAction objects
-
selectIdResourceIndexerActionsList
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- Parameters:
plugin- the Plugin- Returns:
- The list which contains the IdResource of all the indexerAction objects
-
selectIndexerActionsReferenceList
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- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the indexerAction objects
-
selectIndexerActionsListByIds
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- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-