java.lang.Object
fr.paris.lutece.plugins.document.business.attributes.AttributeTypeDAO
All Implemented Interfaces:
IAttributeTypeDAO

public final class AttributeTypeDAO extends Object implements IAttributeTypeDAO
This class provides Data Access methods for DocumentAttributeType objects
  • Constructor Details

    • AttributeTypeDAO

      public AttributeTypeDAO()
  • Method Details

    • 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
    • selectDocumentAttributeTypeList

      public Collection<AttributeType> selectDocumentAttributeTypeList()
      Load the list of documentAttributeTypes
      Specified by:
      selectDocumentAttributeTypeList in interface IAttributeTypeDAO
      Returns:
      The Collection of the DocumentAttributeTypes
    • selectAttributeTypeList

      public fr.paris.lutece.util.ReferenceList selectAttributeTypeList(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 List<AttributeTypeParameter> selectAttributeTypeParameterList(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