Class CoordonneeHome

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

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

    • create

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

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

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

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

      public static List<Coordonnee> getCoordonneesList()
      Load the data of all the coordonnee objects and returns them as a list
      Returns:
      the list which contains the data of all the coordonnee objects
    • getIdCoordonneesList

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

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

      public static List<Coordonnee> getCoordonneesListByIds(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