fr.paris.lutece.portal.business.user.attribute
Class AttributeText

java.lang.Object
  extended by fr.paris.lutece.portal.business.user.attribute.AbstractAttribute
      extended by fr.paris.lutece.portal.business.user.attribute.AttributeText
All Implemented Interfaces:
IAttribute

public class AttributeText
extends AbstractAttribute

AttributeText


Field Summary
 
Fields inherited from class fr.paris.lutece.portal.business.user.attribute.AbstractAttribute
_attributeType, _bIsShownInSearch, _bMandatory, _listAttributeFields, _nIdAttribute, _nPosition, _plugin, _strHelpMessage, _strTitle
 
Constructor Summary
AttributeText()
          Constructor
 
Method Summary
 java.lang.String getPropertyCreatePageTitle()
          Get the page title for create page
 java.lang.String getPropertyModifyPageTitle()
          Get the page title for modify page
 java.lang.String getTemplateCreateAttribute()
          Get the template create an attribute
 java.lang.String getTemplateHtmlFormAttribute()
          Get the template html form attribute
 java.lang.String getTemplateHtmlFormSearchAttribute()
          Get the template html form search attribute
 java.lang.String getTemplateModifyAttribute()
          Get the template modify an attribute
 java.util.List<AdminUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request, AdminUser user)
          Get the data of the user fields
 java.lang.String setAttributeData(javax.servlet.http.HttpServletRequest request)
          Set the data of the attribute
 void setAttributeType(java.util.Locale locale)
          Set attribute type
 
Methods inherited from class fr.paris.lutece.portal.business.user.attribute.AbstractAttribute
getAttributeType, getHelpMessage, getHtmlFormAttribute, getHtmlFormAttribute, getHtmlFormSearchAttribute, getIdAttribute, getListAttributeFields, getPlugin, getPosition, getTitle, isMandatory, isShownInSearch, setAttributeType, setHelpMessage, setIdAttribute, setListAttributeFields, setMandatory, setPlugin, setPosition, setShownInSearch, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeText

public AttributeText()
Constructor

Parameters:
locale - locale
Method Detail

getTemplateCreateAttribute

public java.lang.String getTemplateCreateAttribute()
Get the template create an attribute

Returns:
The URL of the template

getTemplateModifyAttribute

public java.lang.String getTemplateModifyAttribute()
Get the template modify an attribute

Returns:
The URL of the template

getTemplateHtmlFormAttribute

public java.lang.String getTemplateHtmlFormAttribute()
Get the template html form attribute

Returns:
the template

getTemplateHtmlFormSearchAttribute

public java.lang.String getTemplateHtmlFormSearchAttribute()
Get the template html form search attribute

Returns:
the template

getPropertyCreatePageTitle

public java.lang.String getPropertyCreatePageTitle()
Get the page title for create page

Returns:
page title

getPropertyModifyPageTitle

public java.lang.String getPropertyModifyPageTitle()
Get the page title for modify page

Returns:
page title

setAttributeData

public java.lang.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(java.util.Locale locale)
Set attribute type

Parameters:
locale - locale

getUserFieldsData

public java.util.List<AdminUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request,
                                                        AdminUser user)
Get the data of the user fields

Parameters:
request - HttpServletRequest
user - user
Returns:
user field data


Copyright © 2010 Mairie de Paris. All Rights Reserved.