Package org.codelibs.fess.validation
Class FessActionValidator<MESSAGES extends org.lastaflute.core.message.UserMessages>
java.lang.Object
org.lastaflute.web.validation.ActionValidator<MESSAGES>
org.codelibs.fess.validation.FessActionValidator<MESSAGES>
- Type Parameters:
MESSAGES- the type of user messages used by this validator
public class FessActionValidator<MESSAGES extends org.lastaflute.core.message.UserMessages>
extends org.lastaflute.web.validation.ActionValidator<MESSAGES>
Fess-specific action validator that extends the LastaFlute ActionValidator.
This validator provides validation functionality for Fess web actions with custom
message handling and runtime group validation.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.lastaflute.web.validation.ActionValidator
org.lastaflute.web.validation.ActionValidator.HookedResourceBundle -
Field Summary
Fields inherited from class org.lastaflute.web.validation.ActionValidator
apiFailureHook, cachedValidator, CLIENT_ERROR_GROUPS, CLIENT_ERROR_TYPE, DEFAULT_GROUP_TYPE, DEFAULT_GROUPS, EMPTY_CONF_SETUPPER, HIBERNATE_CONSTRAINTS_PKG, hibernateValidator, ITEM_LABEL_DELIMITER, ITEM_VARIABLE, JAVAX_CONSTRAINTS_PKG, LABELS_PREFIX, LF, MESSAGE_HINT_DELIMITER, messageLocaleProvider, messageManager, messagesCreator, PROPERTY_TYPE_VARIABLE, requestManager, runtimeGroups, typeMessageMap -
Constructor Summary
ConstructorsConstructorDescriptionFessActionValidator(org.lastaflute.web.servlet.request.RequestManager requestManager, org.lastaflute.core.message.supplier.UserMessagesCreator<MESSAGES> messagesCreator, Class<?>[] runtimeGroups) Constructs a new FessActionValidator with the specified components. -
Method Summary
Methods inherited from class org.lastaflute.web.validation.ActionValidator
actuallyValidate, adjustValidatorConfig, assertArgumentNotNull, assertGroupsNotContainsClientError, buildDefaultItemName, buildDefaultPropertyTypeName, buildDefaultTypeMessage, buildItemLabelKey, buildItemListKeyExp, buildPropertyTypeLabelKey, buildRowNumberExp, buildValidatorFactory, cannotBeValidatable, certainlyValidatorNotCalled, comeOnHibernateValidator, containsDefinedGroup, containsRuntimeGroup, convertToLabelKey, createConfiguration, createDirectMessage, createHibernateValidator, createTypeFailureActionMessage, createValidationSuccess, deriveItemValue, derivePropertyPathByNode, doValidate, extractMessage, extractPropertyPath, filterMessageItem, filterMessagePropertyType, filterTypeFailureMessage, findFailureBeanOnThread, findMessage, getItemLabelDelimiter, getItemVariable, getPropertyTypeVariable, handleClientErrorViolation, handleHibernateValidatorException, handleTypeFailureGroups, hasNestedBeanAnnotation, hibernateValidate, isLastaPresentsAnnotation, isNestedBeanAnnotation, isSuppressHibernateValidatorCache, isValidatorAnnotation, keepValidatorErrorHook, markValidationCalled, mightBeValidable, newGenericBootstrap, newHookedResourceBundle, newResourceBundleLocator, newResourceBundleMessageInterpolator, prepareActionMessages, prepareOrderedMap, processApiValidationError, provideUserLocale, registerActionMessage, resolveTypeFailure, setupFrameworkConfiguration, setupYourConfiguration, simplyValidate, throwClientErrorByValidatorException, throwValidationError, throwValidationErrorApi, throwValidationErrorException, toUserMessages, unbraceDirectMessageKey, validate, validateApi, verifyDefaultGroupClientError, verifyExplicitGroupClientError, verifyFormType, wrapAsValidIfNeeds
-
Constructor Details
-
FessActionValidator
public FessActionValidator(org.lastaflute.web.servlet.request.RequestManager requestManager, org.lastaflute.core.message.supplier.UserMessagesCreator<MESSAGES> messagesCreator, Class<?>[] runtimeGroups) Constructs a new FessActionValidator with the specified components.- Parameters:
requestManager- the request manager for handling HTTP requestsmessagesCreator- the creator for user messagesruntimeGroups- the runtime validation groups
-