|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.user.attribute.AttributeService
public class AttributeService
AttributeService
| Method Summary | |
|---|---|
void |
createAttribute(IAttribute attribute)
Create a new attribute and its attribute field |
java.util.List<IAttribute> |
getAllAttributesWithFields(java.util.Locale locale)
Get all user attributes with its attribute fields |
java.util.List<IAttribute> |
getAllAttributesWithoutFields(java.util.Locale locale)
Get all user attribute without its attribute fields |
IAttribute |
getAttributeWithFields(int nIdAttribute,
java.util.Locale locale)
Get the attribute with its attribute fields |
IAttribute |
getAttributeWithoutFields(int nIdAttribute,
java.util.Locale locale)
Get an attribute without its attribute fields |
java.util.List<IAttribute> |
getCoreAttributesWithFields(java.util.Locale locale)
Get core user attributes with its attribute fields |
java.util.List<IAttribute> |
getCoreAttributesWithoutFields(java.util.Locale locale)
Get core user attribute without its attribute fields |
static AttributeService |
getInstance()
Get the instance of AttributeService |
java.util.List<IAttribute> |
getPluginAttributesWithFields(java.lang.String strPluginName,
java.util.Locale locale)
Get plugin user attributes with its attribute fields |
java.util.List<IAttribute> |
getPluginAttributesWithoutFields(java.lang.String strPluginName,
java.util.Locale locale)
Get plugin user attribute without its attribute fields |
void |
removeAttribute(int nIdAttribute)
Remove the attribute from a given attribute ID |
void |
setAttributeField(IAttribute attribute)
Set the attribute field from a given IAttribute |
void |
setAttributeFields(java.util.List<IAttribute> listAttributes)
Set the attribute fields from a given list of IAttribute |
void |
updateAttribute(IAttribute attribute)
Update the attribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AttributeService getInstance()
AttributeService
AttributeService
public IAttribute getAttributeWithoutFields(int nIdAttribute,
java.util.Locale locale)
nIdAttribute - the id attributelocale - Locale
IAttribute
public IAttribute getAttributeWithFields(int nIdAttribute,
java.util.Locale locale)
nIdAttribute - the id attributelocale - the Locale
IAttributepublic java.util.List<IAttribute> getAllAttributesWithoutFields(java.util.Locale locale)
locale - the Locale
IAttibutepublic java.util.List<IAttribute> getCoreAttributesWithoutFields(java.util.Locale locale)
locale - the Locale
IAttibute
public java.util.List<IAttribute> getPluginAttributesWithoutFields(java.lang.String strPluginName,
java.util.Locale locale)
strPluginName - the plugin namelocale - the Locale
IAttibutepublic java.util.List<IAttribute> getAllAttributesWithFields(java.util.Locale locale)
locale - the Locale
IAttributepublic java.util.List<IAttribute> getCoreAttributesWithFields(java.util.Locale locale)
locale - the Locale
IAttribute
public java.util.List<IAttribute> getPluginAttributesWithFields(java.lang.String strPluginName,
java.util.Locale locale)
strPluginName - the plugin namelocale - the Locale
IAttributepublic void setAttributeFields(java.util.List<IAttribute> listAttributes)
IAttribute
listAttributes - the list of IAttributepublic void setAttributeField(IAttribute attribute)
IAttribute
attribute - the IAttributepublic void createAttribute(IAttribute attribute)
attribute - the IAttribute to createpublic void updateAttribute(IAttribute attribute)
attribute - the IAttribute to updatepublic void removeAttribute(int nIdAttribute)
nIdAttribute - the ID attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||