Interface IAttributeMappingDAO

  • All Known Implementing Classes:
    AttributeMappingDAO

    public interface IAttributeMappingDAO
    IAttributeMappingDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract 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
    • Method Detail

      • insert

        void insert​(AttributeMapping attributeMapping,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        attributeMapping - instance of the AttributeMapping object to insert
        plugin - the Plugin
      • store

        void store​(AttributeMapping attributeMapping,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        attributeMapping - the reference of the AttributeMapping
        plugin - the Plugin
      • delete

        void delete​(int nKey,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nKey - The identifier of the AttributeMapping to delete
        plugin - the Plugin
      • load

        AttributeMapping load​(int nKey,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the attributeMapping
        plugin - the Plugin
        Returns:
        The instance of the attributeMapping
      • selectAttributeMappingsList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the attributeMapping objects
      • selectIdAttributeMappingsList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the attributeMapping objects
      • selectAttributeMappingsReferenceList

        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
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the attributeMapping objects