Class AttributeRadioButton
java.lang.Object
fr.paris.lutece.portal.business.user.attribute.AbstractAttribute
fr.paris.lutece.portal.business.user.attribute.AttributeRadioButton
- All Implemented Interfaces:
IAttribute,ISimpleValuesAttributes
@ApplicationScoped
public class AttributeRadioButton
extends AbstractAttribute
implements ISimpleValuesAttributes
class EntryTypeRadioButton
-
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(jakarta.servlet.http.HttpServletRequest request, AdminUser user) Get the data of the user fieldsgetUserFieldsData(String[] strValues, AdminUser user) Get the data of the user fieldsbooleanGet whether the attribute is anonymizable.setAttributeData(jakarta.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, setTitleMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
AttributeRadioButton
public AttributeRadioButton()Constructor
-
-
Method Details
-
getTemplateCreateAttribute
Get the template create an attribute- Specified by:
getTemplateCreateAttributein interfaceIAttribute- Returns:
- The URL of the template
-
getTemplateModifyAttribute
Get the template modify an attribute- Specified by:
getTemplateModifyAttributein interfaceIAttribute- Returns:
- The URL of the template
-
getTemplateHtmlFormAttribute
Get the template html form attribute- Specified by:
getTemplateHtmlFormAttributein interfaceIAttribute- Returns:
- the template
-
getTemplateHtmlFormSearchAttribute
Get the template html form search attribute- Specified by:
getTemplateHtmlFormSearchAttributein interfaceIAttribute- Returns:
- the template
-
getTemplateHtmlValue
Get the template html for the value of the attribute- Specified by:
getTemplateHtmlValuein interfaceIAttribute- Returns:
- the template
-
getPropertyCreatePageTitle
Get page title for create page- Specified by:
getPropertyCreatePageTitlein interfaceIAttribute- Returns:
- page title
-
getPropertyModifyPageTitle
Get page title for modify page- Specified by:
getPropertyModifyPageTitlein interfaceIAttribute- Returns:
- page title
-
setAttributeData
Set the data of the attribute- Specified by:
setAttributeDatain interfaceIAttribute- Parameters:
request- HttpServletRequest- Returns:
- null if there are no errors
-
setAttributeType
Set attribute type- Specified by:
setAttributeTypein interfaceIAttribute- Parameters:
locale- locale
-
getUserFieldsData
public List<AdminUserField> getUserFieldsData(jakarta.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
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.
-