Class AttributeImage
- java.lang.Object
-
- fr.paris.lutece.portal.business.user.attribute.AbstractAttribute
-
- fr.paris.lutece.portal.business.user.attribute.AttributeImage
-
- All Implemented Interfaces:
IAttribute
public class AttributeImage extends AbstractAttribute
AttributeComboBox
-
-
Constructor Summary
Constructors Constructor Description AttributeImage()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPropertyCreatePageTitle()Get page title for create pageStringgetPropertyModifyPageTitle()Get page title for modify pageStringgetTemplateCreateAttribute()Get the template create an attributeStringgetTemplateHtmlFormAttribute()Get the template html form attributeStringgetTemplateHtmlFormSearchAttribute()Get the template html form search attributeStringgetTemplateHtmlValue()Get the template html for the value of the attributeStringgetTemplateModifyAttribute()Get the template modify an attributeList<AdminUserField>getUserFieldsData(javax.servlet.http.HttpServletRequest request, AdminUser user)Get the data of the user fieldsbooleanisAnonymizable()Get whether the attribute is anonymizable.StringsetAttributeData(javax.servlet.http.HttpServletRequest request)Set the data of the attributevoidsetAttributeType(Locale locale)Set attribute type-
Methods inherited from class fr.paris.lutece.portal.business.user.attribute.AbstractAttribute
getAnonymize, getAttributeType, getHelpMessage, getHtmlFormAttribute, getHtmlFormAttribute, getHtmlFormSearchAttribute, getHtmlValue, getIdAttribute, getListAttributeFields, getPlugin, getPosition, getTitle, isAttributeImage, isFieldInLine, isMandatory, isShownInResultList, isShownInSearch, setAnonymize, setAttributeImage, setAttributeType, setFieldInLine, setHelpMessage, setIdAttribute, setListAttributeFields, setMandatory, setPlugin, setPosition, setShownInResultList, setShownInSearch, setTitle
-
-
-
-
Method Detail
-
getTemplateCreateAttribute
public String getTemplateCreateAttribute()
Get the template create an attribute- Returns:
- The URL of the template
-
getTemplateModifyAttribute
public String getTemplateModifyAttribute()
Get the template modify an attribute- Returns:
- The URL of the template
-
getTemplateHtmlFormAttribute
public String getTemplateHtmlFormAttribute()
Get the template html form attribute- Returns:
- the template
-
getTemplateHtmlFormSearchAttribute
public String getTemplateHtmlFormSearchAttribute()
Get the template html form search attribute- Returns:
- the template
-
getTemplateHtmlValue
public String getTemplateHtmlValue()
Get the template html for the value of the attribute- Returns:
- the template
-
getPropertyCreatePageTitle
public String getPropertyCreatePageTitle()
Get page title for create page- Returns:
- page title
-
getPropertyModifyPageTitle
public String getPropertyModifyPageTitle()
Get page title for modify page- Returns:
- page title
-
setAttributeData
public 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(Locale locale)
Set attribute type- Parameters:
locale- locale
-
getUserFieldsData
public List<AdminUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request, AdminUser user)
Get the data of the user fields- Parameters:
request- HttpServletRequestuser- user- Returns:
- user field data
-
isAnonymizable
public boolean isAnonymizable()
Get whether the attribute is anonymizable.- Returns:
- True if the attribute can be anonymized, false otherwise.
-
-