Class CoordonneeDAO
java.lang.Object
fr.paris.lutece.plugins.carto.business.CoordonneeDAO
- All Implemented Interfaces:
ICoordonneeDAO
This class provides Data Access methods for Coordonnee objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(Coordonnee coordonnee, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectCoordonneesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the coordonnee objects and returns them as a listselectCoordonneesListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectCoordonneesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the coordonnee objects and returns them as a referenceListselectIdCoordonneesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the coordonnee objects and returns them as a listvoidstore(Coordonnee coordonnee, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
CoordonneeDAO
public CoordonneeDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceICoordonneeDAO- Parameters:
coordonnee- instance of the Coordonnee object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceICoordonneeDAO- Parameters:
nKey- The identifier of the coordonneeplugin- the Plugin- Returns:
- The instance of the coordonnee
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceICoordonneeDAO- Parameters:
nKey- The identifier of the Coordonnee to deleteplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceICoordonneeDAO- Parameters:
coordonnee- the reference of the Coordonneeplugin- the Plugin
-
selectCoordonneesList
Load the data of all the coordonnee objects and returns them as a list- Specified by:
selectCoordonneesListin interfaceICoordonneeDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the coordonnee objects
-
selectIdCoordonneesList
Load the id of all the coordonnee objects and returns them as a list- Specified by:
selectIdCoordonneesListin interfaceICoordonneeDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the coordonnee objects
-
selectCoordonneesReferenceList
public fr.paris.lutece.util.ReferenceList selectCoordonneesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the coordonnee objects and returns them as a referenceList- Specified by:
selectCoordonneesReferenceListin interfaceICoordonneeDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the coordonnee objects
-
selectCoordonneesListByIds
public List<Coordonnee> selectCoordonneesListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a list- Specified by:
selectCoordonneesListByIdsin interfaceICoordonneeDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-