Class AttributeComboBox
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.business.attribute.AbstractAttribute
-
- fr.paris.lutece.plugins.mylutece.business.attribute.AttributeComboBox
-
- All Implemented Interfaces:
IAttribute
public class AttributeComboBox extends AbstractAttribute
AttributeComboBox
-
-
Constructor Summary
Constructors Constructor Description AttributeComboBox()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPropertyCreatePageTitle()Get page title for create pagejava.lang.StringgetPropertyModifyPageTitle()Get page title for modify pagejava.lang.StringgetTemplateCreateAttribute()Get the template create an attributejava.lang.StringgetTemplateHtmlFormAttribute()Get the template html form attributejava.lang.StringgetTemplateHtmlFormSearchAttribute()Get the template html form search attributejava.lang.StringgetTemplateModifyAttribute()Get the template modify an attributejava.util.List<MyLuteceUserField>getUserFieldsData(java.lang.String[] values, int nIdUser)Get user fields objects from valuesbooleanisAnonymizable()Get whether the attribute is anonymizable.java.lang.StringsetAttributeData(javax.servlet.http.HttpServletRequest request)Set the data of the attributevoidsetAttributeType(java.util.Locale locale)Set attribute type-
Methods inherited from class fr.paris.lutece.plugins.mylutece.business.attribute.AbstractAttribute
getAnonymize, getAttributeType, getHelpMessage, getHtmlFormAttribute, getHtmlFormAttribute, getHtmlFormSearchAttribute, getIdAttribute, getListAttributeFields, getPlugin, getPosition, getTitle, getUserFieldsData, isMandatory, isShownInSearch, setAnonymize, setAttributeType, setHelpMessage, setIdAttribute, setListAttributeFields, setMandatory, setPlugin, setPosition, setShownInSearch, setTitle
-
-
-
-
Method Detail
-
getTemplateCreateAttribute
public java.lang.String getTemplateCreateAttribute()
Get the template create an attribute- Returns:
- The URL of the template
-
getTemplateModifyAttribute
public java.lang.String getTemplateModifyAttribute()
Get the template modify an attribute- Returns:
- The URL of the template
-
getTemplateHtmlFormAttribute
public java.lang.String getTemplateHtmlFormAttribute()
Get the template html form attribute- Returns:
- the template
-
getTemplateHtmlFormSearchAttribute
public java.lang.String getTemplateHtmlFormSearchAttribute()
Get the template html form search attribute- Returns:
- the template
-
getPropertyCreatePageTitle
public java.lang.String getPropertyCreatePageTitle()
Get page title for create page- Returns:
- page title
-
getPropertyModifyPageTitle
public java.lang.String getPropertyModifyPageTitle()
Get page title for modify page- Returns:
- page title
-
setAttributeData
public java.lang.String setAttributeData(javax.servlet.http.HttpServletRequest request)
Set the data of the attribute- Parameters:
request- HttpServletRequest- Returns:
- null if there are no errors
-
setAttributeType
public void setAttributeType(java.util.Locale locale)
Set attribute type- Parameters:
locale- locale
-
getUserFieldsData
public java.util.List<MyLuteceUserField> getUserFieldsData(java.lang.String[] values, int nIdUser)
Get user fields objects from values- Parameters:
values- The values of user fields. May contain either the value of the user field or its titlenIdUser- The id of the user- Returns:
- The user fields
-
isAnonymizable
public boolean isAnonymizable()
Get whether the attribute is anonymizable.- Returns:
- True if the attribute can be anonymized, false otherwise.
-
-