Interface IDataLayerMapTemplateDAO
- All Known Implementing Classes:
DataLayerMapTemplateDAO
public interface IDataLayerMapTemplateDAO
IDataLayerMapTemplateDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadByDataLayerId(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nKey) Load the data from id data layerloadByIdMapIdLayer(int nMapKey, int nDataLayerKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectDataLayerListByMapTemplateId(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey) Load all the DataLayer attached to the MapTemplate idselectDataLayerListByMapTemplateIdAndSearchable(fr.paris.lutece.portal.service.plugin.Plugin _plugin, int nKey, boolean isSearchableByOther) Load all the DataLayer attached to the MapTemplate idselectDataLayerMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the dataLayerMapTemplate objects and returns them as a listselectDataLayerMapTemplatesListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<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 referenceListselectIdDataLayerMapTemplatesList(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 Details
-
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
Load the data from the table- Parameters:
nKey- The identifier of the dataLayerMapTemplateplugin- the Plugin- Returns:
- The instance of the dataLayerMapTemplate
-
selectDataLayerMapTemplatesList
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
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- 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
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- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
selectDataLayerListByMapTemplateId
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
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
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
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
-