public interface IAttributeDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdAttribute)
Delete an attribute
|
int |
insert(IAttribute attribute)
Insert a new attribute
|
IAttribute |
load(int nIdAttribute,
Locale locale)
Load attribute
|
List<IAttribute> |
selectAll(Locale locale)
Load every attributes
|
List<IAttribute> |
selectCoreAttributes(Locale locale)
Load every attributes that do not come from a plugin
|
List<IAttribute> |
selectPluginAttributes(String strPluginName,
Locale locale)
Load every attributes from plugin name
|
void |
store(IAttribute attribute)
Update an attribute
|
void |
updateAttributeAnonymization(int nIdAttribute,
boolean bAnonymize)
Update the anonymization status of the attribute.
|
IAttribute load(int nIdAttribute, Locale locale)
nIdAttribute
- IDlocale
- Localeint insert(IAttribute attribute)
attribute
- the attributevoid store(IAttribute attribute)
attribute
- the attributevoid delete(int nIdAttribute)
nIdAttribute
- the ID of the attributeList<IAttribute> selectAll(Locale locale)
locale
- localeList<IAttribute> selectPluginAttributes(String strPluginName, Locale locale)
strPluginName
- plugin namelocale
- localeList<IAttribute> selectCoreAttributes(Locale locale)
locale
- localevoid updateAttributeAnonymization(int nIdAttribute, boolean bAnonymize)
nIdAttribute
- Id of the attributebAnonymize
- New value of the anonymization status. True means the attribute should be anonymize, false means it doesn't.Copyright © 2020 City of Paris. All rights reserved.