Package | Description |
---|---|
fr.paris.lutece.portal.business.user.attribute | |
fr.paris.lutece.portal.service.admin | |
fr.paris.lutece.portal.service.user.attribute |
Modifier and Type | Interface and Description |
---|---|
interface |
ISimpleValuesAttributes
Interface of attributes that contains only interger, boolean or string values.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAttribute
Attribute
|
class |
AttributeCheckBox
AttributeComboBox
|
class |
AttributeComboBox
AttributeComboBox
|
class |
AttributeImage
AttributeComboBox
|
class |
AttributeRadioButton
class EntryTypeRadioButton
|
class |
AttributeText
AttributeText
|
Modifier and Type | Method and Description |
---|---|
static IAttribute |
AttributeHome.findByPrimaryKey(int nIdAttribute,
Locale locale)
Load attribute
|
IAttribute |
AdminUserField.getAttribute()
Get attribute
|
IAttribute |
AttributeField.getAttribute()
Get attribute
|
IAttribute |
AttributeDAO.load(int nIdAttribute,
Locale locale)
Load attribute
|
IAttribute |
IAttributeDAO.load(int nIdAttribute,
Locale locale)
Load attribute
|
IAttribute |
AttributeFieldDAO.selectAttributeByIdField(int nIdField)
Select attribute by id field
|
static IAttribute |
AttributeFieldHome.selectAttributeByIdField(int nIdField)
Load the attribute associated to the id field
|
IAttribute |
IAttributeFieldDAO.selectAttributeByIdField(int nIdField)
Select attribute by id field
|
Modifier and Type | Method and Description |
---|---|
static List<IAttribute> |
AttributeHome.findAll(Locale locale)
Load every attributes
|
static List<IAttribute> |
AttributeHome.findCoreAttributes(Locale locale)
Load every attributes that do not come from a plugin
|
static List<IAttribute> |
AttributeHome.findPluginAttributes(String strPluginName,
Locale locale)
Load every attributes associated to a plugin
|
List<IAttribute> |
AttributeDAO.selectAll(Locale locale)
Load every attributes
|
List<IAttribute> |
IAttributeDAO.selectAll(Locale locale)
Load every attributes
|
List<IAttribute> |
AttributeDAO.selectCoreAttributes(Locale locale)
Load every attributes that do not come from a plugin
|
List<IAttribute> |
IAttributeDAO.selectCoreAttributes(Locale locale)
Load every attributes that do not come from a plugin
|
List<IAttribute> |
AttributeDAO.selectPluginAttributes(String strPluginName,
Locale locale)
Load every attributes from plugin name
|
List<IAttribute> |
IAttributeDAO.selectPluginAttributes(String strPluginName,
Locale locale)
Load every attributes from plugin name
|
Modifier and Type | Method and Description |
---|---|
static int |
AttributeHome.create(IAttribute attribute)
Insert an new attribute
|
int |
AttributeDAO.insert(IAttribute attribute)
Insert a new attribute
|
int |
IAttributeDAO.insert(IAttribute attribute)
Insert a new attribute
|
void |
AdminUserField.setAttribute(IAttribute attribute)
Set attribute
|
void |
AttributeField.setAttribute(IAttribute attribute)
Set attribute
|
void |
AttributeDAO.store(IAttribute attribute)
Update an attribute
|
void |
IAttributeDAO.store(IAttribute attribute)
Update an attribute
|
static void |
AttributeHome.update(IAttribute attribute)
Update an attribute
|
Modifier and Type | Method and Description |
---|---|
static String |
AdminUserService.getXmlFromUser(AdminUser user,
boolean bIncludeRoles,
boolean bIncludeRights,
boolean bIncludeWorkgroups,
boolean bIncludeAttributes,
List<IAttribute> listAttributes)
Get a XML string describing a user.
The XML is constructed as follow : <user> <access_code>value</value> <last_name>value>/user> <first_name>value</value> <email>value</email> <status>value</status> <locale>value</locale> <level>value</level> <must_change_password>value< must_change_password> <accessibility_mode>value< accessibility_mode> <password_max_valid_date>value< password_max_valid_date> <account_max_valid_date>value< account_max_valid_date> <date_last_login>value</date_last_login> <roles> <role>value</role> ... </roles> <rights> <right>value</right> ... </rights> <workspaces> <workspace>value</workspace> ... </workspaces> <attributes> <attribute> <attribute-id>value</attribute-id> <attribute-field-id> value</attribute-id> <attribute-value>value</attribute-value> </attribute> ... </attributes> </user> Sections roles, rights, workspaces and attributes are not included if data are not imported |
Modifier and Type | Method and Description |
---|---|
IAttribute |
AttributeService.getAttributeWithFields(int nIdAttribute,
Locale locale)
Get the attribute with its attribute fields
|
IAttribute |
AttributeService.getAttributeWithoutFields(int nIdAttribute,
Locale locale)
Get an attribute without its attribute fields
|
Modifier and Type | Method and Description |
---|---|
List<IAttribute> |
AttributeService.getAllAttributesWithFields(Locale locale)
Get all user attributes with its attribute fields
|
List<IAttribute> |
AttributeService.getAllAttributesWithoutFields(Locale locale)
Get all user attribute without its attribute fields.
|
List<IAttribute> |
AttributeService.getCoreAttributesWithFields(Locale locale)
Get core user attributes with its attribute fields
|
List<IAttribute> |
AttributeService.getCoreAttributesWithoutFields(Locale locale)
Get core user attribute without its attribute fields
|
List<IAttribute> |
AttributeService.getPluginAttributesWithFields(String strPluginName,
Locale locale)
Get plugin user attributes with its attribute fields
|
List<IAttribute> |
AttributeService.getPluginAttributesWithoutFields(String strPluginName,
Locale locale)
Get plugin user attribute without its attribute fields
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeService.createAttribute(IAttribute attribute)
Create a new attribute and its attribute field.
|
Object |
AdminUserFieldService.getAdminUserField(IAttribute attribute,
int nUserId,
Locale locale)
Get the admin user field from a given attribute and a given user ID
|
void |
AttributeService.setAttributeField(IAttribute attribute)
Set the attribute field from a given
IAttribute |
void |
AttributeService.updateAttribute(IAttribute attribute)
Update the attribute
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
AdminUserFieldService.getAdminUserFields(List<IAttribute> listAttributes,
int nUserId,
Locale locale)
Get the user attribute fields
|
void |
AttributeService.setAttributeFields(List<IAttribute> listAttributes)
Set the attribute fields from a given list of
IAttribute |
Copyright © 2020 City of Paris. All rights reserved.