|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IValidator<T extends java.io.Serializable>
Validates a property's value before a property or propertyset is created or updated. The validate method throws ValidationFailedException if property's value is invalid. An instance of this is shared across propertysets. This class can be reused with different validatorValue values set in IPropertyDefinition. For example, for an implementation that validates string length, the string length value can be set as a validator value.
| Field Summary | |
|---|---|
static IValidator |
NULLA no op implementation of this. |
| Method Summary | |
|---|---|
void |
validate(IProperty<T> property, IPropertyDefinition propertyDefinition, java.lang.String validatorValue)Validates the given property's value. |
| Field Detail |
|---|
static final IValidator NULL
| Method Detail |
|---|
void validate(IProperty<T> property,
IPropertyDefinition propertyDefinition,
java.lang.String validatorValue)
throws ValidationFailedException
property - a property to be validated.propertyDefinition - the propertydefinition for the given property.validatorValue - an extra value to use in validation.ValidationFailedException - if validation fails.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||