Class BasemapHome

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

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

    • create

      public static Basemap create(Basemap basemap)
      Create an instance of the basemap class
      Parameters:
      basemap - The instance of the Basemap which contains the informations to store
      Returns:
      The instance of basemap which has been created with its primary key.
    • update

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

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

      public static Optional<Basemap> findByPrimaryKey(int nKey)
      Returns an instance of a basemap whose identifier is specified in parameter
      Parameters:
      nKey - The basemap primary key
      Returns:
      an instance of Basemap
    • getBasemapsList

      public static List<Basemap> getBasemapsList()
      Load the data of all the basemap objects and returns them as a list
      Returns:
      the list which contains the data of all the basemap objects
    • getIdBasemapsList

      public static List<Integer> getIdBasemapsList()
      Load the id of all the basemap objects and returns them as a list
      Returns:
      the list which contains the id of all the basemap objects
    • getBasemapsReferenceList

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

      public static List<Basemap> getBasemapsListByIds(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