Class AttributeTypeDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.attributes.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 Summary
Constructors Constructor Description AttributeTypeDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(AttributeType documentAttributeType)Delete a record from the tablefr.paris.lutece.util.ReferenceListgetAttributeManagersList()Gets attributes managers listvoidinsert(AttributeType documentAttributeType)Insert a new record in the table.AttributeTypeload(int nDocumentAttributeTypeId)Load the data of DocumentAttributeType from the tablefr.paris.lutece.util.ReferenceListselectAttributeTypeList(java.util.Locale locale)Load the list of Attribute Typesjava.util.List<AttributeTypeParameter>selectAttributeTypeParameterList(java.lang.String strAttributeTypeCode)Load the list of attributeTypeParametersjava.util.Collection<AttributeType>selectDocumentAttributeTypeList()Load the list of documentAttributeTypesvoidstore(AttributeType documentAttributeType)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(AttributeType documentAttributeType)
Insert a new record in the table.- Specified by:
insertin interfaceIAttributeTypeDAO- Parameters:
documentAttributeType- The documentAttributeType object
-
load
public AttributeType load(int nDocumentAttributeTypeId)
Load the data of DocumentAttributeType from the table- Specified by:
loadin interfaceIAttributeTypeDAO- 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:
deletein interfaceIAttributeTypeDAO- Parameters:
documentAttributeType- The DocumentAttributeType object
-
store
public void store(AttributeType documentAttributeType)
Update the record in the table- Specified by:
storein interfaceIAttributeTypeDAO- Parameters:
documentAttributeType- The reference of documentAttributeType
-
selectDocumentAttributeTypeList
public java.util.Collection<AttributeType> selectDocumentAttributeTypeList()
Load the list of documentAttributeTypes- Specified by:
selectDocumentAttributeTypeListin interfaceIAttributeTypeDAO- Returns:
- The Collection of the DocumentAttributeTypes
-
selectAttributeTypeList
public fr.paris.lutece.util.ReferenceList selectAttributeTypeList(java.util.Locale locale)
Load the list of Attribute Types- Specified by:
selectAttributeTypeListin interfaceIAttributeTypeDAO- Parameters:
locale- The locale- Returns:
- The Collection of the DocumentAttributeTypes
-
getAttributeManagersList
public fr.paris.lutece.util.ReferenceList getAttributeManagersList()
Gets attributes managers list- Specified by:
getAttributeManagersListin interfaceIAttributeTypeDAO- Returns:
- The list of attribute managers
-
selectAttributeTypeParameterList
public java.util.List<AttributeTypeParameter> selectAttributeTypeParameterList(java.lang.String strAttributeTypeCode)
Load the list of attributeTypeParameters- Specified by:
selectAttributeTypeParameterListin interfaceIAttributeTypeDAO- Parameters:
strAttributeTypeCode- The attribute type code- Returns:
- The Collection of the AttributeTypeParameters
-
-