public interface ICityDAO
| 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
|
void insert(City city, fr.paris.lutece.portal.service.plugin.Plugin plugin)
city - instance of the City object to insertplugin - the Pluginvoid store(City city, fr.paris.lutece.portal.service.plugin.Plugin plugin)
city - the reference of the Cityplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the City to deleteplugin - the PluginOptional<City> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the cityplugin - the PluginOptional<City> loadByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the cityplugin - the PluginList<City> selectCitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<City> selectCitiesListByValue(String strVal, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Integer> selectIdCitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectCitiesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<City> selectCitiesListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds)
plugin - the PluginlistIds - liste of idsCopyright © 2023 City of Paris. All rights reserved.