Class AttributeMappingDAO
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.users.business.AttributeMappingDAO
- All Implemented Interfaces:
IAttributeMappingDAO
This class provides Data Access methods for AttributeMapping 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(AttributeMapping attributeMapping, 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 tableselectAttributeMappingsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeMapping objects and returns them as a listfr.paris.lutece.util.ReferenceListselectAttributeMappingsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeMapping objects and returns them as a referenceListselectIdAttributeMappingsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the attributeMapping objects and returns them as a listvoidstore(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
AttributeMappingDAO
public AttributeMappingDAO()
-
-
Method Details
-
insert
public void insert(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIAttributeMappingDAO- Parameters:
attributeMapping- instance of the AttributeMapping object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIAttributeMappingDAO- Parameters:
nKey- The identifier of the attributeMappingplugin- the Plugin- Returns:
- The instance of the attributeMapping
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIAttributeMappingDAO- Parameters:
nKey- The identifier of the AttributeMapping to deleteplugin- the Plugin
-
store
public void store(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
storein interfaceIAttributeMappingDAO- Parameters:
attributeMapping- the reference of the AttributeMappingplugin- the Plugin
-
selectAttributeMappingsList
public List<AttributeMapping> selectAttributeMappingsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeMapping objects and returns them as a list- Specified by:
selectAttributeMappingsListin interfaceIAttributeMappingDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the attributeMapping objects
-
selectIdAttributeMappingsList
public List<Integer> selectIdAttributeMappingsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the attributeMapping objects and returns them as a list- Specified by:
selectIdAttributeMappingsListin interfaceIAttributeMappingDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the attributeMapping objects
-
selectAttributeMappingsReferenceList
public fr.paris.lutece.util.ReferenceList selectAttributeMappingsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the attributeMapping objects and returns them as a referenceList- Specified by:
selectAttributeMappingsReferenceListin interfaceIAttributeMappingDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the attributeMapping objects
-