Class AttributeFieldDAO

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete an attribute field
      void deleteAttributeFieldsFromIdAttribute​(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete all attribute field from an attribute id
      int insert​(AttributeField attributeField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new attribute field
      AttributeField load​(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load attribute field
      IAttribute selectAttributeByIdField​(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select attribute by id field
      java.util.List<AttributeField> selectAttributeFieldsByIdAttribute​(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the lists of attribute field associated to an attribute
      void store​(AttributeField attributeField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update an attribute field
      • Methods inherited from class java.lang.Object

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

      • AttributeFieldDAO

        public AttributeFieldDAO()
    • Method Detail

      • load

        public AttributeField load​(int nIdField,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load attribute field
        Specified by:
        load in interface IAttributeFieldDAO
        Parameters:
        nIdField - ID Field
        plugin - The plugin
        Returns:
        Attribute Field
      • selectAttributeByIdField

        public IAttribute selectAttributeByIdField​(int nIdField,
                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Select attribute by id field
        Specified by:
        selectAttributeByIdField in interface IAttributeFieldDAO
        Parameters:
        nIdField - id field
        plugin - The plugin
        Returns:
        user attribute
      • selectAttributeFieldsByIdAttribute

        public java.util.List<AttributeField> selectAttributeFieldsByIdAttribute​(int nIdAttribute,
                                                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the lists of attribute field associated to an attribute
        Specified by:
        selectAttributeFieldsByIdAttribute in interface IAttributeFieldDAO
        Parameters:
        nIdAttribute - the ID attribute
        plugin - The plugin
        Returns:
        the list of attribute fields
      • insert

        public int insert​(AttributeField attributeField,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new attribute field
        Specified by:
        insert in interface IAttributeFieldDAO
        Parameters:
        attributeField - the attribute field
        plugin - The plugin
        Returns:
        new PK
      • store

        public void store​(AttributeField attributeField,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update an attribute field
        Specified by:
        store in interface IAttributeFieldDAO
        Parameters:
        attributeField - the attribute field
        plugin - The plugin
      • delete

        public void delete​(int nIdField,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete an attribute field
        Specified by:
        delete in interface IAttributeFieldDAO
        Parameters:
        nIdField - The id field
        plugin - The plugin
      • deleteAttributeFieldsFromIdAttribute

        public void deleteAttributeFieldsFromIdAttribute​(int nIdAttribute,
                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete all attribute field from an attribute id
        Specified by:
        deleteAttributeFieldsFromIdAttribute in interface IAttributeFieldDAO
        Parameters:
        nIdAttribute - the ID attribute
        plugin - The plugin