|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Condition in org.springmodules.validation.bean |
---|
Methods in org.springmodules.validation.bean with parameters of type Condition | |
---|---|
void |
RuleBasedValidator.addGlobalRule(Condition condition,
String errorCode)
Adds a new global validation rule to this validator. |
void |
RuleBasedValidator.addGlobalRule(Condition condition,
String errorCode,
Object[] args)
Adds a new global validation rule to this validator. |
void |
RuleBasedValidator.addGlobalRule(Condition condition,
String errorCode,
String message)
Adds a new global validation rule to this validator. |
void |
RuleBasedValidator.addGlobalRule(Condition condition,
String errorCode,
String message,
Object[] args)
Adds a new global validation rule to this validator. |
void |
RuleBasedValidator.addPropertyRule(String propertyName,
Condition fieldValueCondition,
String errorCode)
Adds the given property rule to this validator. |
void |
RuleBasedValidator.addPropertyRule(String propertyName,
Condition fieldValueCondition,
String errorCode,
Object[] args)
Adds the given property rule to this validator. |
void |
RuleBasedValidator.addPropertyRule(String propertyName,
Condition fieldValueCondition,
String errorCode,
String message,
Object[] args)
Adds the given property rule to this validator. |
Uses of Condition in org.springmodules.validation.bean.conf |
---|
Methods in org.springmodules.validation.bean.conf that return Condition | |
---|---|
Condition |
CascadeValidation.getApplicabilityCondition()
Returns the condition that determines whether the cascading should be applied. |
Methods in org.springmodules.validation.bean.conf with parameters of type Condition | |
---|---|
void |
CascadeValidation.setApplicabilityCondition(Condition applicabilityCondition)
Sets the condition that determines whether the cascading should be applied. |
Constructors in org.springmodules.validation.bean.conf with parameters of type Condition | |
---|---|
CascadeValidation(String propertyName,
Condition applicabilityCondition)
Constructs a new CascadeValidation with a given property name and applicability condition. |
Uses of Condition in org.springmodules.validation.bean.conf.loader.xml.handler |
---|
Methods in org.springmodules.validation.bean.conf.loader.xml.handler that return Condition | |
---|---|
protected Condition |
AbstractPropertyValidationElementHandler.extractApplicabilityCondition(Element element)
Extracts the validation rule applicability condition from the given element. |
protected Condition |
AbstractClassValidationElementHandler.extractApplicabilityCondition(Element element)
Extracts the validation rule applicability condition from the given element. |
Uses of Condition in org.springmodules.validation.bean.rule |
---|
Classes in org.springmodules.validation.bean.rule that implement Condition | |
---|---|
protected static class |
PropertyValidationRule.DefaultApplicabilityCondition
|
Methods in org.springmodules.validation.bean.rule that return Condition | |
---|---|
Condition |
DefaultValidationRule.getApplicabilityCondition()
Returns the applicability condition of this validation rule. |
Condition |
ValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
ValidationMethodValidationRule.getCondition()
|
Condition |
SizeValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
RegExpValidationRule.getCondition()
Returns the regular expression condition. |
Condition |
RangeValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
PropertyValidationRule.getCondition()
Returns the conditoin of this validation rule. |
Condition |
NotNullValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
NotEmptyValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
NotBlankValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
MinValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
MinSizeValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
MinLengthValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
MaxValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
MaxSizeValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
MaxLengthValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
LengthValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
InstantInThePastValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
InstantInTheFutureValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
ExpressionValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
EmailValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
DefaultValidationRule.getCondition()
see ValidationRule.getCondition() |
Condition |
DateInThePastValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
DateInTheFutureValidationRule.getCondition()
Returns the condition of this validation rule. |
Condition |
ConditionReferenceValidationRule.getCondition()
|
Methods in org.springmodules.validation.bean.rule with parameters of type Condition | |
---|---|
void |
PropertyValidationRule.setApplicabilityCondition(Condition applicabilityCondition)
|
void |
DefaultValidationRule.setApplicabilityCondition(Condition applicabilityCondition)
Sets the applicability condition of this validation rule. see DefaultValidationRule.getApplicabilityCondition() . |
void |
AbstractValidationRule.setApplicabilityCondition(Condition applicabilityCondition)
Sets the applicability condition that along with the AbstractValidationRule.supportsNullValues() method determines whether
this condition is applicable on a given object or not. |
void |
DefaultValidationRule.setCondition(Condition condition)
Sets the condition of this validation rule. see DefaultValidationRule.getCondition() . |
Constructors in org.springmodules.validation.bean.rule with parameters of type Condition | |
---|---|
DefaultValidationRule(Condition condition,
Condition applicabilityCondition,
String errorCode)
Constructs a new DefaultValidationRule with given condition and error code. |
|
DefaultValidationRule(Condition condition,
Condition applicabilityCondition,
String errorCode,
Object[] errorArguments)
Constructs a new DefaultValidationRule with given condition, error code, and error arguments. |
|
DefaultValidationRule(Condition condition,
Condition applicabilityCondition,
String errorCode,
String defalutErrorMessage,
ErrorArgumentsResolver errorArgumentsResolver)
Constructs a new DefaultValidationRule with given condition, error code, error arguments resolver, and default error message. |
|
DefaultValidationRule(Condition condition,
Condition applicabilityCondition,
String errorCode,
String defalutErrorMessage,
Object[] errorArguments)
Constructs a new DefaultValidationRule with given condition, error code, error arguments, and default error message. |
|
DefaultValidationRule(Condition condition,
String errorCode)
Constructs a new DefaultValidationRule with the given condition and error code. |
|
DefaultValidationRule(Condition condition,
String errorCode,
Object[] errorArguments)
Constructs a new DefaultValidationRule with the given condition, error code, and error arguments. |
|
DefaultValidationRule(Condition condition,
String errorCode,
String defalutErrorMessage,
Object[] errorArguments)
Constructs a new DefaultValidationRule with the given condition and error information. |
Uses of Condition in org.springmodules.validation.util.cel |
---|
Methods in org.springmodules.validation.util.cel that return Condition | |
---|---|
Condition |
ConditionExpressionParser.parse(String expression)
Parses the given condition expression and returns the parsed condition. |
Uses of Condition in org.springmodules.validation.util.cel.ognl |
---|
Classes in org.springmodules.validation.util.cel.ognl that implement Condition | |
---|---|
class |
OgnlCondition
A Condition that checks the given object based on a boolean OGNL expression. |
Methods in org.springmodules.validation.util.cel.ognl that return Condition | |
---|---|
Condition |
OgnlConditionExpressionParser.parse(String expression)
|
Uses of Condition in org.springmodules.validation.util.cel.valang |
---|
Classes in org.springmodules.validation.util.cel.valang that implement Condition | |
---|---|
class |
ValangCondition
A Condition implementation that checks the given object based on a valang boolean expression. |
Methods in org.springmodules.validation.util.cel.valang that return Condition | |
---|---|
Condition |
ValangConditionExpressionParser.parse(String expression)
|
Uses of Condition in org.springmodules.validation.util.collection |
---|
Constructors in org.springmodules.validation.util.collection with parameters of type Condition | |
---|---|
FilteredIterator(Iterator iterator,
Condition condition)
Constructs a new FilteredIterator with given iterator to wrap and a condition. |
Uses of Condition in org.springmodules.validation.util.condition |
---|
Classes in org.springmodules.validation.util.condition that implement Condition | |
---|---|
class |
AbstractCondition
An abstract implementation of the Condition interface. |
class |
NonNullAcceptingCondition
A base class for all conditions that cannot check null values. |
class |
NonNullAcceptingTypeSpecificCondition
A base class to all type specific conditions that cannot checkCalendar null values. |
class |
TypeSpecificCondition
A base class for all type specific conditions. |
Methods in org.springmodules.validation.util.condition that return Condition | |
---|---|
static Condition |
Conditions.and(Collection conditions)
|
Condition |
Condition.and(Condition condition)
Creates and returns a new condition that represents the logical AND of this condition and the given one. |
Condition |
AbstractCondition.and(Condition condition)
See and(Condition) |
static Condition |
Conditions.and(Condition[] conditions)
|
static Condition |
Conditions.and(Condition c1,
Condition c2)
|
static Condition |
Conditions.contains(String text)
|
static Condition |
Conditions.equalsIgnoreCase(String text)
|
static Condition |
Conditions.instanceOf(Class clazz)
|
static Condition |
Conditions.instanceOf(String propertyName,
Class clazz)
|
static Condition |
Conditions.isAfter(Calendar calendar)
|
static Condition |
Conditions.isAfter(Date date)
|
static Condition |
Conditions.isAfter(org.joda.time.ReadableInstant instant)
|
static Condition |
Conditions.isBefore(Calendar calendar)
|
static Condition |
Conditions.isBefore(Date date)
|
static Condition |
Conditions.isBefore(org.joda.time.ReadableInstant instant)
|
static Condition |
Conditions.isBetween(Comparable min,
Comparable max)
|
static Condition |
Conditions.isBetween(String propertyName,
Comparable min,
Comparable max)
|
static Condition |
Conditions.isBetweenIncluding(Comparable min,
Comparable max)
|
static Condition |
Conditions.isBetweenIncludingMax(Comparable min,
Comparable max)
|
static Condition |
Conditions.isBetweenIncludingMin(Comparable min,
Comparable max)
|
static Condition |
Conditions.isDateInTheFuture()
|
static Condition |
Conditions.isDateInThePast()
|
static Condition |
Conditions.isEmpty()
|
static Condition |
Conditions.isEmpty(String propertyName)
|
static Condition |
Conditions.isEmptyString()
|
static Condition |
Conditions.isEmptyString(String propertyName)
|
static Condition |
Conditions.isFalse()
|
static Condition |
Conditions.isFalse(String propertyName)
|
static Condition |
Conditions.isGt(Comparable min)
|
static Condition |
Conditions.isGt(String propertyName,
Comparable min)
|
static Condition |
Conditions.isGte(Comparable min)
|
static Condition |
Conditions.isGte(String propertyName,
Comparable min)
|
static Condition |
Conditions.isInstantInTheFuture()
|
static Condition |
Conditions.isInstantInThePast()
|
static Condition |
Conditions.isLt(Comparable max)
|
static Condition |
Conditions.isLte(Comparable max)
|
static Condition |
Conditions.isLte(String propertyName,
Comparable max)
|
static Condition |
Conditions.isNull()
|
static Condition |
Conditions.isNull(String propertyName)
|
static Condition |
Conditions.isTrue()
|
static Condition |
Conditions.isTrue(String propertyName)
|
static Condition |
Conditions.lengthBetween(int minLength,
int maxLength)
|
static Condition |
Conditions.maxLength(int maxLength)
|
static Condition |
Conditions.maxLength(String propertyName,
int maxLength)
|
static Condition |
Conditions.maxSize(int maxSize)
|
static Condition |
Conditions.maxSize(String propertyName,
int maxSize)
|
static Condition |
Conditions.minLength(int minLength)
|
static Condition |
Conditions.minLength(String propertyName,
int minLength)
|
static Condition |
Conditions.minSize(int minSize)
|
static Condition |
Conditions.minSize(String propertyName,
int minSize)
|
static Condition |
Conditions.not(Condition condition)
|
static Condition |
Conditions.notBlank()
|
static Condition |
Conditions.notEmpty()
|
static Condition |
Conditions.notEmpty(String propertyName)
|
static Condition |
Conditions.notEmptyString(String propertyName)
|
static Condition |
Conditions.notInBetween(String propertyName,
Comparable min,
Comparable max)
|
static Condition |
Conditions.notNull()
|
static Condition |
Conditions.notNull(String propertyName)
|
static Condition |
Conditions.or(Collection conditions)
|
Condition |
Condition.or(Condition condition)
Creates and returns a new condition that represents the logical OR of this condition and the given one. |
Condition |
AbstractCondition.or(Condition condition)
See or(Condition) |
static Condition |
Conditions.or(Condition[] conditions)
|
static Condition |
Conditions.or(Condition c1,
Condition c2)
|
static Condition |
Conditions.propertiesMatch(String[] propertyNames)
|
static Condition |
Conditions.property(String propertyName,
Condition condition)
|
static Condition |
Conditions.regexp(String regexp)
|
static Condition |
Conditions.sizeRange(int minSize,
int maxSize)
|
static Condition |
Conditions.sizeRange(String propertyName,
int minSize,
int maxSize)
|
Methods in org.springmodules.validation.util.condition with parameters of type Condition | |
---|---|
Condition |
Condition.and(Condition condition)
Creates and returns a new condition that represents the logical AND of this condition and the given one. |
Condition |
AbstractCondition.and(Condition condition)
See and(Condition) |
static Condition |
Conditions.and(Condition[] conditions)
|
static Condition |
Conditions.and(Condition c1,
Condition c2)
|
static Condition |
Conditions.not(Condition condition)
|
Condition |
Condition.or(Condition condition)
Creates and returns a new condition that represents the logical OR of this condition and the given one. |
Condition |
AbstractCondition.or(Condition condition)
See or(Condition) |
static Condition |
Conditions.or(Condition[] conditions)
|
static Condition |
Conditions.or(Condition c1,
Condition c2)
|
static Condition |
Conditions.property(String propertyName,
Condition condition)
|
Uses of Condition in org.springmodules.validation.util.condition.adapter |
---|
Classes in org.springmodules.validation.util.condition.adapter that implement Condition | |
---|---|
class |
CommonsPredicateCondition
A Jakarta Commmons Predicate condition adapter. |
Uses of Condition in org.springmodules.validation.util.condition.bean |
---|
Classes in org.springmodules.validation.util.condition.bean that implement Condition | |
---|---|
class |
AbstractBeanCondition
A parent class to all bean related conditions. |
class |
EqualPropertiesBeanCondition
An AbstractBeanCondition implementation that checks whether specific properties of the checked bean
have the same value. |
class |
PropertyBeanCondition
An AbstractBeanCondition implementation that checks the value of a specific property of the checked bean
using a specific condition. |
Methods in org.springmodules.validation.util.condition.bean that return Condition | |
---|---|
Condition |
PropertyBeanCondition.getPropertyCondition()
Returns the condition that is used to checkCalendar the property of the checked bean. |
Constructors in org.springmodules.validation.util.condition.bean with parameters of type Condition | |
---|---|
PropertyBeanCondition(String propertyName,
Condition propertyCondition)
Constructs a new PropertyBeanCondition with a given name of the property to be checked by the given condition. |
Uses of Condition in org.springmodules.validation.util.condition.collection |
---|
Classes in org.springmodules.validation.util.condition.collection that implement Condition | |
---|---|
class |
AbstractCollectionCondition
A base class for all collection conditions. |
class |
AbstractCollectionElementCondition
A base class for all collection conditions that perform checks on the collection elements. |
class |
AllCollectionCondition
An AbstractCollectionCondition implementation that checks whether all elements in a collection or array
adhere to a specific condition. |
class |
AtLeastCollectionCondition
An AbstractCollectionCondition implementation that checks whether at least X elements in a collection
or array adhere to a specific condition. |
class |
IsEmptyCollectionCondition
An AbstractCollectionCondition that checks whether the checked collection or array is empty. |
class |
MaxSizeCollectionCondition
An AbstractCollectionCondition implementation that checks whether the given collection or array
is longer then a specific maximum size. |
class |
MinSizeCollectionCondition
An AbstractCollectionCondition implementation that checks whether the given collection or array
is longer then a specific minimum size. |
class |
NoneCollectionCondition
An AbstractCollectionCondition implementation that checks whether none of the elements in a collection
or array adhere to a specific condition. |
class |
SizeRangeCollectionCondition
An AbstractCollectionCondition that checks that the size/length of the the checked collection/array is
with in a specific bounds. |
class |
SomeCollectionCondition
An AbstractCollectionCondition implementation that checks whether some of the elements in a collection
or array adhere to a specific condition. |
Methods in org.springmodules.validation.util.condition.collection that return Condition | |
---|---|
Condition |
AbstractCollectionElementCondition.getElementCondition()
Returns the element condition associated with this elementCondition. |
Constructors in org.springmodules.validation.util.condition.collection with parameters of type Condition | |
---|---|
AbstractCollectionElementCondition(Condition elementCondition)
Constructs a new AbstractCollectionElementCondition with a given element elementCondition. |
|
AllCollectionCondition(Condition elementCondition)
Constructs a new AllCollectionCondition with a given condition. |
|
AtLeastCollectionCondition(Condition elementCondition,
int count)
Constructs a new AtLeastCollectionCondition with a given element condition. |
|
NoneCollectionCondition(Condition elementCondition)
Constructs a new NoneCollectionCondition with a given condition. |
|
SomeCollectionCondition(Condition elementCondition)
Constructs a new SomeCollectionCondition with a given condition. |
Uses of Condition in org.springmodules.validation.util.condition.common |
---|
Classes in org.springmodules.validation.util.condition.common that implement Condition | |
---|---|
class |
AbstractCompoundCondition
A base class for all compound conditions. |
class |
AlwaysFalseCondition
An AbstractCondition implementation that always return false . |
class |
AlwaysTrueCondition
An AbstractCondition implementation that always returns true . |
class |
AndCondition
A compound condition that represent a logical and of all its associated conditions. |
class |
ConditionProxyCondition
|
class |
InstanceOfCondition
A condition that checks whether the checked object is of a specific type. |
class |
IsNullCondition
A condition that checks whether the checked object is null . |
class |
IsTrueCondition
A boolean condition that checks whether the checked boolean is true . |
class |
NotCondition
A condition that represents a logical NOT of another condition. |
class |
OrCondition
A compound condition that represent a logical OR of all its associated conditions. |
Methods in org.springmodules.validation.util.condition.common that return Condition | |
---|---|
Condition |
NotCondition.getCondition()
Returns the reverse condition associated with this condition. |
Condition[] |
AbstractCompoundCondition.getConditions()
Returns the conditions this condition is compound from. |
Condition |
ConditionProxyCondition.getInternalCondition()
|
Methods in org.springmodules.validation.util.condition.common with parameters of type Condition | |
---|---|
void |
ConditionProxyCondition.setInternalCondition(Condition internalCondition)
|
Constructors in org.springmodules.validation.util.condition.common with parameters of type Condition | |
---|---|
AbstractCompoundCondition(Condition[] conditions)
Constructs a new AbstractCompoundCondition with the given array of conditions. |
|
AndCondition(Condition[] conditions)
Constructs a new AndCondition with the given condition array. |
|
ConditionProxyCondition(Condition internalCondition)
|
|
NotCondition(Condition condition)
Constructs a new NotCondition with the condition to reverse. |
|
OrCondition(Condition[] conditions)
Constructs a new OrCondition with the given condition array. |
Uses of Condition in org.springmodules.validation.util.condition.date |
---|
Classes in org.springmodules.validation.util.condition.date that implement Condition | |
---|---|
class |
AbstractDateCondition
A base class for all date-time related conditions. |
class |
IsAfterDateCondition
An AbstractDateCondition implementation that checks whether the checked calendar is chronologically after
a specific calendar. |
class |
IsBeforeDateCondition
An AbstractDateCondition implementation that checks
whether the checked calendar is chronologically before a specific calendar. |
class |
IsInTheFutureDateCondition
An AbstractDateCondition implementation that checks whether the checked date is in the furture. |
class |
IsInThePastDateCondition
An AbstractDateCondition implementation that checks whether the
checked date is in the past. |
Uses of Condition in org.springmodules.validation.util.condition.date.jodatime |
---|
Classes in org.springmodules.validation.util.condition.date.jodatime that implement Condition | |
---|---|
class |
AbstractInstantCondition
A base class for all joda-time date related conditions. |
class |
IsAfterInstantCondition
An AbstractInstantCondition implementation that checks whether the checked instant comes chronologically
after another instant. |
class |
IsBeforeInstantCondition
An AbstractInstantCondition implementation that checks whether the checked instant comes chronologically
before another instant. |
class |
IsInTheFutureInstantCondition
An AbstractInstantCondition implementation that checks whether the checked instant is in the future. |
class |
IsInThePastInstantCondition
An AbstractInstantCondition implementation that checks whether the checked instant is in the past. |
Uses of Condition in org.springmodules.validation.util.condition.range |
---|
Classes in org.springmodules.validation.util.condition.range that implement Condition | |
---|---|
class |
AbstractBetweenCondition
An AbstractRangeCondition implementation that serves as a base class for all between conditions. |
class |
AbstractRangeCondition
A base class for all range conditions. |
class |
AbstractSingleBoundCondition
A base class for all single bound conditions. |
class |
BetweenCondition
An AbstractRangeCondition implementation that checks whether the checked range is between two
specific values (excluding). |
class |
BetweenIncludingCondition
An AbstractRangeCondition implementation that checks whether the checked range is between two
specific values (including). |
class |
BetweenIncludingLowerBoundCondition
An AbstractBetweenCondition implementation that checks whether the checked value is greater than or equals
the lower bound and smaller than the upper bound. |
class |
BetweenIncludingUpperBoundCondition
An AbstractBetweenCondition implementation that checks whether the checked value is greater than the lower
bound and smaller than or equals the upper bound. |
class |
GreaterThanCondition
An AbstractSingleBoundCondition implementation that checkCalendar whether the checked value is greater than a
specific loweer bound. |
class |
GreaterThanOrEqualsCondition
An AbstractSingleBoundCondition implementation that checkCalendar whether the checked value is greater than or
equals a specific loweer bound. |
class |
LessThanCondition
An AbstractSingleBoundCondition implementation that checks whether the checked value is less than
as specific upper bound. |
class |
LessThanOrEqualsCondition
An AbstractSingleBoundCondition implementation that checks whether the checked value is less than or equals
as specific upper bound. |
Uses of Condition in org.springmodules.validation.util.condition.string |
---|
Classes in org.springmodules.validation.util.condition.string that implement Condition | |
---|---|
class |
AbstractStringCondition
An abstract condition that can be applied on objects of type String . |
class |
ContainsSubstringStringCondition
An AbstractStringCondition implementation that checks whether the given strings contain a specific
sub-string. |
class |
EmailStringCondition
An AbstractStringCondition implementation that checks whether
the checked strings represent a valid email address. |
class |
EqualsIgnoreCaseStringCondition
An AbstractStringCondition implementation that checks whether the checked strings equal a specific string
while ignoring the letter casing. |
class |
IsEmptyStringCondition
An AbstractStringCondition implementation that checks whether the checked text is an empty text. |
class |
LengthRangeStringCondition
An AbstractStringCondition implementation that checks that a given string is
within a specific length range. |
class |
MaxLengthStringCondition
An AbstractStringCondition implementation that checks whether the checked strings are not longer then
a specific length. |
class |
MinLengthStringCondition
An AbstractStringCondition implementation that checks whether the checked strings are not shorter than
a specific minimum length. |
class |
RegExpStringCondition
An AbstractStringCondition implementation that checks whether the checked strings match a specific regular
expression. |
Uses of Condition in org.springmodules.validation.validator |
---|
Methods in org.springmodules.validation.validator that return Condition | |
---|---|
Condition |
ConditionalValidator.getCondition()
Returns the condition associated with this conditional validator. |
Methods in org.springmodules.validation.validator with parameters of type Condition | |
---|---|
void |
ConditionalValidator.setCondition(Condition condition)
Sets the condition of this conditional validator. |
Constructors in org.springmodules.validation.validator with parameters of type Condition | |
---|---|
ConditionalValidator(Validator validator,
Condition condition)
Constructs a new ConditionalValidator with a given underlying validator and the condition. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |