java.lang.Object
fr.paris.lutece.plugins.mylutece.business.attribute.AbstractAttribute
fr.paris.lutece.plugins.mylutece.business.attribute.AttributeText
All Implemented Interfaces:
IAttribute

public class AttributeText extends AbstractAttribute
AttributeText
  • Constructor Details

    • AttributeText

      public AttributeText()
      Constructor
  • Method Details

    • 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
    • getPropertyCreatePageTitle

      public String getPropertyCreatePageTitle()
      Get the page title for create page
      Returns:
      page title
    • getPropertyModifyPageTitle

      public String getPropertyModifyPageTitle()
      Get the 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<MyLuteceUserField> getUserFieldsData(String[] values, int nIdUser)
      Get the data of the user fields
      Parameters:
      values - The values of user fields
      nIdUser - Id of the 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.