public interface IAttributeDAO
Modifier and Type | Method and Description |
---|---|
void |
addAnonymizationStatusUserField(String strFieldName,
boolean bAnonymizeFiled,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Add an anonymization status to a user field.
|
void |
delete(int nIdAttribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an attribute
|
int |
insert(IAttribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new attribute
|
IAttribute |
load(int nIdAttribute,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load attribute
|
void |
removeAnonymizationStatusUserField(String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an anonymization status to a user field.
|
List<IAttribute> |
selectAll(Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load every attributes
|
Map<String,Boolean> |
selectAnonymizationStatusUserStaticField(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the anonymization status of a user field.
|
List<IAttribute> |
selectMyLuteceAttributes(Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load every attributes that do not come from a plugin
|
List<IAttribute> |
selectPluginAttributes(String strPluginName,
Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load every attributes from plugin name
|
void |
store(IAttribute attribute,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an attribute
|
void |
updateAnonymizationStatusUserStaticField(String strFieldName,
boolean bAnonymizeFiled,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the anonymization status of a user field.
|
void |
updateAttributeAnonymization(int nIdAttribute,
boolean bAnonymize,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the anonymization status of the attribute.
|
IAttribute load(int nIdAttribute, Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAttribute
- IDlocale
- Localeplugin
- The pluginint insert(IAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute
- the attributeplugin
- The pluginvoid store(IAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
attribute
- the attributeplugin
- The pluginvoid delete(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAttribute
- the ID of the attributeplugin
- The pluginList<IAttribute> selectAll(Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
locale
- localeplugin
- The pluginList<IAttribute> selectPluginAttributes(String strPluginName, Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strPluginName
- plugin namelocale
- localeplugin
- The pluginList<IAttribute> selectMyLuteceAttributes(Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
locale
- localeplugin
- The pluginvoid updateAttributeAnonymization(int nIdAttribute, boolean bAnonymize, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAttribute
- Id of the attributebAnonymize
- New value of the anonymization status. True means the
attribute should be anonymize, false means it doesn't.plugin
- The pluginMap<String,Boolean> selectAnonymizationStatusUserStaticField(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginvoid addAnonymizationStatusUserField(String strFieldName, boolean bAnonymizeFiled, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strFieldName
- Name of the fieldbAnonymizeFiled
- True if the field should be anonymize, false
otherwiseplugin
- The pluginvoid removeAnonymizationStatusUserField(String strFieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strFieldName
- Name of the fieldplugin
- The pluginvoid updateAnonymizationStatusUserStaticField(String strFieldName, boolean bAnonymizeFiled, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strFieldName
- Name of the field to updatebAnonymizeFiled
- True if the field should be anonymize, false
otherwiseplugin
- The pluginCopyright © 2021 City of Paris. All rights reserved.