Class DataLayerTypeDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.carto.business.DataLayerTypeDAO
-
- All Implemented Interfaces:
IDataLayerTypeDAO
public final class DataLayerTypeDAO extends java.lang.Object implements IDataLayerTypeDAO
This class provides Data Access methods for DataLayerType objects
-
-
Constructor Summary
Constructors Constructor Description DataLayerTypeDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(DataLayerType dataLayerType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.java.util.Optional<DataLayerType>load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<DataLayerType>selectDataLayerTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the dataLayerType objects and returns them as a listjava.util.List<DataLayerType>selectDataLayerTypesListByIds(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.ReferenceListselectDataLayerTypesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the dataLayerType objects and returns them as a referenceListjava.util.List<java.lang.Integer>selectIdDataLayerTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the dataLayerType objects and returns them as a listvoidstore(DataLayerType dataLayerType, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(DataLayerType dataLayerType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIDataLayerTypeDAO- Parameters:
dataLayerType- instance of the DataLayerType object to insertplugin- the Plugin
-
load
public java.util.Optional<DataLayerType> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIDataLayerTypeDAO- Parameters:
nKey- The identifier of the dataLayerTypeplugin- the Plugin- Returns:
- The instance of the dataLayerType
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIDataLayerTypeDAO- Parameters:
nKey- The identifier of the DataLayerType to deleteplugin- the Plugin
-
store
public void store(DataLayerType dataLayerType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIDataLayerTypeDAO- Parameters:
dataLayerType- the reference of the DataLayerTypeplugin- the Plugin
-
selectDataLayerTypesList
public java.util.List<DataLayerType> selectDataLayerTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the dataLayerType objects and returns them as a list- Specified by:
selectDataLayerTypesListin interfaceIDataLayerTypeDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the dataLayerType objects
-
selectIdDataLayerTypesList
public java.util.List<java.lang.Integer> selectIdDataLayerTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the dataLayerType objects and returns them as a list- Specified by:
selectIdDataLayerTypesListin interfaceIDataLayerTypeDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the dataLayerType objects
-
selectDataLayerTypesReferenceList
public fr.paris.lutece.util.ReferenceList selectDataLayerTypesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the dataLayerType objects and returns them as a referenceList- Specified by:
selectDataLayerTypesReferenceListin interfaceIDataLayerTypeDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the dataLayerType objects
-
selectDataLayerTypesListByIds
public java.util.List<DataLayerType> selectDataLayerTypesListByIds(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- Specified by:
selectDataLayerTypesListByIdsin interfaceIDataLayerTypeDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
-