public class AttributeFieldDAO extends Object implements IAttributeFieldDAO
Constructor and Description |
---|
AttributeFieldDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdField)
Delete an attribute field
|
void |
deleteAttributeFieldsFromIdAttribute(int nIdAttribute)
Delete all attribute field from an attribute id
|
int |
insert(AttributeField attributeField)
Insert a new attribute field
|
AttributeField |
load(int nIdField)
Load attribute field
|
IAttribute |
selectAttributeByIdField(int nIdField)
Select attribute by id field
|
List<AttributeField> |
selectAttributeFieldsByIdAttribute(int nIdAttribute)
Load the lists of attribute field associated to an attribute
|
void |
store(AttributeField attributeField)
Update an attribute field
|
public AttributeField load(int nIdField)
load
in interface IAttributeFieldDAO
nIdField
- ID Fieldpublic IAttribute selectAttributeByIdField(int nIdField)
selectAttributeByIdField
in interface IAttributeFieldDAO
nIdField
- id fieldpublic List<AttributeField> selectAttributeFieldsByIdAttribute(int nIdAttribute)
selectAttributeFieldsByIdAttribute
in interface IAttributeFieldDAO
nIdAttribute
- the ID attributepublic int insert(AttributeField attributeField)
insert
in interface IAttributeFieldDAO
attributeField
- the attribute fieldpublic void store(AttributeField attributeField)
store
in interface IAttributeFieldDAO
attributeField
- the attribute fieldpublic void delete(int nIdField)
delete
in interface IAttributeFieldDAO
nIdField
- The id fieldpublic void deleteAttributeFieldsFromIdAttribute(int nIdAttribute)
deleteAttributeFieldsFromIdAttribute
in interface IAttributeFieldDAO
nIdAttribute
- the ID attributeCopyright © 2020 City of Paris. All rights reserved.