Class BasemapHome


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Basemap create​(Basemap basemap)
      Create an instance of the basemap class
      static java.util.Optional<Basemap> findByPrimaryKey​(int nKey)
      Returns an instance of a basemap whose identifier is specified in parameter
      static java.util.List<Basemap> getBasemapsList()
      Load the data of all the basemap objects and returns them as a list
      static java.util.List<Basemap> getBasemapsListByIds​(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 getBasemapsReferenceList()
      Load the data of all the basemap objects and returns them as a referenceList
      static java.util.List<java.lang.Integer> getIdBasemapsList()
      Load the id of all the basemap objects and returns them as a list
      static void remove​(int nKey)
      Remove the basemap whose identifier is specified in parameter
      static Basemap update​(Basemap basemap)
      Update of the basemap 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 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 java.util.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 java.util.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 java.util.List<java.lang.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 java.util.List<Basemap> getBasemapsListByIds​(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