|
||||||||||
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 |
_bIsShownInSearch
|
protected boolean |
_bMandatory
|
protected java.util.List<AttributeField> |
_listAttributeFields
|
protected int |
_nIdAttribute
|
protected int |
_nPosition
|
protected fr.paris.lutece.portal.service.plugin.Plugin |
_plugin
|
protected java.lang.String |
_strHelpMessage
|
protected java.lang.String |
_strTitle
|
Constructor Summary | |
---|---|
AbstractAttribute()
Constructor |
Method Summary | |
---|---|
AttributeType |
getAttributeType()
Get attribute type |
java.lang.String |
getHelpMessage()
Get help Message |
java.lang.String |
getHtmlFormAttribute(java.util.Locale locale)
Get Html form |
java.lang.String |
getHtmlFormAttribute(java.util.Locale locale,
java.util.List<MyLuteceUserField> listDefaultValues)
Get Html form |
java.lang.String |
getHtmlFormSearchAttribute(MyLuteceUserFieldFilter auFieldFilter,
java.util.Locale locale)
Get Html form |
int |
getIdAttribute()
Get ID Attribute |
java.util.List<AttributeField> |
getListAttributeFields()
Get list fields |
fr.paris.lutece.portal.service.plugin.Plugin |
getPlugin()
Get plugin |
int |
getPosition()
Get position |
java.lang.String |
getTitle()
Get title |
boolean |
isMandatory()
Get Mandatory |
boolean |
isShownInSearch()
Check if the attribute is shown in search |
void |
setAttributeType(AttributeType attributeType)
Set attribute Type |
void |
setHelpMessage(java.lang.String strHelpMessage)
Set help message |
void |
setIdAttribute(int nIdAttribute)
Set ID Attribute |
void |
setListAttributeFields(java.util.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(java.lang.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, setAttributeData, setAttributeType |
Field Detail |
---|
protected int _nIdAttribute
protected boolean _bMandatory
protected java.lang.String _strTitle
protected java.lang.String _strHelpMessage
protected int _nPosition
protected AttributeType _attributeType
protected java.util.List<AttributeField> _listAttributeFields
protected fr.paris.lutece.portal.service.plugin.Plugin _plugin
protected boolean _bIsShownInSearch
Constructor Detail |
---|
public AbstractAttribute()
Method Detail |
---|
public int getIdAttribute()
getIdAttribute
in interface IAttribute
public void setIdAttribute(int nIdAttribute)
setIdAttribute
in interface IAttribute
nIdAttribute
- ID Attributepublic boolean isMandatory()
isMandatory
in interface IAttribute
public void setMandatory(boolean bMandatory)
setMandatory
in interface IAttribute
mandatory
- true if it's mandatory, false otherwisepublic java.util.List<AttributeField> getListAttributeFields()
getListAttributeFields
in interface IAttribute
public void setListAttributeFields(java.util.List<AttributeField> listAttributeFields)
setListAttributeFields
in interface IAttribute
listAttributeField
- list fieldspublic java.lang.String getTitle()
getTitle
in interface IAttribute
public void setTitle(java.lang.String strTitle)
setTitle
in interface IAttribute
strTitle
- titlepublic java.lang.String getHelpMessage()
getHelpMessage
in interface IAttribute
public void setHelpMessage(java.lang.String strHelpMessage)
setHelpMessage
in interface IAttribute
strHelpMessage
- help messagepublic int getPosition()
getPosition
in interface IAttribute
public void setPosition(int nPosition)
setPosition
in interface IAttribute
nPosition
- positionpublic AttributeType getAttributeType()
getAttributeType
in interface IAttribute
public void setAttributeType(AttributeType attributeType)
setAttributeType
in interface IAttribute
attributeType
- attribute typepublic java.lang.String getHtmlFormAttribute(java.util.Locale locale)
locale
- locale
public java.lang.String getHtmlFormAttribute(java.util.Locale locale, java.util.List<MyLuteceUserField> listDefaultValues)
locale
- locale
public java.lang.String getHtmlFormSearchAttribute(MyLuteceUserFieldFilter auFieldFilter, java.util.Locale locale)
locale
- locale
public fr.paris.lutece.portal.service.plugin.Plugin getPlugin()
getPlugin
in interface IAttribute
public void setPlugin(fr.paris.lutece.portal.service.plugin.Plugin plugin)
setPlugin
in interface IAttribute
plugin
- pluginpublic boolean isShownInSearch()
isShownInSearch
in interface IAttribute
public void setShownInSearch(boolean bIsShownInSearch)
setShownInSearch
in interface IAttribute
bIsShownInSearch
- shown in search
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |