Class AttributeMappingDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.modules.users.business.AttributeMappingDAO
-
- All Implemented Interfaces:
IAttributeMappingDAO
public final class AttributeMappingDAO extends java.lang.Object implements IAttributeMappingDAO
This class provides Data Access methods for AttributeMapping objects
-
-
Constructor Summary
Constructors Constructor Description AttributeMappingDAO()
-
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(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.AttributeMappingload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<AttributeMapping>selectAttributeMappingsList(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 referenceListjava.util.List<java.lang.Integer>selectIdAttributeMappingsList(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
-
-
-
Method Detail
-
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
public AttributeMapping load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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 java.util.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 java.util.List<java.lang.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
-
-