Class AttributeMappingDAO

java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.users.business.AttributeMappingDAO
All Implemented Interfaces:
IAttributeMappingDAO

@ApplicationScoped public class AttributeMappingDAO extends Object implements IAttributeMappingDAO
This class provides Data Access methods for AttributeMapping objects
  • 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:
      insert in interface IAttributeMappingDAO
      Parameters:
      attributeMapping - instance of the AttributeMapping object to insert
      plugin - the Plugin
    • load

      public AttributeMapping load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IAttributeMappingDAO
      Parameters:
      nKey - The identifier of the attributeMapping
      plugin - 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:
      delete in interface IAttributeMappingDAO
      Parameters:
      nKey - The identifier of the AttributeMapping to delete
      plugin - the Plugin
    • store

      public void store(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IAttributeMappingDAO
      Parameters:
      attributeMapping - the reference of the AttributeMapping
      plugin - 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:
      selectAttributeMappingsList in interface IAttributeMappingDAO
      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:
      selectIdAttributeMappingsList in interface IAttributeMappingDAO
      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:
      selectAttributeMappingsReferenceList in interface IAttributeMappingDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the attributeMapping objects