|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.business.user.attribute.AbstractAttribute
public abstract class AbstractAttribute
Attribute
| 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,
Object listDefaultValues)
Get Html form |
String |
getHtmlFormSearchAttribute(AdminUserFieldFilter auFieldFilter,
Locale locale)
Get Html form |
String |
getHtmlValue(Locale locale,
AdminUserField userField)
Get Html value |
int |
getIdAttribute()
Get ID Attribute |
List<AttributeField> |
getListAttributeFields()
Get list fields |
Plugin |
getPlugin()
Get plugin |
int |
getPosition()
Get position |
String |
getTitle()
Get title |
boolean |
isAttributeImage()
Check if it is an attribute image |
boolean |
isFieldInLine()
Check if the attribute is to be shown in line |
boolean |
isMandatory()
Get Mandatory |
boolean |
isShownInResultList()
Check if the attribute is shown in result list |
boolean |
isShownInSearch()
Check if the attribute is shown in search |
void |
setAnonymize(boolean bAnonymize)
Set the anonymize status of the attribute |
void |
setAttributeImage(boolean bIsAttributeImage)
Set the attribute as an attribute image |
void |
setAttributeType(AttributeType attributeType)
Set attribute Type |
void |
setFieldInLine(boolean bIsFieldInLine)
Set isFieldInLine |
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(Plugin plugin)
Set plugin |
void |
setPosition(int nPosition)
Set position |
void |
setShownInResultList(boolean bIsShownInResultList)
Set isShownInResultList |
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.portal.business.user.attribute.IAttribute |
|---|
getPropertyCreatePageTitle, getPropertyModifyPageTitle, getTemplateCreateAttribute, getTemplateHtmlFormAttribute, getTemplateHtmlFormSearchAttribute, getTemplateHtmlValue, getTemplateModifyAttribute, getUserFieldsData, isAnonymizable, setAttributeData, setAttributeType |
| 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 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 String getHtmlFormAttribute(Locale locale)
locale - locale
public String getHtmlFormAttribute(Locale locale,
Object listDefaultValues)
locale - localelistDefaultValues - the list of default values
public String getHtmlFormSearchAttribute(AdminUserFieldFilter auFieldFilter,
Locale locale)
auFieldFilter - The admin user field filterlocale - locale
public String getHtmlValue(Locale locale,
AdminUserField userField)
locale - LocaleuserField - User field
public Plugin getPlugin()
getPlugin in interface IAttributepublic void setPlugin(Plugin plugin)
setPlugin in interface IAttributeplugin - pluginpublic boolean isShownInSearch()
isShownInSearch in interface IAttributepublic void setShownInSearch(boolean bIsShownInSearch)
setShownInSearch in interface IAttributebIsShownInSearch - shown in searchpublic boolean isFieldInLine()
isFieldInLine in interface IAttributepublic void setFieldInLine(boolean bIsFieldInLine)
setFieldInLine in interface IAttributebIsFieldInLine - shown in linepublic boolean isAttributeImage()
isAttributeImage in interface IAttributepublic void setAttributeImage(boolean bIsAttributeImage)
setAttributeImage in interface IAttributebIsAttributeImage - true if it is an image, false otherwisepublic boolean isShownInResultList()
isShownInResultList in interface IAttributepublic void setShownInResultList(boolean bIsShownInResultList)
setShownInResultList in interface IAttributebIsShownInResultList - shown in result list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||