Class AttributeMappingDAO

  • All Implemented Interfaces:
    IAttributeMappingDAO

    public final class AttributeMappingDAO
    extends java.lang.Object
    implements IAttributeMappingDAO
    This class provides Data Access methods for AttributeMapping objects
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      AttributeMapping load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      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
      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
      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
      void store​(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AttributeMappingDAO

        public AttributeMappingDAO()
    • 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:
        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 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:
        selectAttributeMappingsList in interface IAttributeMappingDAO
        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:
        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