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, waitgetClientId, getFieldValuesMap, getFormRenderConfig, getFRQSessionAttributes, getI18nValue, getLocale, getValues, isValuesEmptypublic 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 IXValidationParamspublic IXItemPropertiesData getXItemPropertiesData()
getXItemPropertiesData in interface IXValidationParamsXPropertyEnum) of the form item to validate.public String getI18nValue(String i18nKey)
getI18nValue in interface IXBaseValidationParamsi18nKey - I18n key for the localized message.public long getClientId()
getClientId in interface IXBaseValidationParamspublic Map<String,List<String[]>> getFieldValuesMap()
getFieldValuesMap in interface IXBaseValidationParamspublic IXFormRenderConfig getFormRenderConfig()
getFormRenderConfig in interface IXBaseValidationParamspublic List<String[]> getValues(String key)
getValues in interface IXBaseValidationParamspublic Map<Serializable,Serializable> getFRQSessionAttributes()
getFRQSessionAttributes in interface IXBaseValidationParamspublic boolean isValuesEmpty(List<String[]> values)
isValuesEmpty in interface IXBaseValidationParamsvalues - 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.