| Package | Description |
|---|---|
| org.nuiton.validator |
Package of Nuiton-validator api.
|
| org.nuiton.validator.bean |
Package of Nuiton- beanValidator api.
|
| org.nuiton.validator.bean.list |
Package of Nuiton - BeanListValidator api.
|
| org.nuiton.validator.bean.simple |
Package of Nuiton - Simple Bean Validator api.
|
| org.nuiton.validator.xwork2 |
Package of xworks2 implementation of the Nuiton-validator api.
|
| Modifier and Type | Field and Description |
|---|---|
protected NuitonValidatorScope[] |
AbstractNuitonValidatorProvider.ModelEntry.scopes |
| Modifier and Type | Field and Description |
|---|---|
protected Map<NuitonValidatorScope,String[]> |
NuitonValidatorModel.fields
Deprecated.
Set of fields that can be validated for the type and context
|
protected EnumMap<NuitonValidatorScope,NuitonValidatorResult.FieldMap<List<String>>> |
NuitonValidatorResult.messages
Deprecated.
|
protected Set<NuitonValidatorScope> |
NuitonValidatorModel.scopes
Deprecated.
Set of scopes that can be validated for the type and context
|
| Modifier and Type | Method and Description |
|---|---|
NuitonValidatorScope |
NuitonValidatorResult.getFieldHighestScope(String field)
Deprecated.
|
NuitonValidatorScope[] |
NuitonValidatorResult.getFieldScopes(String field)
Deprecated.
|
static NuitonValidatorScope |
NuitonValidatorScope.valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static NuitonValidatorScope[] |
NuitonValidatorScope.values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Set<NuitonValidatorScope> |
NuitonValidator.getEffectiveScopes()
Deprecated.
Obtains the set of effective scopes for the validator : means the very
scopes that the validator is dealing with.
|
Map<NuitonValidatorScope,String[]> |
NuitonValidatorModel.getFields()
Deprecated.
|
protected EnumMap<NuitonValidatorScope,NuitonValidatorResult.FieldMap<List<String>>> |
NuitonValidatorResult.getMessages()
Deprecated.
|
Set<NuitonValidatorScope> |
NuitonValidatorModel.getScopes()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NuitonValidatorResult.addMessagesForScope(NuitonValidatorScope scope,
Map<String,List<String>> newMessages)
Deprecated.
|
void |
NuitonValidatorResult.clearMessagesForScope(NuitonValidatorScope scope)
Deprecated.
|
protected boolean |
NuitonValidatorResult.containsField(String field,
NuitonValidatorScope scope)
Deprecated.
|
static <O> AbstractNuitonValidatorProvider.ModelEntry<O> |
AbstractNuitonValidatorProvider.ModelEntry.createModelEntry(Class<O> type,
String context,
NuitonValidatorScope... scopes) |
SortedSet<NuitonValidator<?>> |
NuitonValidatorProvider.detectValidators(File sourceRoot,
Pattern contextFilter,
NuitonValidatorScope[] scopes,
Class<?>... types)
Deprecated.
Detects in the given directory validators.
|
Set<String> |
NuitonValidator.getEffectiveFields(NuitonValidatorScope scope)
Deprecated.
Obtains the set of effective fields for the validator for the given scope
: means the very fields validated by the validator.
|
List<String> |
NuitonValidatorResult.getFieldsForScope(NuitonValidatorScope scope)
Deprecated.
|
List<String> |
NuitonValidatorResult.getMessagesForScope(NuitonValidatorScope scope)
Deprecated.
|
List<String> |
NuitonValidatorResult.getMessagesForScope(String field,
NuitonValidatorScope scope)
Deprecated.
|
<O> NuitonValidatorModel<O> |
NuitonValidatorProvider.getModel(Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
Obtain a validator model, the model should be cached and not be
reinstanciated at each time a validator model is asked.
|
<O> NuitonValidatorModel<O> |
AbstractNuitonValidatorProvider.getModel(Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
boolean |
NuitonValidatorResult.hasMessagesForScope(NuitonValidatorScope scope)
Deprecated.
|
boolean |
NuitonValidatorResult.hasMessagesForScope(String field,
NuitonValidatorScope scope)
Deprecated.
|
<O> NuitonValidatorModel<O> |
NuitonValidatorProvider.newModel(Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
Instanciate a new validator model for the given parameters.
|
static <O> NuitonValidator<O> |
NuitonValidatorFactory.newValidator(Class<O> type,
NuitonValidatorScope... scopes)
Deprecated.
|
static <O> NuitonValidator<O> |
NuitonValidatorFactory.newValidator(Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
static <O> NuitonValidator<O> |
NuitonValidatorFactory.newValidator(String providerName,
Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
void |
NuitonValidatorResult.setMessagesForScope(NuitonValidatorScope scope,
String field,
List<String> messages)
Deprecated.
|
| Constructor and Description |
|---|
AbstractNuitonValidatorProvider.ModelEntry(Class<O> type,
String context,
NuitonValidatorScope... scopes) |
| Constructor and Description |
|---|
NuitonValidatorModel(Class<O> type,
String context,
Set<NuitonValidatorScope> scopes,
Map<NuitonValidatorScope,String[]> fields)
Deprecated.
|
NuitonValidatorModel(Class<O> type,
String context,
Set<NuitonValidatorScope> scopes,
Map<NuitonValidatorScope,String[]> fields)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected NuitonValidatorScope |
AbstractValidatorEvent.scope
Deprecated.
the scope impacted by the event
|
| Modifier and Type | Method and Description |
|---|---|
abstract NuitonValidatorScope |
AbstractValidator.getHighestScope(String field)
Deprecated.
|
NuitonValidatorScope |
AbstractNuitonValidatorContext.getHighestScope(String field)
Deprecated.
|
NuitonValidatorScope |
AbstractValidatorEvent.getScope()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Set<NuitonValidatorScope> |
AbstractValidator.getEffectiveScopes()
Deprecated.
|
Set<NuitonValidatorScope> |
AbstractValidator.getScopes()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract E |
AbstractNuitonValidatorContext.createEvent(V source,
O bean,
String field,
NuitonValidatorScope scope,
String[] toAdd,
String[] toDelete)
Deprecated.
|
Set<String> |
AbstractValidator.getEffectiveFields(NuitonValidatorScope scope)
Deprecated.
|
protected void |
AbstractNuitonValidatorContext.mergeMessages(V beanValidator,
NuitonValidatorScope scope,
NuitonValidatorResult newMessages,
List<E> events)
Deprecated.
|
<O> V |
ValidatorCreator.newValidator(NuitonValidatorProvider provider,
Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
Given the parameters, instanciate a new
V. |
protected abstract void |
AbstractValidator.rebuildDelegateValidator(Class<O> beanType,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
void |
AbstractValidator.setScopes(NuitonValidatorScope... scopes)
Deprecated.
|
| Constructor and Description |
|---|
AbstractValidatorEvent(V source,
String field,
NuitonValidatorScope scope,
String[] messagestoAdd,
String[] messagestoDelete)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected NuitonValidatorScope |
BeanListValidatorMessage.scope
Deprecated.
the scope of the message
|
| Modifier and Type | Method and Description |
|---|---|
NuitonValidatorScope |
BeanListValidator.getHighestScope(String field)
Deprecated.
|
NuitonValidatorScope |
BeanListValidatorMessage.getScope()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected BeanListValidatorEvent |
BeanListValidator.NuitonValidatorContext.createEvent(BeanListValidator<O> source,
O bean,
String field,
NuitonValidatorScope scope,
String[] toAdd,
String[] toDelete) |
static <O> BeanListValidator<O> |
BeanListValidator.newValidator(Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
Obtain a new
BeanListValidator for the given parameters. |
static <O> BeanListValidator<O> |
BeanListValidator.newValidator(String providerName,
Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
Obtain a new
BeanListValidator for the given parameters. |
protected void |
BeanListValidator.rebuildDelegateValidator(Class<O> beanType,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
| Constructor and Description |
|---|
BeanListValidator(NuitonValidatorProvider validatorProvider,
Class<O> beanClass,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
BeanListValidatorEvent(BeanListValidator<?> source,
Object bean,
String field,
NuitonValidatorScope scope,
String[] messagestoAdd,
String[] messagestoDelete)
Deprecated.
|
BeanListValidatorMessage(BeanListValidator<?> validator,
Object bean,
String field,
String message,
NuitonValidatorScope scope)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected NuitonValidatorScope |
SimpleBeanValidatorMessage.scope
Deprecated.
the scope of the message
|
| Modifier and Type | Method and Description |
|---|---|
NuitonValidatorScope |
SimpleBeanValidator.getHighestScope(String field)
Deprecated.
|
NuitonValidatorScope |
SimpleBeanValidatorMessage.getScope()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<NuitonValidatorScope> |
SimpleBeanValidators.getScopes(List<SimpleBeanValidatorMessage<?>> messages)
Deprecated.
|
static EnumMap<NuitonValidatorScope,Integer> |
SimpleBeanValidators.getScopesCount(List<SimpleBeanValidatorMessage<?>> messages)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected SimpleBeanValidatorEvent |
SimpleBeanValidator.NuitonValidatorContext.createEvent(SimpleBeanValidator<O> source,
O bean,
String field,
NuitonValidatorScope scope,
String[] toAdd,
String[] toDelete) |
static <O> SimpleBeanValidator<O> |
SimpleBeanValidator.newValidator(Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
Obtain a new
SimpleBeanValidator for the given parameters. |
static <O> SimpleBeanValidator<O> |
SimpleBeanValidator.newValidator(String providerName,
Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
Obtain a new
SimpleBeanValidator for the given parameters. |
protected void |
SimpleBeanValidator.rebuildDelegateValidator(Class<O> beanType,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
| Constructor and Description |
|---|
SimpleBeanValidator(NuitonValidatorProvider validatorProvider,
Class<O> beanClass,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
SimpleBeanValidatorEvent(SimpleBeanValidator<?> source,
String field,
NuitonValidatorScope scope,
String[] messagestoAdd,
String[] messagestoDelete)
Deprecated.
|
SimpleBeanValidatorMessage(SimpleBeanValidator<?> validator,
String field,
String message,
NuitonValidatorScope scope)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<NuitonValidatorScope,XWork2ScopeValidator<O>> |
XWork2NuitonValidator.validators
Deprecated.
xworks scope validators *
|
| Modifier and Type | Method and Description |
|---|---|
static <O> Map<NuitonValidatorScope,String[]> |
XWork2ValidatorUtil.detectFields(Class<O> type,
String context,
NuitonValidatorScope[] scopeUniverse)
Deprecated.
|
Set<NuitonValidatorScope> |
XWork2NuitonValidator.getEffectiveScopes()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static <O> Map<NuitonValidatorScope,String[]> |
XWork2ValidatorUtil.detectFields(Class<O> type,
String context,
NuitonValidatorScope[] scopeUniverse)
Deprecated.
|
protected static Set<String> |
XWork2ValidatorUtil.detectFieldsForScope(com.opensymphony.xwork2.validator.ActionValidatorManager validator,
Class<?> type,
NuitonValidatorScope scope,
String context,
Set<String> availableFields,
boolean includeDefaultContext)
Deprecated.
|
SortedSet<NuitonValidator<?>> |
XWork2NuitonValidatorProvider.detectValidators(File sourceRoot,
Pattern contextFilter,
NuitonValidatorScope[] scopes,
Class<?>... types)
Deprecated.
|
static String |
XWork2ValidatorUtil.getContextForScope(String context,
NuitonValidatorScope scope)
Deprecated.
|
Set<String> |
XWork2NuitonValidator.getEffectiveFields(NuitonValidatorScope scope)
Deprecated.
|
protected <O> NuitonValidator<O> |
XWork2NuitonValidatorProvider.getValidator(Class<O> klass,
String context,
NuitonValidatorScope... scopes)
Deprecated.
Pour un context et un type d'entité donné, instancie un validateur et
test si ce validateur est utilisable (i.e qu'il admet des champs à
valider).
|
<O> NuitonValidatorModel<O> |
XWork2NuitonValidatorProvider.newModel(Class<O> type,
String context,
NuitonValidatorScope... scopes)
Deprecated.
|
Copyright © 2011-2013 CodeLutin. All Rights Reserved.