Class CoordonneeHome
- java.lang.Object
-
- fr.paris.lutece.plugins.carto.business.CoordonneeHome
-
public final class CoordonneeHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for Coordonnee objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Coordonneecreate(Coordonnee coordonnee)Create an instance of the coordonnee classstatic java.util.Optional<Coordonnee>findByPrimaryKey(int nKey)Returns an instance of a coordonnee whose identifier is specified in parameterstatic java.util.List<Coordonnee>getCoordonneesList()Load the data of all the coordonnee objects and returns them as a liststatic java.util.List<Coordonnee>getCoordonneesListByIds(java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetCoordonneesReferenceList()Load the data of all the coordonnee objects and returns them as a referenceListstatic java.util.List<java.lang.Integer>getIdCoordonneesList()Load the id of all the coordonnee objects and returns them as a liststatic voidremove(int nKey)Remove the coordonnee whose identifier is specified in parameterstatic Coordonneeupdate(Coordonnee coordonnee)Update of the coordonnee which is specified in parameter
-
-
-
Method Detail
-
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 java.util.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 java.util.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 java.util.List<java.lang.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 java.util.List<Coordonnee> getCoordonneesListByIds(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
-
-