public class XValidationParams extends Object implements IXValidationParams
IXValidationParams
.Constructor and Description |
---|
XValidationParams(List<String[]> values,
Map<String,List<String[]>> valuesMap,
IXItemPropertiesData xItemPropertiesData,
IXFormRenderConfig formRenderConfig,
Map<Serializable,Serializable> frqSessionAttributes,
long clientId)
Creates a new params object with the given data.
|
Modifier and Type | Method and Description |
---|---|
long |
getClientId() |
Map<String,List<String[]>> |
getFieldValuesMap() |
IXFormRenderConfig |
getFormRenderConfig() |
Map<Serializable,Serializable> |
getFRQSessionAttributes() |
String |
getI18nValue(String i18nKey) |
List<String[]> |
getValues() |
List<String[]> |
getValues(String key) |
IXItemPropertiesData |
getXItemPropertiesData() |
boolean |
isValuesEmpty(List<String[]> values) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientId, getFieldValuesMap, getFormRenderConfig, getFRQSessionAttributes, getI18nValue, getLocale, getValues, isValuesEmpty
public XValidationParams(List<String[]> values, Map<String,List<String[]>> valuesMap, IXItemPropertiesData xItemPropertiesData, IXFormRenderConfig formRenderConfig, Map<Serializable,Serializable> frqSessionAttributes, long clientId)
values
- The value for IXValidationParams.getValues()
.valuesMap
- The value for IXBaseValidationParams.getFieldValuesMap()
.xItemPropertiesData
- The value for IXValidationParams.getXItemPropertiesData()
.formRenderConfig
- The value for IXBaseValidationParams.getFormRenderConfig()
.frqSessionAttributes
- The value for IXBaseValidationParams.getFRQSessionAttributes()
.clientId
- The value for IXBaseValidationParams.getClientId()
.public List<String[]> getValues()
getValues
in interface IXValidationParams
public IXItemPropertiesData getXItemPropertiesData()
getXItemPropertiesData
in interface IXValidationParams
XPropertyEnum
) of the form item to validate.public String getI18nValue(String i18nKey)
getI18nValue
in interface IXBaseValidationParams
i18nKey
- I18n key for the localized message.public long getClientId()
getClientId
in interface IXBaseValidationParams
public Map<String,List<String[]>> getFieldValuesMap()
getFieldValuesMap
in interface IXBaseValidationParams
public IXFormRenderConfig getFormRenderConfig()
getFormRenderConfig
in interface IXBaseValidationParams
public List<String[]> getValues(String key)
getValues
in interface IXBaseValidationParams
public Map<Serializable,Serializable> getFRQSessionAttributes()
getFRQSessionAttributes
in interface IXBaseValidationParams
public boolean isValuesEmpty(List<String[]> values)
isValuesEmpty
in interface IXBaseValidationParams
values
- List of values of a form field.true
if the values are all empty, or false
otherwise.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.