Class CoordonneeHome
java.lang.Object
fr.paris.lutece.plugins.carto.business.CoordonneeHome
This class provides instances management methods (create, find, ...) for Coordonnee objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic Coordonneecreate(Coordonnee coordonnee) Create an instance of the coordonnee classstatic Optional<Coordonnee>findByPrimaryKey(int nKey) Returns an instance of a coordonnee whose identifier is specified in parameterstatic List<Coordonnee>Load the data of all the coordonnee objects and returns them as a liststatic List<Coordonnee>getCoordonneesListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the coordonnee objects and returns them as a referenceListLoad 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 Details
-
create
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
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
Returns an instance of a coordonnee whose identifier is specified in parameter- Parameters:
nKey- The coordonnee primary key- Returns:
- an instance of 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
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
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
-