public final class DataLayerMapTemplateDAO extends Object implements IDataLayerMapTemplateDAO
| Constructor and Description |
|---|
DataLayerMapTemplateDAO() |
| 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(DataLayerMapTemplate dataLayerMapTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Optional<DataLayerMapTemplate> |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Optional<DataLayerMapTemplate> |
loadByDataLayerId(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
int nKey)
Load the data from id data layer
|
Optional<DataLayerMapTemplate> |
loadByIdMapIdLayer(int nMapKey,
int nDataLayerKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<DataLayer> |
selectDataLayerListByMapTemplateId(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
int nKey)
Load all the DataLayer attached to the MapTemplate id
|
List<DataLayerMapTemplate> |
selectDataLayerMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the dataLayerMapTemplate objects and returns them as a list
|
List<DataLayerMapTemplate> |
selectDataLayerMapTemplatesListByIds(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 |
selectDataLayerMapTemplatesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the dataLayerMapTemplate objects and returns them as a referenceList
|
List<Integer> |
selectIdDataLayerMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the dataLayerMapTemplate objects and returns them as a list
|
void |
store(DataLayerMapTemplate dataLayerMapTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(DataLayerMapTemplate dataLayerMapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IDataLayerMapTemplateDAOdataLayerMapTemplate - instance of the DataLayerMapTemplate object to insertplugin - the Pluginpublic Optional<DataLayerMapTemplate> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IDataLayerMapTemplateDAOnKey - The identifier of the dataLayerMapTemplateplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IDataLayerMapTemplateDAOnKey - The identifier of the DataLayerMapTemplate to deleteplugin - the Pluginpublic void store(DataLayerMapTemplate dataLayerMapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IDataLayerMapTemplateDAOdataLayerMapTemplate - the reference of the DataLayerMapTemplateplugin - the Pluginpublic List<DataLayerMapTemplate> selectDataLayerMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDataLayerMapTemplatesList in interface IDataLayerMapTemplateDAOplugin - the Pluginpublic List<Integer> selectIdDataLayerMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdDataLayerMapTemplatesList in interface IDataLayerMapTemplateDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectDataLayerMapTemplatesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectDataLayerMapTemplatesReferenceList in interface IDataLayerMapTemplateDAOplugin - the Pluginpublic List<DataLayerMapTemplate> selectDataLayerMapTemplatesListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
selectDataLayerMapTemplatesListByIds in interface IDataLayerMapTemplateDAOlistIds - liste of idspublic List<DataLayer> selectDataLayerListByMapTemplateId(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey)
selectDataLayerListByMapTemplateId in interface IDataLayerMapTemplateDAOpublic Optional<DataLayerMapTemplate> loadByIdMapIdLayer(int nMapKey, int nDataLayerKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByIdMapIdLayer in interface IDataLayerMapTemplateDAOnMapKey - The identifier of the MapTemplatenDataLayerKey - The identifier of the dataLayerplugin - the Pluginpublic Optional<DataLayerMapTemplate> loadByDataLayerId(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey)
loadByDataLayerId in interface IDataLayerMapTemplateDAO_plugin - the PluginnKey - The od of the datalayerCopyright © 2023 City of Paris. All rights reserved.