Class AttributeTypeDAO
java.lang.Object
fr.paris.lutece.plugins.document.business.attributes.AttributeTypeDAO
- All Implemented Interfaces:
IAttributeTypeDAO
This class provides Data Access methods for DocumentAttributeType objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(AttributeType documentAttributeType) Delete a record from the tablefr.paris.lutece.util.ReferenceListGets attributes managers listvoidinsert(AttributeType documentAttributeType) Insert a new record in the table.load(int nDocumentAttributeTypeId) Load the data of DocumentAttributeType from the tablefr.paris.lutece.util.ReferenceListselectAttributeTypeList(Locale locale) Load the list of Attribute TypesselectAttributeTypeParameterList(String strAttributeTypeCode) Load the list of attributeTypeParametersLoad the list of documentAttributeTypesvoidstore(AttributeType documentAttributeType) Update the record in the table
-
Constructor Details
-
AttributeTypeDAO
public AttributeTypeDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIAttributeTypeDAO- Parameters:
documentAttributeType- The documentAttributeType object
-
load
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
Delete a record from the table- Specified by:
deletein interfaceIAttributeTypeDAO- Parameters:
documentAttributeType- The DocumentAttributeType object
-
store
Update the record in the table- Specified by:
storein interfaceIAttributeTypeDAO- Parameters:
documentAttributeType- The reference of documentAttributeType
-
selectDocumentAttributeTypeList
Load the list of documentAttributeTypes- Specified by:
selectDocumentAttributeTypeListin interfaceIAttributeTypeDAO- Returns:
- The Collection of the DocumentAttributeTypes
-
selectAttributeTypeList
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
Load the list of attributeTypeParameters- Specified by:
selectAttributeTypeParameterListin interfaceIAttributeTypeDAO- Parameters:
strAttributeTypeCode- The attribute type code- Returns:
- The Collection of the AttributeTypeParameters
-