Class DataLayerTypeHome

java.lang.Object
fr.paris.lutece.plugins.carto.business.DataLayerTypeHome

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

    • 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 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 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 List<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 List<DataLayerType> getDataLayerTypesListByIds(List<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