Class DataLayerTypeHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DataLayerType create​(DataLayerType dataLayerType)
      Create an instance of the dataLayerType class
      static java.util.Optional<DataLayerType> findByPrimaryKey​(int nKey)
      Returns an instance of a dataLayerType whose identifier is specified in parameter
      static java.util.List<DataLayerType> getDataLayerTypesList()
      Load the data of all the dataLayerType objects and returns them as a list
      static java.util.List<DataLayerType> getDataLayerTypesListByIds​(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 getDataLayerTypesReferenceList()
      Load the data of all the dataLayerType objects and returns them as a referenceList
      static java.util.List<java.lang.Integer> getIdDataLayerTypesList()
      Load the id of all the dataLayerType objects and returns them as a list
      static void remove​(int nKey)
      Remove the dataLayerType whose identifier is specified in parameter
      static DataLayerType update​(DataLayerType dataLayerType)
      Update of the dataLayerType 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 DataLayerType create​(DataLayerType dataLayerType)
        Create an instance of the dataLayerType class
        Parameters:
        dataLayerType - The instance of the DataLayerType which contains the informations to store
        Returns:
        The instance of dataLayerType which has been created with its primary key.
      • update

        public static DataLayerType update​(DataLayerType dataLayerType)
        Update of the dataLayerType which is specified in parameter
        Parameters:
        dataLayerType - The instance of the DataLayerType which contains the data to store
        Returns:
        The instance of the dataLayerType which has been updated
      • remove

        public static void remove​(int nKey)
        Remove the dataLayerType whose identifier is specified in parameter
        Parameters:
        nKey - The dataLayerType Id
      • findByPrimaryKey

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

        public static java.util.List<DataLayerType> getDataLayerTypesList()
        Load the data of all the dataLayerType objects and returns them as a list
        Returns:
        the list which contains the data of all the dataLayerType objects
      • getIdDataLayerTypesList

        public static java.util.List<java.lang.Integer> getIdDataLayerTypesList()
        Load the id of all the dataLayerType objects and returns them as a list
        Returns:
        the list which contains the id of all the dataLayerType objects
      • getDataLayerTypesReferenceList

        public static fr.paris.lutece.util.ReferenceList getDataLayerTypesReferenceList()
        Load the data of all the dataLayerType objects and returns them as a referenceList
        Returns:
        the referenceList which contains the data of all the dataLayerType objects
      • getDataLayerTypesListByIds

        public static java.util.List<DataLayerType> getDataLayerTypesListByIds​(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