Interface IReferenceItemFieldDao

  • All Known Implementing Classes:
    ReferenceItemFieldDao

    public interface IReferenceItemFieldDao
    interface IReferenceItemFieldDao
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByIdField​(int idField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove records in the table.
      void deleteByIdItem​(int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove records in the table.
      void insert​(int idField, int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      List<Integer> loadFieldByItem​(int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      load records from the table.
      Integer loadItemByField​(int idField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      load record from the table.
    • Method Detail

      • insert

        void insert​(int idField,
                    int idReferenceItem,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        idField - the id of the Field
        idReferenceItem - the id of the ReferenceItem
        plugin - the plugin
      • deleteByIdItem

        void deleteByIdItem​(int idReferenceItem,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove records in the table.
        Parameters:
        idReferenceItem - the id of the ReferenceItem
        plugin - the plugin
      • deleteByIdField

        void deleteByIdField​(int idField,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove records in the table.
        Parameters:
        idField - the id of the Field
        plugin - the plugin
      • loadFieldByItem

        List<Integer> loadFieldByItem​(int idReferenceItem,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        load records from the table.
        Parameters:
        idReferenceItem - the id of the ReferenceItem
        plugin - the plugin
      • loadItemByField

        Integer loadItemByField​(int idField,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        load record from the table.
        Parameters:
        idField - the id of the field
        plugin - the plugin