Class MapTemplateDAO
java.lang.Object
fr.paris.lutece.plugins.carto.business.MapTemplateDAO
- All Implemented Interfaces:
IMapTemplateDAO
This class provides Data Access methods for MapTemplate objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(MapTemplate mapTemplate, 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 tableloadXpageFO(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectIdMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the mapTemplate objects and returns them as a listselectMapTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the mapTemplate objects and returns them as a listselectMapTemplatesListByIds(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.ReferenceListselectMapTemplatesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the mapTemplate objects and returns them as a referenceListvoidstore(MapTemplate mapTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
MapTemplateDAO
public MapTemplateDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIMapTemplateDAO- Parameters:
mapTemplate- instance of the MapTemplate object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIMapTemplateDAO- Parameters:
nKey- The identifier of the mapTemplateplugin- the Plugin- Returns:
- The instance of the mapTemplate
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIMapTemplateDAO- Parameters:
nKey- The identifier of the MapTemplate to deleteplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceIMapTemplateDAO- Parameters:
mapTemplate- the reference of the MapTemplateplugin- the Plugin
-
selectMapTemplatesList
public 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- Specified by:
selectMapTemplatesListin interfaceIMapTemplateDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the mapTemplate objects
-
selectIdMapTemplatesList
Load the id of all the mapTemplate objects and returns them as a list- Specified by:
selectIdMapTemplatesListin interfaceIMapTemplateDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the mapTemplate objects
-
selectMapTemplatesReferenceList
public 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- Specified by:
selectMapTemplatesReferenceListin interfaceIMapTemplateDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the mapTemplate objects
-
selectMapTemplatesListByIds
public 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- Specified by:
selectMapTemplatesListByIdsin interfaceIMapTemplateDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
loadXpageFO
Load the data from the table- Specified by:
loadXpageFOin interfaceIMapTemplateDAO- Returns:
- The instance of the mapTemplate
-