All Known Implementing Classes:
FieldDAO

public interface IFieldDAO
IFieldDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    insert(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the field objects and returns them as a List
    store(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • insert

      Field insert(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Parameters:
      field - instance of the Field object to inssert
      plugin - the Plugin
      Returns:
      the created instance
    • store

      Field store(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Parameters:
      field - the reference of the Field
      plugin - the Plugin
      Returns:
      the updated instance
    • delete

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

      Field load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      strId - The identifier of the field
      plugin - the Plugin
      Returns:
      The instance of the field
    • selectFieldsList

      List<Field> selectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the field objects and returns them as a List
      Parameters:
      plugin - the Plugin
      Returns:
      The List which contains the data of all the field objects