Class IndexerActionHome


  • public final class IndexerActionHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for IndexerAction objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static IndexerAction create​(IndexerAction indexerAction)
      Create an instance of the indexerAction class
      static IndexerAction findByIdResource​(java.lang.String strIdResource, java.lang.String strIdDataSource)
      Returns an instance of a indexerAction whose resource identifier is specified in parameter
      static java.util.Optional<IndexerAction> findByPrimaryKey​(int nKey)
      Returns an instance of a indexerAction whose identifier is specified in parameter
      static java.util.List<java.lang.Integer> getIdIndexerActionsList()
      Load the id of all the indexerAction objects and returns them as a list
      static java.util.List<java.lang.String> getIdResourceIndexerActionsList​(java.lang.String strIdDataSource, int nIdTask)
      Load the id of all the indexerAction objects and returns them as a list
      static java.util.List<IndexerAction> getIndexerActionsList()
      Load the data of all the indexerAction objects and returns them as a list
      static java.util.List<IndexerAction> getIndexerActionsList​(java.lang.String strIdDataSource)
      Load the data of all the datasource indexerAction objects and returns them as a list
      static java.util.List<IndexerAction> getIndexerActionsList​(java.lang.String strIdDataSource, int nIdTask)
      Load the data of all the indexerAction objects and returns them as a list
      static java.util.List<IndexerAction> getIndexerActionsListByIds​(java.util.List<java.lang.Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      static fr.paris.lutece.util.ReferenceList getIndexerActionsReferenceList()
      Load the data of all the indexerAction objects and returns them as a referenceList
      static void remove​(int nKey)
      Remove the indexerAction whose identifier is specified in parameter
      static void removeByIdResourceList​(java.util.List<java.lang.String> listIdResource, java.lang.String strIdDataSource)
      Remove the indexerActions of resource identifiers
      static IndexerAction update​(IndexerAction indexerAction)
      Update of the indexerAction which is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static IndexerAction create​(IndexerAction indexerAction)
        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

        public static IndexerAction update​(IndexerAction indexerAction)
        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

        public static void removeByIdResourceList​(java.util.List<java.lang.String> listIdResource,
                                                  java.lang.String strIdDataSource)
        Remove the indexerActions of resource identifiers
        Parameters:
        listIdResource - The list of resource identifiers
        strIdDataSource - The id of the dataSource
      • findByPrimaryKey

        public static java.util.Optional<IndexerAction> findByPrimaryKey​(int nKey)
        Returns an instance of a indexerAction whose identifier is specified in parameter
        Parameters:
        nKey - The indexerAction primary key
        Returns:
        an instance of IndexerAction
      • findByIdResource

        public static IndexerAction findByIdResource​(java.lang.String strIdResource,
                                                     java.lang.String strIdDataSource)
        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

        public static java.util.List<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

        public static java.util.List<IndexerAction> getIndexerActionsList​(java.lang.String strIdDataSource,
                                                                          int nIdTask)
        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

        public static java.util.List<IndexerAction> getIndexerActionsList​(java.lang.String strIdDataSource)
        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

        public static java.util.List<java.lang.Integer> 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

        public static java.util.List<java.lang.String> getIdResourceIndexerActionsList​(java.lang.String strIdDataSource,
                                                                                       int nIdTask)
        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

        public static java.util.List<IndexerAction> getIndexerActionsListByIds​(java.util.List<java.lang.Integer> listIds)
        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