Uses of Interface
name.matthewgreet.strutscommons.policy.Policy
Packages that use Policy
Package
Description
Exceptions used internally by interceptors.
Standard adjusters, converters and validators used in alternate annotation-based annotation.
Various helper classes, especially for session-based data, and libraries.
-
Uses of Policy in name.matthewgreet.strutscommons.exception
Methods in name.matthewgreet.strutscommons.exception that return types with arguments of type PolicyModifier and TypeMethodDescriptionPolicyLookupRejectionException.getPolicyClass()Returns policy class that cannot be added or removed.Constructor parameters in name.matthewgreet.strutscommons.exception with type arguments of type PolicyModifierConstructorDescriptionConverterNotDefaultException(Class<? extends Policy<?>> policyClass) CustomPolicyNotApplicableException(Class<? extends Policy<?>> policyClass) NotPolicyImplementationException(Class<? extends Policy<?>> policyClass) PolicyLookupRejectionException(String message, Class<? extends Policy<?>> policyClass) -
Uses of Policy in name.matthewgreet.strutscommons.policy
Subinterfaces of Policy in name.matthewgreet.strutscommons.policyModifier and TypeInterfaceDescriptioninterfaceAdjuster<A extends Annotation>Interface for adjusters, which alter form field values and used byAnnotationValidationInterceptorandAnnotationValidationInterceptor2.interfaceConverter<A extends Annotation,T> Interface for form field validators used byAnnotationValidationInterceptorandAnnotationValidationInterceptor2that convert from string values to single values and vice versa.interfaceListConverter<A extends Annotation,T> Interface for form field validators used byAnnotationValidationInterceptorandAnnotationValidationInterceptor2that convert from string values to lists and vice versa.interfaceListPostConversionAdjuster<A extends Annotation,T> Interface for list post conversion adjusters, which alter a list of converted values and used byAnnotationValidationInterceptor2(notAnnotationValidationInterceptor).interfaceListPostConversionValidator<A extends Annotation,T> Interface for list post conversion validators used byAnnotationValidationInterceptorandAnnotationValidationInterceptor2.interfaceNonConversionValidator<A extends Annotation>Interface for form field validators used byAnnotationValidationInterceptorandAnnotationValidationInterceptor2that validate before any conversion.interfacePostConversionAdjuster<A extends Annotation,T> Interface for post conversion adjusters, which alter form field values and used byAnnotationValidationInterceptor2(notAnnotationValidationInterceptor).interfacePostConversionValidator<A extends Annotation,T> Interface for form field validators used byAnnotationValidationInterceptorandAnnotationValidationInterceptor2that check a converted value.Classes in name.matthewgreet.strutscommons.policy that implement PolicyModifier and TypeClassDescriptionclassAbstractAdjusterSupport<A extends Annotation>Preferred template class for implementations of adjusters.classAbstractConverterSupport<A extends Annotation,T> Preferred template class for implementations of converters to single value data type.classTemplate class for custom adjusters that modifies a form field value.classTemplate class for custom converters that convert a string-based form field to a single, other data type.classTemplate class for custom converters that just format for a view helper.classTemplate class for custom list converters.classTemplate class for custom list converters that just format for a view helper.classTemplate class for custom list post-conversion adjusters that modifies a form field array or collection.classTemplate class for custom list validators that validates a converted array or collection form field.classTemplate class for custom validators that convert a string-based form field to a single, other data type.classTemplate class for custom adjusters that modifies a form field value.classTemplate class for custom validators that validates a converted form field value that are single values.classAbstractDefaultConverterSupport<A extends Annotation,T> Preferred template class for implementations of converters to single value data type that can be default converters.classAbstractFormatterSupport<A extends Annotation,T> Template class for bespoke converters that just format for a view helper.classAbstractListConverterSupport<A extends Annotation,T> Preferred template class for implementations of converters to collection-based data types.classAbstractListFormatterSupport<A extends Annotation,T> Template class for bespoke converters that just format for a view helper.classAbstractListPostConversionAdjusterSupport<A extends Annotation,T> Preferred template class for implementations of list post conversion adjusters of arrays or collections.classAbstractListPostConversionValidatorSupport<A extends Annotation,T> Preferred template class for implementations of list post-conversion validators of array-based or collection-based data types.classAbstractNonConversionValidatorSupport<A extends Annotation>Preferred template class for implementations of non-conversion validators of single value data types.classAbstractPolicySupport<A extends Annotation>classAbstractPostConversionAdjusterSupport<A extends Annotation,T> Preferred template class for implementations of post conversion adjusters.classAbstractPostConversionValidatorSupport<A extends Annotation,T> Preferred template class for implementations of post-conversion validators of single value data types.classclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclass -
Uses of Policy in name.matthewgreet.strutscommons.util
Classes in name.matthewgreet.strutscommons.util with type parameters of type PolicyModifier and TypeClassDescriptionstatic classInterceptorCommonLibrary.PolicyEntry<A extends Annotation,P extends Policy<A>, T> Describes table entry that finds a policy class from the annotation class that configures it.Methods in name.matthewgreet.strutscommons.util with type parameters of type PolicyModifier and TypeMethodDescriptionprotected <A extends Annotation,P extends Policy<A>, T>
voidDefaultPolicyLookup.addDynamicPolicyInternalAutomatic(InterceptorCommonLibrary.PolicyEntry<A, P, T> policyEntry) Adds policy found by class scanning.protected <A extends Annotation,P extends Policy<A>, T>
InterceptorCommonLibrary.PolicyEntry<A, ?, ?> DefaultPolicyLookup.addDynamicPolicyInternalManual(InterceptorCommonLibrary.PolicyEntry<A, P, T> policyEntry) Adds policy set by client code and returns previous policy found by configuring annotation.<A extends Annotation,P extends Policy<A>, T>
InterceptorCommonLibrary.PolicyEntry<A, P, T> DefaultPolicyLookup.getPolicyEntry(Class<? extends A> annotationClass) Returns policy implementation configuration for a form field annotation, or null if not set.<A extends Annotation,P extends Policy<A>, T>
InterceptorCommonLibrary.PolicyEntry<A, P, T> PolicyLookup.getPolicyEntry(Class<? extends A> annotationClass) Returns policy class and related metadata to be used for a form field annotation, or null if not found.static <A extends Annotation,P extends Policy<A>, T>
InterceptorCommonLibrary.PolicyEntry<?, ?, ?> DefaultPolicyLookup.makePolicyEntryFromClassNames(String annotationClassName, String policyClassName, String recipientTypeName, InterceptorCommonLibrary.AnnotationUsage annotationUsage, boolean builtIn, boolean defaultPolicy) <A extends Annotation,P extends Policy<A>, T>
InterceptorCommonLibrary.PolicyEntry<A, ?, ?> Adds a form field policy not found by classpath scanning, so it can be found from the annotation that configures it, replacing any existing using the same annotation.<A extends Annotation,P extends Policy<A>, T>
InterceptorCommonLibrary.PolicyEntry<A, ?, ?> Adds policy class so it can be found from its annotation class, returning description of any existing policy that was replaced.<A extends Annotation,P extends Policy<A>, T>
InterceptorCommonLibrary.PolicyEntry<A, P, T> DefaultPolicyLookup.removePolicy(Class<? extends A> annotationClass) Removes form field policy found from the class of annotation that configures it and returns policy config, or null if not found.<A extends Annotation,P extends Policy<A>, T>
InterceptorCommonLibrary.PolicyEntry<A, P, T> PolicyLookup.removePolicy(Class<? extends A> annotationClass) Removes policy class from lookup, returning description of any existing policy that was removed.