Interface IDataLayerMapTemplateDAO
-
- All Known Implementing Classes:
DataLayerMapTemplateDAO
public interface IDataLayerMapTemplateDAOIDataLayerMapTemplateDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(DataLayerMapTemplate dataLayerMapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.java.util.Optional<DataLayerMapTemplate>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.Optional<DataLayerMapTemplate>loadByDataLayerId(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nKey)Load the data from id data layerjava.util.Optional<DataLayerMapTemplate>loadByIdMapIdLayer(int nMapKey, int nDataLayerKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<DataLayer>selectDataLayerListByMapTemplateId(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey)Load all the DataLayer attached to the MapTemplate idjava.util.List<DataLayer>selectDataLayerListByMapTemplateIdAndSearchable(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey, boolean isSearchableByOther)Load all the DataLayer attached to the MapTemplate idjava.util.List<DataLayerMapTemplate>selectDataLayerMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the dataLayerMapTemplate objects and returns them as a listjava.util.List<DataLayerMapTemplate>selectDataLayerMapTemplatesListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a listfr.paris.lutece.util.ReferenceListselectDataLayerMapTemplatesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the dataLayerMapTemplate objects and returns them as a referenceListjava.util.List<java.lang.Integer>selectIdDataLayerMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the dataLayerMapTemplate objects and returns them as a listvoidstore(DataLayerMapTemplate dataLayerMapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(DataLayerMapTemplate dataLayerMapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
dataLayerMapTemplate- instance of the DataLayerMapTemplate object to insertplugin- the Plugin
-
store
void store(DataLayerMapTemplate dataLayerMapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
dataLayerMapTemplate- the reference of the DataLayerMapTemplateplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the DataLayerMapTemplate to deleteplugin- the Plugin
-
load
java.util.Optional<DataLayerMapTemplate> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the dataLayerMapTemplateplugin- the Plugin- Returns:
- The instance of the dataLayerMapTemplate
-
selectDataLayerMapTemplatesList
java.util.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- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the dataLayerMapTemplate objects
-
selectIdDataLayerMapTemplatesList
java.util.List<java.lang.Integer> selectIdDataLayerMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the dataLayerMapTemplate objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the dataLayerMapTemplate objects
-
selectDataLayerMapTemplatesReferenceList
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- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the dataLayerMapTemplate objects
-
selectDataLayerMapTemplatesListByIds
java.util.List<DataLayerMapTemplate> selectDataLayerMapTemplatesListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, java.util.List<java.lang.Integer> listIds)
Load the data of all the avant objects and returns them as a list- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
selectDataLayerListByMapTemplateId
java.util.List<DataLayer> selectDataLayerListByMapTemplateId(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey)
Load all the DataLayer attached to the MapTemplate id- Parameters:
plugin- the Pluginnkey- : id of the mapTemplate- Returns:
- The list of DataLayer
-
loadByIdMapIdLayer
java.util.Optional<DataLayerMapTemplate> loadByIdMapIdLayer(int nMapKey, int nDataLayerKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nMapKey- The identifier of the MapTemplatenDataLayerKey- The identifier of the dataLayerplugin- the Plugin- Returns:
- The instance of the dataLayerMapTemplate
-
loadByDataLayerId
java.util.Optional<DataLayerMapTemplate> loadByDataLayerId(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nKey)
Load the data from id data layer- Parameters:
nKey- The od of the datalayerplugin- the Plugin- Returns:
- The instance of the dataLayerMapTemplate
-
selectDataLayerListByMapTemplateIdAndSearchable
java.util.List<DataLayer> selectDataLayerListByMapTemplateIdAndSearchable(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey, boolean isSearchableByOther)
Load all the DataLayer attached to the MapTemplate id- Parameters:
plugin- the Pluginnkey- : id of the mapTemplateisSearchableByOther- : is the map viewable by others- Returns:
- The list of DataLayer
-
-