|
||||||||||
| 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.AttributeHome
public final class AttributeHome
AttributeHome
| Method Summary | |
|---|---|
static int |
create(IAttribute attribute)
Insert an new attribute |
static java.util.List<IAttribute> |
findAll(java.util.Locale locale)
Load every attributes |
static IAttribute |
findByPrimaryKey(int nIdAttribute,
java.util.Locale locale)
Load attribute |
static java.util.List<IAttribute> |
findCoreAttributes(java.util.Locale locale)
Load every attributes that do not come from a plugin |
static java.util.List<IAttribute> |
findPluginAttributes(java.lang.String strPluginName,
java.util.Locale locale)
Load every attributes associated to a plugin |
static void |
remove(int nIdAttribute)
Delete an attribute |
static void |
update(IAttribute attribute)
Update an attribute |
static 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 |
| Method Detail |
|---|
public static IAttribute findByPrimaryKey(int nIdAttribute,
java.util.Locale locale)
nIdAttribute - ID Attributelocale - Locale
public static int create(IAttribute attribute)
attribute - attribute
public static void update(IAttribute attribute)
attribute - the attributepublic static void remove(int nIdAttribute)
nIdAttribute - The id of the attributepublic static java.util.List<IAttribute> findAll(java.util.Locale locale)
locale - locale
public static java.util.List<IAttribute> findPluginAttributes(java.lang.String strPluginName,
java.util.Locale locale)
strPluginName - plugin namelocale - locale
public static java.util.List<IAttribute> findCoreAttributes(java.util.Locale locale)
locale - locale
public static void 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||