Class IndexerActionHome
java.lang.Object
fr.paris.lutece.plugins.elasticdata.business.IndexerActionHome
This class provides instances management methods (create, find, ...) for IndexerAction objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic IndexerActioncreate(IndexerAction indexerAction) Create an instance of the indexerAction classstatic IndexerActionfindByIdResource(String strIdResource, String strIdDataSource) Returns an instance of a indexerAction whose resource identifier is specified in parameterstatic Optional<IndexerAction>findByPrimaryKey(int nKey) Returns an instance of a indexerAction whose identifier is specified in parameterLoad the id of all the indexerAction objects and returns them as a listgetIdResourceIndexerActionsList(String strIdDataSource, int nIdTask) Load the id of all the indexerAction objects and returns them as a liststatic List<IndexerAction>Load the data of all the indexerAction objects and returns them as a liststatic List<IndexerAction>getIndexerActionsList(String strIdDataSource) Load the data of all the datasource indexerAction objects and returns them as a liststatic List<IndexerAction>getIndexerActionsList(String strIdDataSource, int nIdTask) Load the data of all the indexerAction objects and returns them as a liststatic List<IndexerAction>getIndexerActionsListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the indexerAction objects and returns them as a referenceListstatic voidremove(int nKey) Remove the indexerAction whose identifier is specified in parameterstatic voidremoveByIdResourceList(List<String> listIdResource, String strIdDataSource) Remove the indexerActions of resource identifiersstatic IndexerActionupdate(IndexerAction indexerAction) Update of the indexerAction which is specified in parameter
-
Method Details
-
create
Create an instance of the indexerAction class- Parameters:
indexerAction- The instance of the IndexerAction which contains the informations to store- Returns:
- The instance of indexerAction which has been created with its primary key.
-
update
Update of the indexerAction which is specified in parameter- Parameters:
indexerAction- The instance of the IndexerAction which contains the data to store- Returns:
- The instance of the indexerAction which has been updated
-
remove
public static void remove(int nKey) Remove the indexerAction whose identifier is specified in parameter- Parameters:
nKey- The indexerAction Id
-
removeByIdResourceList
Remove the indexerActions of resource identifiers- Parameters:
listIdResource- The list of resource identifiersstrIdDataSource- The id of the dataSource
-
findByPrimaryKey
Returns an instance of a indexerAction whose identifier is specified in parameter- Parameters:
nKey- The indexerAction primary key- Returns:
- an instance of IndexerAction
-
findByIdResource
Returns an instance of a indexerAction whose resource identifier is specified in parameter- Parameters:
nKey- The indexerAction primary key- Returns:
- an instance of IndexerAction
-
getIndexerActionsList
Load the data of all the indexerAction objects and returns them as a list- Returns:
- the list which contains the data of all the indexerAction objects
-
getIndexerActionsList
Load the data of all the indexerAction objects and returns them as a list- Returns:
- the list which contains the data of all the indexerAction objects
-
getIndexerActionsList
Load the data of all the datasource indexerAction objects and returns them as a list- Returns:
- the list which contains the data of all the indexerAction objects
-
getIdIndexerActionsList
Load the id of all the indexerAction objects and returns them as a list- Returns:
- the list which contains the id of all the indexerAction objects
-
getIdResourceIndexerActionsList
Load the id of all the indexerAction objects and returns them as a list- Returns:
- the list which contains the id of all the indexerAction objects
-
getIndexerActionsReferenceList
public static fr.paris.lutece.util.ReferenceList getIndexerActionsReferenceList()Load the data of all the indexerAction objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the indexerAction objects
-
getIndexerActionsListByIds
Load the data of all the avant objects and returns them as a list- Parameters:
listIds- liste of ids- Returns:
- the list which contains the data of all the avant objects
-