Class DataLayerTypeDAO
java.lang.Object
fr.paris.lutece.plugins.carto.business.DataLayerTypeDAO
- All Implemented Interfaces:
IDataLayerTypeDAO
This class provides Data Access methods for DataLayerType 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(DataLayerType dataLayerType, 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 tableselectDataLayerTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the dataLayerType objects and returns them as a listselectDataLayerTypesListByIds(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.ReferenceListselectDataLayerTypesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the dataLayerType objects and returns them as a referenceListselectIdDataLayerTypesList(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
-
Constructor Details
-
DataLayerTypeDAO
public DataLayerTypeDAO()
-
-
Method Details
-
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
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
Update the record in the table- Specified by:
storein interfaceIDataLayerTypeDAO- Parameters:
dataLayerType- the reference of the DataLayerTypeplugin- the Plugin
-
selectDataLayerTypesList
public 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 List<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 List<DataLayerType> selectDataLayerTypesListByIds(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:
selectDataLayerTypesListByIdsin interfaceIDataLayerTypeDAOlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-