|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.business.attribute.AbstractAttribute
public abstract class AbstractAttribute
Attribute
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
AbstractAttribute()
Constructor |
|
| Method Summary | |
|---|---|
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 |
| 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.plugins.mylutece.business.attribute.IAttribute |
|---|
getPropertyCreatePageTitle, getPropertyModifyPageTitle, getTemplateCreateAttribute, getTemplateHtmlFormAttribute, getTemplateHtmlFormSearchAttribute, getTemplateModifyAttribute, getUserFieldsData, isAnonymizable, setAttributeData, setAttributeType |
| Field Detail |
|---|
protected 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
| Constructor Detail |
|---|
public AbstractAttribute()
| Method Detail |
|---|
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 - locale
public String getHtmlFormAttribute(Locale locale,
List<MyLuteceUserField> listDefaultValues)
locale - localelistDefaultValues - Default values
public String getHtmlFormSearchAttribute(MyLuteceUserFieldFilter auFieldFilter,
Locale locale)
auFieldFilter - Search filterlocale - locale
public 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 search
public List<MyLuteceUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request,
int nIdUser)
getUserFieldsData in interface IAttributerequest - HttpServletRequestnIdUser - Id of the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||