Interface ITemplateFieldDAO

  • All Known Implementing Classes:
    TemplateFieldDAO

    public interface ITemplateFieldDAO
    IFieldDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      int insert​(fr.paris.lutece.plugins.genericattributes.business.Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      fr.paris.lutece.plugins.genericattributes.business.Field load​(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the Field from the table
      List<fr.paris.lutece.plugins.genericattributes.business.Field> loadByCode​(String code, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load all Fields by code
      List<fr.paris.lutece.plugins.genericattributes.business.Field> selectFieldListByIdEntry​(int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the field of the entry and returns them in a list
      void store​(fr.paris.lutece.plugins.genericattributes.business.Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the field in the table
    • Method Detail

      • insert

        int insert​(fr.paris.lutece.plugins.genericattributes.business.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 insert
        plugin - the plugin
        Returns:
        the new field create
      • store

        void store​(fr.paris.lutece.plugins.genericattributes.business.Field field,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the field in the table
        Parameters:
        field - instance of the Field object to update
        plugin - the plugin
      • delete

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

        fr.paris.lutece.plugins.genericattributes.business.Field load​(int nIdField,
                                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of the Field from the table
        Parameters:
        nIdField - The identifier of the field
        plugin - the plugin
        Returns:
        the instance of the Field
      • selectFieldListByIdEntry

        List<fr.paris.lutece.plugins.genericattributes.business.Field> selectFieldListByIdEntry​(int idEntry,
                                                                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the field of the entry and returns them in a list
        Parameters:
        idEntry - the id of the entry
        plugin - the plugin
        Returns:
        the list of field
      • loadByCode

        List<fr.paris.lutece.plugins.genericattributes.business.Field> loadByCode​(String code,
                                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load all Fields by code
        Parameters:
        code -
        plugin -
        Returns: