|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.mylutece.business.attribute.AttributeDAO
public class AttributeDAO
AttributeDAO
Constructor Summary | |
---|---|
AttributeDAO()
|
Method Summary | |
---|---|
void |
addAnonymizationStatusUserField(java.lang.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,
java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load attribute |
void |
removeAnonymizationStatusUserField(java.lang.String strFieldName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an anonymization status to a user field. |
java.util.List<IAttribute> |
selectAll(java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load every attributes |
java.util.Map<java.lang.String,java.lang.Boolean> |
selectAnonymizationStatusUserStaticField(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the anonymization status of a user field. |
java.util.List<IAttribute> |
selectMyLuteceAttributes(java.util.Locale locale,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load every attributes that do not come from a plugin |
java.util.List<IAttribute> |
selectPluginAttributes(java.lang.String strPluginName,
java.util.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(java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeDAO()
Method Detail |
---|
public IAttribute load(int nIdAttribute, java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IAttributeDAO
nIdAttribute
- IDlocale
- Localeplugin
- The plugin
public int insert(IAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IAttributeDAO
attribute
- the attributeplugin
- The plugin
public void store(IAttribute attribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IAttributeDAO
attribute
- the attributeplugin
- The pluginpublic void delete(int nIdAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IAttributeDAO
nIdAttribute
- the ID of the attributeplugin
- The pluginpublic java.util.List<IAttribute> selectAll(java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll
in interface IAttributeDAO
locale
- localeplugin
- The plugin
public java.util.List<IAttribute> selectPluginAttributes(java.lang.String strPluginName, java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPluginAttributes
in interface IAttributeDAO
strPluginName
- plugin namelocale
- localeplugin
- The plugin
public java.util.List<IAttribute> selectMyLuteceAttributes(java.util.Locale locale, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMyLuteceAttributes
in interface IAttributeDAO
locale
- localeplugin
- The plugin
public void updateAttributeAnonymization(int nIdAttribute, boolean bAnonymize, fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateAttributeAnonymization
in interface IAttributeDAO
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 pluginpublic java.util.Map<java.lang.String,java.lang.Boolean> selectAnonymizationStatusUserStaticField(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAnonymizationStatusUserStaticField
in interface IAttributeDAO
plugin
- The plugin
public void addAnonymizationStatusUserField(java.lang.String strFieldName, boolean bAnonymizeFiled, fr.paris.lutece.portal.service.plugin.Plugin plugin)
addAnonymizationStatusUserField
in interface IAttributeDAO
strFieldName
- Name of the fieldbAnonymizeFiled
- True if the field should be anonymize, false
otherwiseplugin
- The pluginpublic void removeAnonymizationStatusUserField(java.lang.String strFieldName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeAnonymizationStatusUserField
in interface IAttributeDAO
strFieldName
- Name of the fieldplugin
- The pluginpublic void updateAnonymizationStatusUserStaticField(java.lang.String strFieldName, boolean bAnonymizeFiled, fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateAnonymizationStatusUserStaticField
in interface IAttributeDAO
strFieldName
- Name of the field to updatebAnonymizeFiled
- True if the field should be anonymize, false
otherwiseplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |