| Constructor and Description |
|---|
CityDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(City city,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Optional<City> |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Optional<City> |
loadByCode(String strCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<City> |
selectCitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the city objects and returns them as a list
|
List<City> |
selectCitiesListByIds(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
|
List<City> |
selectCitiesListByValue(String strVal,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the city objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectCitiesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the city objects and returns them as a referenceList
|
List<Integer> |
selectIdCitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the city objects and returns them as a list
|
void |
store(City city,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(City city, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Optional<City> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Optional<City> loadByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByCode in interface ICityDAOplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(City city, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<City> selectCitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCitiesList in interface ICityDAOplugin - the Pluginpublic List<City> selectCitiesListByValue(String strVal, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCitiesListByValue in interface ICityDAOplugin - the Pluginpublic List<Integer> selectIdCitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdCitiesList in interface ICityDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectCitiesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCitiesReferenceList in interface ICityDAOplugin - the Pluginpublic List<City> selectCitiesListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
selectCitiesListByIds in interface ICityDAOlistIds - liste of idsCopyright © 2023 City of Paris. All rights reserved.