Class AttributeTypeDAO

  • All Implemented Interfaces:
    IAttributeTypeDAO

    public final class AttributeTypeDAO
    extends java.lang.Object
    implements IAttributeTypeDAO
    This class provides Data Access methods for DocumentAttributeType objects
    • Constructor Detail

      • AttributeTypeDAO

        public AttributeTypeDAO()
    • Method Detail

      • insert

        public void insert​(AttributeType documentAttributeType)
        Insert a new record in the table.
        Specified by:
        insert in interface IAttributeTypeDAO
        Parameters:
        documentAttributeType - The documentAttributeType object
      • load

        public AttributeType load​(int nDocumentAttributeTypeId)
        Load the data of DocumentAttributeType from the table
        Specified by:
        load in interface IAttributeTypeDAO
        Parameters:
        nDocumentAttributeTypeId - The identifier of DocumentAttributeType
        Returns:
        the instance of the DocumentAttributeType
      • delete

        public void delete​(AttributeType documentAttributeType)
        Delete a record from the table
        Specified by:
        delete in interface IAttributeTypeDAO
        Parameters:
        documentAttributeType - The DocumentAttributeType object
      • store

        public void store​(AttributeType documentAttributeType)
        Update the record in the table
        Specified by:
        store in interface IAttributeTypeDAO
        Parameters:
        documentAttributeType - The reference of documentAttributeType
      • selectAttributeTypeList

        public fr.paris.lutece.util.ReferenceList selectAttributeTypeList​(java.util.Locale locale)
        Load the list of Attribute Types
        Specified by:
        selectAttributeTypeList in interface IAttributeTypeDAO
        Parameters:
        locale - The locale
        Returns:
        The Collection of the DocumentAttributeTypes
      • getAttributeManagersList

        public fr.paris.lutece.util.ReferenceList getAttributeManagersList()
        Gets attributes managers list
        Specified by:
        getAttributeManagersList in interface IAttributeTypeDAO
        Returns:
        The list of attribute managers
      • selectAttributeTypeParameterList

        public java.util.List<AttributeTypeParameter> selectAttributeTypeParameterList​(java.lang.String strAttributeTypeCode)
        Load the list of attributeTypeParameters
        Specified by:
        selectAttributeTypeParameterList in interface IAttributeTypeDAO
        Parameters:
        strAttributeTypeCode - The attribute type code
        Returns:
        The Collection of the AttributeTypeParameters