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
AttributeComboBox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet page title for create pageGet page title for modify pageGet the template create an attributeGet the template html form attributeGet the template html form search attributeGet the template html for the value of the attributeGet the template modify an attributegetUserFieldsData(javax.servlet.http.HttpServletRequest request, AdminUser user) Get the data of the user fieldsbooleanGet whether the attribute is anonymizable.setAttributeData(javax.servlet.http.HttpServletRequest request) Set the data of the attributevoidsetAttributeType(Locale locale) Set attribute typeMethods 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
-
Constructor Details
-
AttributeImage
public AttributeImage()Constructor
-
-
Method Details
-
getTemplateCreateAttribute
Get the template create an attribute- Returns:
- The URL of the template
-
getTemplateModifyAttribute
Get the template modify an attribute- Returns:
- The URL of the template
-
getTemplateHtmlFormAttribute
Get the template html form attribute- Returns:
- the template
-
getTemplateHtmlFormSearchAttribute
Get the template html form search attribute- Returns:
- the template
-
getTemplateHtmlValue
Get the template html for the value of the attribute- Returns:
- the template
-
getPropertyCreatePageTitle
Get page title for create page- Returns:
- page title
-
getPropertyModifyPageTitle
Get page title for modify page- Returns:
- page title
-
setAttributeData
Set the data of the attribute- Parameters:
request- HttpServletRequest- Returns:
- null if there are no errors
-
setAttributeType
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.
-