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
|
fr.paris.lutece.portal.service.plugin.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 |
getTemplateModifyAttribute()
Get the template modify an attribute
|
String |
getTitle()
Get title
|
List<MyLuteceUserField> |
getUserFieldsData(javax.servlet.http.HttpServletRequest request,
int nIdUser)
Get the data of the user fields
|
List<MyLuteceUserField> |
getUserFieldsData(String[] values,
int nIdUser)
Get user fields objects from values
|
boolean |
isAnonymizable()
Get whether the attribute is anonymizable.
|
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
|
String |
setAttributeData(javax.servlet.http.HttpServletRequest request)
Set the data of the attribute
|
void |
setAttributeType(AttributeType attributeType)
Set attribute Type
|
void |
setAttributeType(Locale locale)
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
|
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 typefr.paris.lutece.portal.service.plugin.Plugin getPlugin()
void setPlugin(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- pluginboolean getAnonymize()
void setAnonymize(boolean bAnonymize)
bAnonymize
- New anonymize status. True if the attribute should be
anonymize, false otherwise.boolean isShownInSearch()
void setShownInSearch(boolean bIsShownInSearch)
bIsShownInSearch
- shown in searchList<MyLuteceUserField> getUserFieldsData(javax.servlet.http.HttpServletRequest request, int nIdUser)
request
- HttpServletRequestnIdUser
- Id of the uservoid setAttributeType(Locale locale)
locale
- localeString getPropertyCreatePageTitle()
String getPropertyModifyPageTitle()
String getTemplateCreateAttribute()
String getTemplateModifyAttribute()
String getTemplateHtmlFormAttribute()
String getTemplateHtmlFormSearchAttribute()
String setAttributeData(javax.servlet.http.HttpServletRequest request)
request
- HttpServletRequestboolean isAnonymizable()
List<MyLuteceUserField> getUserFieldsData(String[] values, int nIdUser)
values
- The values of user fields. May contain either the value of
the user field or its titlenIdUser
- The id of the userCopyright © 2015 City of Paris. All rights reserved.