|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.user.attribute.AttributeDAO
public class AttributeDAO
AttributeDAO
Constructor Summary | |
---|---|
AttributeDAO()
|
Method Summary | |
---|---|
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. |
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, Locale locale)
load
in interface IAttributeDAO
nIdAttribute
- IDlocale
- Locale
public int insert(IAttribute attribute)
insert
in interface IAttributeDAO
attribute
- the attribute
public void store(IAttribute attribute)
store
in interface IAttributeDAO
attribute
- the attributepublic void delete(int nIdAttribute)
delete
in interface IAttributeDAO
nIdAttribute
- The Id of the attributepublic List<IAttribute> selectAll(Locale locale)
selectAll
in interface IAttributeDAO
locale
- locale
public List<IAttribute> selectPluginAttributes(String strPluginName, Locale locale)
selectPluginAttributes
in interface IAttributeDAO
strPluginName
- plugin namelocale
- locale
public List<IAttribute> selectCoreAttributes(Locale locale)
selectCoreAttributes
in interface IAttributeDAO
locale
- locale
public void updateAttributeAnonymization(int nIdAttribute, boolean bAnonymize)
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |