Class AttributeText
- java.lang.Object
-
- fr.paris.lutece.portal.business.user.attribute.AbstractAttribute
-
- fr.paris.lutece.portal.business.user.attribute.AttributeText
-
- All Implemented Interfaces:
IAttribute,ISimpleValuesAttributes
public class AttributeText extends AbstractAttribute implements ISimpleValuesAttributes
AttributeText
-
-
Constructor Summary
Constructors Constructor Description AttributeText()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPropertyCreatePageTitle()Get the page title for create pagejava.lang.StringgetPropertyModifyPageTitle()Get the 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.StringgetTemplateHtmlValue()Get the template html for the value of the attributejava.lang.StringgetTemplateModifyAttribute()Get the template modify an attributejava.util.List<AdminUserField>getUserFieldsData(java.lang.String[] strValues, AdminUser user)Get the data of the user fieldsjava.util.List<AdminUserField>getUserFieldsData(javax.servlet.http.HttpServletRequest request, AdminUser user)Get the data of the user fieldsbooleanisAnonymizable()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.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
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.portal.business.user.attribute.IAttribute
getAnonymize, getAttributeType, getHelpMessage, 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 java.lang.String getTemplateCreateAttribute()
Get the template create an attribute- Specified by:
getTemplateCreateAttributein interfaceIAttribute- Returns:
- The URL of the template
-
getTemplateModifyAttribute
public java.lang.String getTemplateModifyAttribute()
Get the template modify an attribute- Specified by:
getTemplateModifyAttributein interfaceIAttribute- Returns:
- The URL of the template
-
getTemplateHtmlFormAttribute
public java.lang.String getTemplateHtmlFormAttribute()
Get the template html form attribute- Specified by:
getTemplateHtmlFormAttributein interfaceIAttribute- Returns:
- the template
-
getTemplateHtmlFormSearchAttribute
public java.lang.String getTemplateHtmlFormSearchAttribute()
Get the template html form search attribute- Specified by:
getTemplateHtmlFormSearchAttributein interfaceIAttribute- Returns:
- the template
-
getTemplateHtmlValue
public java.lang.String getTemplateHtmlValue()
Get the template html for the value of the attribute- Specified by:
getTemplateHtmlValuein interfaceIAttribute- Returns:
- the template
-
getPropertyCreatePageTitle
public java.lang.String getPropertyCreatePageTitle()
Get the page title for create page- Specified by:
getPropertyCreatePageTitlein interfaceIAttribute- Returns:
- page title
-
getPropertyModifyPageTitle
public java.lang.String getPropertyModifyPageTitle()
Get the page title for modify page- Specified by:
getPropertyModifyPageTitlein interfaceIAttribute- Returns:
- page title
-
setAttributeData
public java.lang.String setAttributeData(javax.servlet.http.HttpServletRequest request)
Set the data of the attribute- Specified by:
setAttributeDatain interfaceIAttribute- Parameters:
request- HttpServletRequest- Returns:
- null if there are no errors
-
setAttributeType
public void setAttributeType(java.util.Locale locale)
Set attribute type- Specified by:
setAttributeTypein interfaceIAttribute- Parameters:
locale- locale
-
getUserFieldsData
public java.util.List<AdminUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request, AdminUser user)
Get the data of the user fields- Specified by:
getUserFieldsDatain interfaceIAttribute- Parameters:
request- HttpServletRequestuser- user- Returns:
- user field data
-
getUserFieldsData
public java.util.List<AdminUserField> getUserFieldsData(java.lang.String[] strValues, AdminUser user)
Get the data of the user fields- Specified by:
getUserFieldsDatain interfaceISimpleValuesAttributes- Parameters:
strValues- Valuesuser- user- Returns:
- user field data
-
isAnonymizable
public boolean isAnonymizable()
Get whether the attribute is anonymizable.- Specified by:
isAnonymizablein interfaceIAttribute- Returns:
- True if the attribute can be anonymized, false otherwise.
-
-