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

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

public class AttributeCheckBox
extends AbstractAttribute
implements ISimpleValuesAttributes

AttributeComboBox


Constructor Summary
AttributeCheckBox()
          Constructor
 
Method Summary
 String getPropertyCreatePageTitle()
          Get page title for create page
 String getPropertyModifyPageTitle()
          Get page title for modify page
 String getTemplateCreateAttribute()
          Get the template create an attribute
 String getTemplateHtmlFormAttribute()
          Get the template html form attribute
 String getTemplateHtmlFormSearchAttribute()
          Get the template html form search attribute
 String getTemplateHtmlValue()
          Get the template html for the value of the attribute
 String getTemplateModifyAttribute()
          Get the template modify an attribute
 List<AdminUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request, AdminUser user)
          Get the data of the user fields
 List<AdminUserField> getUserFieldsData(String[] strValues, AdminUser user)
          Get the data of the user fields
 boolean isAnonymizable()
          Get whether the attribute is anonymizable.
 String setAttributeData(javax.servlet.http.HttpServletRequest request)
          Set the data of the attribute
 void setAttributeType(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
clone, equals, finalize, 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
 

Constructor Detail

AttributeCheckBox

public AttributeCheckBox()
Constructor

Method Detail

getTemplateCreateAttribute

public String getTemplateCreateAttribute()
Get the template create an attribute

Specified by:
getTemplateCreateAttribute in interface IAttribute
Returns:
The URL of the template

getTemplateModifyAttribute

public String getTemplateModifyAttribute()
Get the template modify an attribute

Specified by:
getTemplateModifyAttribute in interface IAttribute
Returns:
The URL of the template

getTemplateHtmlFormAttribute

public String getTemplateHtmlFormAttribute()
Get the template html form attribute

Specified by:
getTemplateHtmlFormAttribute in interface IAttribute
Returns:
the template

getTemplateHtmlFormSearchAttribute

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

Specified by:
getTemplateHtmlFormSearchAttribute in interface IAttribute
Returns:
the template

getTemplateHtmlValue

public String getTemplateHtmlValue()
Get the template html for the value of the attribute

Specified by:
getTemplateHtmlValue in interface IAttribute
Returns:
the template

getPropertyCreatePageTitle

public String getPropertyCreatePageTitle()
Get page title for create page

Specified by:
getPropertyCreatePageTitle in interface IAttribute
Returns:
page title

getPropertyModifyPageTitle

public String getPropertyModifyPageTitle()
Get page title for modify page

Specified by:
getPropertyModifyPageTitle in interface IAttribute
Returns:
page title

setAttributeData

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

Specified by:
setAttributeType in interface IAttribute
Parameters:
locale - locale

getUserFieldsData

public 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

getUserFieldsData

public List<AdminUserField> getUserFieldsData(String[] strValues,
                                              AdminUser user)
Get the data of the user fields

Specified by:
getUserFieldsData in interface ISimpleValuesAttributes
Parameters:
strValues - Values
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.


Copyright © 2014 Mairie de Paris. All Rights Reserved.