fr.paris.lutece.plugins.mylutece.business.attribute
public abstract class AbstractAttribute extends Object implements IAttribute
| Modifier and Type | Field and Description |
|---|---|
protected AttributeType |
_attributeType |
protected boolean |
_bAnonymize |
protected boolean |
_bIsShownInSearch |
protected boolean |
_bMandatory |
protected List<AttributeField> |
_listAttributeFields |
protected int |
_nIdAttribute |
protected int |
_nPosition |
protected fr.paris.lutece.portal.service.plugin.Plugin |
_plugin |
protected String |
_strHelpMessage |
protected String |
_strTitle |
| Constructor and Description |
|---|
AbstractAttribute()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAnonymize()
Get the anonymize status of the attribute
|
AttributeType |
getAttributeType()
Get attribute type
|
String |
getHelpMessage()
Get help Message
|
String |
getHtmlFormAttribute(Locale locale)
Get Html form
|
String |
getHtmlFormAttribute(Locale locale,
List<MyLuteceUserField> listDefaultValues)
Get Html form
|
String |
getHtmlFormSearchAttribute(MyLuteceUserFieldFilter auFieldFilter,
Locale locale)
Get Html form
|
int |
getIdAttribute()
Get ID Attribute
|
List<AttributeField> |
getListAttributeFields()
Get list fields
|
fr.paris.lutece.portal.service.plugin.Plugin |
getPlugin()
Get plugin
|
int |
getPosition()
Get position
|
String |
getTitle()
Get title
|
List<MyLuteceUserField> |
getUserFieldsData(javax.servlet.http.HttpServletRequest request,
int nIdUser)
Get the data of the user fields
|
boolean |
isMandatory()
Get Mandatory
|
boolean |
isShownInSearch()
Check if the attribute is shown in search
|
void |
setAnonymize(boolean bAnonymize)
Set the anonymize status of the attribute
|
void |
setAttributeType(AttributeType attributeType)
Set attribute Type
|
void |
setHelpMessage(String strHelpMessage)
Set help message
|
void |
setIdAttribute(int nIdAttribute)
Set ID Attribute
|
void |
setListAttributeFields(List<AttributeField> listAttributeFields)
Set list fields
|
void |
setMandatory(boolean bMandatory)
Set mandatory
|
void |
setPlugin(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Set plugin
|
void |
setPosition(int nPosition)
Set position
|
void |
setShownInSearch(boolean bIsShownInSearch)
Set isShownInSearch
|
void |
setTitle(String strTitle)
Set title
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertyCreatePageTitle, getPropertyModifyPageTitle, getTemplateCreateAttribute, getTemplateHtmlFormAttribute, getTemplateHtmlFormSearchAttribute, getTemplateModifyAttribute, getUserFieldsData, isAnonymizable, setAttributeData, setAttributeTypeprotected int _nIdAttribute
protected boolean _bMandatory
protected String _strTitle
protected String _strHelpMessage
protected int _nPosition
protected AttributeType _attributeType
protected List<AttributeField> _listAttributeFields
protected fr.paris.lutece.portal.service.plugin.Plugin _plugin
protected boolean _bIsShownInSearch
protected boolean _bAnonymize
public int getIdAttribute()
getIdAttribute in interface IAttributepublic void setIdAttribute(int nIdAttribute)
setIdAttribute in interface IAttributenIdAttribute - ID Attributepublic boolean isMandatory()
isMandatory in interface IAttributepublic void setMandatory(boolean bMandatory)
setMandatory in interface IAttributebMandatory - true if it's mandatory, false otherwisepublic List<AttributeField> getListAttributeFields()
getListAttributeFields in interface IAttributepublic void setListAttributeFields(List<AttributeField> listAttributeFields)
setListAttributeFields in interface IAttributelistAttributeFields - list fieldspublic String getTitle()
getTitle in interface IAttributepublic void setTitle(String strTitle)
setTitle in interface IAttributestrTitle - titlepublic String getHelpMessage()
getHelpMessage in interface IAttributepublic void setHelpMessage(String strHelpMessage)
setHelpMessage in interface IAttributestrHelpMessage - help messagepublic int getPosition()
getPosition in interface IAttributepublic void setPosition(int nPosition)
setPosition in interface IAttributenPosition - positionpublic AttributeType getAttributeType()
getAttributeType in interface IAttributepublic void setAttributeType(AttributeType attributeType)
setAttributeType in interface IAttributeattributeType - attribute typepublic String getHtmlFormAttribute(Locale locale)
locale - localepublic String getHtmlFormAttribute(Locale locale, List<MyLuteceUserField> listDefaultValues)
locale - localelistDefaultValues - Default valuespublic String getHtmlFormSearchAttribute(MyLuteceUserFieldFilter auFieldFilter, Locale locale)
auFieldFilter - Search filterlocale - localepublic fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
getPlugin in interface IAttributepublic void setPlugin(fr.paris.lutece.portal.service.plugin.Plugin plugin)
setPlugin in interface IAttributeplugin - pluginpublic boolean getAnonymize()
getAnonymize in interface IAttributepublic void setAnonymize(boolean bAnonymize)
setAnonymize in interface IAttributebAnonymize - New anonymize status. True if the attribute should be
anonymize, false otherwise.public boolean isShownInSearch()
isShownInSearch in interface IAttributepublic void setShownInSearch(boolean bIsShownInSearch)
setShownInSearch in interface IAttributebIsShownInSearch - shown in searchpublic List<MyLuteceUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request, int nIdUser)
getUserFieldsData in interface IAttributerequest - HttpServletRequestnIdUser - Id of the userCopyright © 2014 Mairie de Paris. All rights reserved.