Class AttributeText

    • Constructor Detail

      • AttributeText

        public AttributeText()
        Constructor
    • Method Detail

      • getTemplateCreateAttribute

        public java.lang.String getTemplateCreateAttribute()
        Get the template create an attribute
        Specified by:
        getTemplateCreateAttribute in interface IAttribute
        Returns:
        The URL of the template
      • getTemplateModifyAttribute

        public java.lang.String getTemplateModifyAttribute()
        Get the template modify an attribute
        Specified by:
        getTemplateModifyAttribute in interface IAttribute
        Returns:
        The URL of the template
      • getTemplateHtmlFormAttribute

        public java.lang.String getTemplateHtmlFormAttribute()
        Get the template html form attribute
        Specified by:
        getTemplateHtmlFormAttribute in interface IAttribute
        Returns:
        the template
      • getTemplateHtmlFormSearchAttribute

        public java.lang.String getTemplateHtmlFormSearchAttribute()
        Get the template html form search attribute
        Specified by:
        getTemplateHtmlFormSearchAttribute in interface IAttribute
        Returns:
        the template
      • getTemplateHtmlValue

        public java.lang.String getTemplateHtmlValue()
        Get the template html for the value of the attribute
        Specified by:
        getTemplateHtmlValue in interface IAttribute
        Returns:
        the template
      • getPropertyCreatePageTitle

        public java.lang.String getPropertyCreatePageTitle()
        Get the page title for create page
        Specified by:
        getPropertyCreatePageTitle in interface IAttribute
        Returns:
        page title
      • getPropertyModifyPageTitle

        public java.lang.String getPropertyModifyPageTitle()
        Get the page title for modify page
        Specified by:
        getPropertyModifyPageTitle in interface IAttribute
        Returns:
        page title
      • setAttributeData

        public java.lang.String setAttributeData​(javax.servlet.http.HttpServletRequest request)
        Set the data of the attribute
        Specified by:
        setAttributeData in interface IAttribute
        Parameters:
        request - HttpServletRequest
        Returns:
        null if there are no errors
      • setAttributeType

        public void setAttributeType​(java.util.Locale locale)
        Set attribute type
        Specified by:
        setAttributeType in interface IAttribute
        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:
        getUserFieldsData in interface IAttribute
        Parameters:
        request - HttpServletRequest
        user - user
        Returns:
        user field data
      • isAnonymizable

        public boolean isAnonymizable()
        Get whether the attribute is anonymizable.
        Specified by:
        isAnonymizable in interface IAttribute
        Returns:
        True if the attribute can be anonymized, false otherwise.