Class MapTemplateHome


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

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

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

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

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

        public static java.util.Optional<MapTemplate> findXpageFrontOffice()
        Returns an instance of a mapTemplate whose identifier is specified in parameter
        Returns:
        an instance of MapTemplate
      • getMapTemplatesList

        public static java.util.List<MapTemplate> getMapTemplatesList()
        Load the data of all the mapTemplate objects and returns them as a list
        Returns:
        the list which contains the data of all the mapTemplate objects
      • getIdMapTemplatesList

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

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

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