public final class MapTemplateDAO extends Object implements IMapTemplateDAO
| Constructor and Description |
|---|
MapTemplateDAO() |
| 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(MapTemplate mapTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Optional<MapTemplate> |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Optional<MapTemplate> |
loadXpageFO(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the mapTemplate objects and returns them as a list
|
List<MapTemplate> |
selectMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the mapTemplate objects and returns them as a list
|
List<MapTemplate> |
selectMapTemplatesListByIds(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
|
fr.paris.lutece.util.ReferenceList |
selectMapTemplatesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the mapTemplate objects and returns them as a referenceList
|
void |
store(MapTemplate mapTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(MapTemplate mapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMapTemplateDAOmapTemplate - instance of the MapTemplate object to insertplugin - the Pluginpublic Optional<MapTemplate> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMapTemplateDAOnKey - The identifier of the mapTemplateplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMapTemplateDAOnKey - The identifier of the MapTemplate to deleteplugin - the Pluginpublic void store(MapTemplate mapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMapTemplateDAOmapTemplate - the reference of the MapTemplateplugin - the Pluginpublic List<MapTemplate> selectMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMapTemplatesList in interface IMapTemplateDAOplugin - the Pluginpublic List<Integer> selectIdMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdMapTemplatesList in interface IMapTemplateDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectMapTemplatesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMapTemplatesReferenceList in interface IMapTemplateDAOplugin - the Pluginpublic List<MapTemplate> selectMapTemplatesListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
selectMapTemplatesListByIds in interface IMapTemplateDAOlistIds - liste of idspublic Optional<MapTemplate> loadXpageFO(fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadXpageFO in interface IMapTemplateDAOCopyright © 2023 City of Paris. All rights reserved.