public interface IAttribute
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
|
int |
getIdAttribute()
Get ID Attribute
|
List<AttributeField> |
getListAttributeFields()
Get list fields
|
Plugin |
getPlugin()
Get plugin
|
int |
getPosition()
Get position
|
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
|
String |
getTitle()
Get title
|
List<AdminUserField> |
getUserFieldsData(javax.servlet.http.HttpServletRequest request,
AdminUser user)
Get the data of the user fields
|
boolean |
isAnonymizable()
Get whether the attribute is anonymizable.
|
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
|
String |
setAttributeData(javax.servlet.http.HttpServletRequest request)
Set the data of the attribute
|
void |
setAttributeImage(boolean bIsAttributeImage)
Set the attribute as an attribute image
|
void |
setAttributeType(AttributeType attributeType)
Set attribute Type
|
void |
setAttributeType(Locale locale)
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
|
int getIdAttribute()
void setIdAttribute(int nIdAttribute)
nIdAttribute
- ID Attributeboolean isMandatory()
void setMandatory(boolean bMandatory)
bMandatory
- true if it's mandatory, false otherwiseList<AttributeField> getListAttributeFields()
void setListAttributeFields(List<AttributeField> listAttributeFields)
listAttributeFields
- list fieldsString getTitle()
void setTitle(String strTitle)
strTitle
- titleString getHelpMessage()
void setHelpMessage(String strHelpMessage)
strHelpMessage
- help messageint getPosition()
void setPosition(int nPosition)
nPosition
- positionAttributeType getAttributeType()
void setAttributeType(AttributeType attributeType)
attributeType
- attribute typePlugin getPlugin()
void setPlugin(Plugin plugin)
plugin
- pluginboolean isShownInSearch()
void setShownInSearch(boolean bIsShownInSearch)
bIsShownInSearch
- shown in searchboolean isShownInResultList()
void setShownInResultList(boolean bIsShownInResultList)
bIsShownInResultList
- shown in result listboolean isFieldInLine()
void setFieldInLine(boolean bIsFieldInLine)
bIsFieldInLine
- shown in lineboolean getAnonymize()
void setAnonymize(boolean bAnonymize)
bAnonymize
- New anonymize status. True if the attribute should be anonymize, false otherwise.List<AdminUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request, AdminUser user)
request
- HttpServletRequestuser
- uservoid setAttributeType(Locale locale)
locale
- localeString getPropertyCreatePageTitle()
String getPropertyModifyPageTitle()
String getTemplateCreateAttribute()
String getTemplateModifyAttribute()
String getTemplateHtmlFormAttribute()
String getTemplateHtmlFormSearchAttribute()
String getTemplateHtmlValue()
String setAttributeData(javax.servlet.http.HttpServletRequest request)
request
- HttpServletRequestboolean isAttributeImage()
void setAttributeImage(boolean bIsAttributeImage)
bIsAttributeImage
- true if it is an image, false otherwiseboolean isAnonymizable()
Copyright © 2020 City of Paris. All rights reserved.