Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractActionSupport - Class in name.matthewgreet.strutscommons.action
-
Base class of Struts 2 action that supports injection of user details and other custom integration.
- AbstractActionSupport() - Constructor for class name.matthewgreet.strutscommons.action.AbstractActionSupport
- AbstractAdjusterSupport<A> - Class in name.matthewgreet.strutscommons.validators
-
Preferred template class for implementations of adjusters.
- AbstractAdjusterSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractAdjusterSupport
- AbstractCollectionConverterSupport<A,
T> - Class in name.matthewgreet.strutscommons.validators -
Preferred template class for implementations of converters to collection-based data types.
- AbstractCollectionConverterSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractCollectionConverterSupport
- AbstractCollectionPostConversionValidatorSupport<A,
T> - Class in name.matthewgreet.strutscommons.validators -
Preferred template class for implementations of post-conversion validators of collection-based data types.
- AbstractCollectionPostConversionValidatorSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractCollectionPostConversionValidatorSupport
- AbstractCompositeCache<KM,
TM> - Class in name.matthewgreet.strutscommons.util -
Template for web level, session-based caching a master, record list for editing in various web pages.
- AbstractCompositeCache() - Constructor for class name.matthewgreet.strutscommons.util.AbstractCompositeCache
-
Creates session-based, composite cache with a master list and no slave lists.
- AbstractCompositeCache(AbstractCompositeCache<KM, TM>) - Constructor for class name.matthewgreet.strutscommons.util.AbstractCompositeCache
- AbstractCompositeCache_1S<KM,
TM, - Class in name.matthewgreet.strutscommons.utilK1, T1> -
Template for web level, session-based caching a master, record list with one slave list for editing in various web pages.
- AbstractCompositeCache_1S() - Constructor for class name.matthewgreet.strutscommons.util.AbstractCompositeCache_1S
-
Creates session-based, composite cache with a master list and 1 slave list.
- AbstractCompositeCache_1S(AbstractCompositeCache_1S<KM, TM, K1, T1>) - Constructor for class name.matthewgreet.strutscommons.util.AbstractCompositeCache_1S
- AbstractCompositeCache_2S<KM,
TM, - Class in name.matthewgreet.strutscommons.utilK1, T1, K2, T2> -
Template for web level, session-based caching a master, record list with two slave lists for editing in various web pages.
- AbstractCompositeCache_2S() - Constructor for class name.matthewgreet.strutscommons.util.AbstractCompositeCache_2S
-
Creates session-based, composite cache with a master list and 2 slave lists.
- AbstractCompositeCache_2S(AbstractCompositeCache_2S<KM, TM, K1, T1, K2, T2>) - Constructor for class name.matthewgreet.strutscommons.util.AbstractCompositeCache_2S
- AbstractConverterSupport<A,
T> - Class in name.matthewgreet.strutscommons.validators -
Preferred template class for implementations of converters to single value data type.
- AbstractConverterSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractConverterSupport
- AbstractCustomAdjusterSupport - Class in name.matthewgreet.strutscommons.validators
-
Template class for client supplied adjusters that modifies a form field value.
- AbstractCustomAdjusterSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractCustomAdjusterSupport
- AbstractCustomCollectionConverterSupport<T> - Class in name.matthewgreet.strutscommons.validators
-
Template class for client supplied converters to collection-based data types.
- AbstractCustomCollectionConverterSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionConverterSupport
- AbstractCustomCollectionPostConversionValidatorSupport<T> - Class in name.matthewgreet.strutscommons.validators
-
Template class for client supplied validators that validates a converted form field value that are collections.
- AbstractCustomCollectionPostConversionValidatorSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionPostConversionValidatorSupport
- AbstractCustomConverterSupport<T> - Class in name.matthewgreet.strutscommons.validators
-
Template class for client supplied validators that convert a string-based form field to a single, other data type.
- AbstractCustomConverterSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractCustomConverterSupport
- AbstractCustomNonConversionValidatorSupport - Class in name.matthewgreet.strutscommons.validators
-
Template class for client supplied validators that convert a string-based form field to a single, other data type.
- AbstractCustomNonConversionValidatorSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractCustomNonConversionValidatorSupport
- AbstractCustomPostConversionValidatorSupport<T> - Class in name.matthewgreet.strutscommons.validators
-
Template class for client supplied validators that validates a converted form field value that are single values.
- AbstractCustomPostConversionValidatorSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractCustomPostConversionValidatorSupport
- AbstractDetailDisplay<D,
T> - Class in name.matthewgreet.strutscommons.view - AbstractDetailDisplay(ListCache<?, ?, T>) - Constructor for class name.matthewgreet.strutscommons.view.AbstractDetailDisplay
- AbstractForm - Class in name.matthewgreet.strutscommons.form
-
Template for Struts 2 forms that receives form data.
- AbstractForm() - Constructor for class name.matthewgreet.strutscommons.form.AbstractForm
- AbstractFormDrivenActionSupport<F> - Class in name.matthewgreet.strutscommons.action
-
Base class of Struts 2 Action for finding or updating based on form data, or otherwise respond to POST requests.
- AbstractFormDrivenActionSupport() - Constructor for class name.matthewgreet.strutscommons.action.AbstractFormDrivenActionSupport
- AbstractJsonServerAction<T> - Class in name.matthewgreet.strutscommons.action
-
Template class of Struts 2 action for serving Json data of generic type T, usually for JQuery-based pages using jQuery.getJSON.
- AbstractJsonServerAction() - Constructor for class name.matthewgreet.strutscommons.action.AbstractJsonServerAction
- AbstractListCacheBasedDisplay<T> - Class in name.matthewgreet.strutscommons.view
- AbstractListCacheBasedDisplay(ListCache<?, ?, T>) - Constructor for class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- AbstractListDisplay<D,
T> - Class in name.matthewgreet.strutscommons.view - AbstractListDisplay(ListCache<?, ?, T>) - Constructor for class name.matthewgreet.strutscommons.view.AbstractListDisplay
- AbstractNonConversionValidatorSupport<A> - Class in name.matthewgreet.strutscommons.validators
-
Preferred template class for implementations of non-conversion validators of single value data types.
- AbstractNonConversionValidatorSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractNonConversionValidatorSupport
- AbstractPolicySupport<A> - Class in name.matthewgreet.strutscommons.validators
- AbstractPolicySupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractPolicySupport
- AbstractPostConversionValidatorSupport<A,
T> - Class in name.matthewgreet.strutscommons.validators -
Preferred template class for implementations of post-conversion validators of single value data types.
- AbstractPostConversionValidatorSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractPostConversionValidatorSupport
- AbstractValidatorSupport<A> - Class in name.matthewgreet.strutscommons.validators
- AbstractValidatorSupport() - Constructor for class name.matthewgreet.strutscommons.validators.AbstractValidatorSupport
- AbstractViewActionSupport - Class in name.matthewgreet.strutscommons.action
-
Template class for Struts 2 actions that display something to be displayed.
- AbstractViewActionSupport() - Constructor for class name.matthewgreet.strutscommons.action.AbstractViewActionSupport
- addBlankValue() - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
Inserts blank value to beginning of list.
- addBlankValue() - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
If called after
SingleSelectBoxDisplay.setModel(java.util.Collection<T>)
, inserts blank value to beginning of list. - addItem(T) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Adds new item to end of list and sets it as selected item.
- addItems(List<SelectBoxItemDisplay<E>>) - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
May be overridden by subclasses to add additional, formatted items to the display list.
- addItems(List<SelectBoxItemDisplay<T>>) - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
May be overridden by subclasses to add additional, formatted items to the display list.
- addListCacheListener(ListCacheListener<T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
- adjust(String) - Method in interface name.matthewgreet.strutscommons.validators.Adjuster
-
Returns adjusted form field value.
- adjust(String) - Method in class name.matthewgreet.strutscommons.validators.LowerCaseAdjuster
- adjust(String) - Method in class name.matthewgreet.strutscommons.validators.TrimAdjuster
- adjust(String) - Method in class name.matthewgreet.strutscommons.validators.UpperCaseAdjuster
- Adjuster<A> - Interface in name.matthewgreet.strutscommons.validators
-
Interface for adjusters, which alter form field values and used by
AnnotationValidationInterceptor
. - ADJUSTER - Enum constant in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
- adjusterClass() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomAdjuster
- ALWAYS - Enum constant in enum class name.matthewgreet.strutscommons.annotation.Form.Reception
- AnnotationEntry(Annotation, ValidatorLibrary.AnnotationUsageResult<T>) - Constructor for class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor.AnnotationEntry
- AnnotationUsageResult() - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- AnnotationUsageResult(Adjuster<Annotation>) - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- AnnotationUsageResult(CollectionConverter<Annotation, T>) - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- AnnotationUsageResult(CollectionPostConversionValidator<Annotation, T>) - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- AnnotationUsageResult(Converter<Annotation, T>) - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- AnnotationUsageResult(NonConversionValidator<Annotation>) - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- AnnotationUsageResult(PostConversionValidator<Annotation, T>) - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- AnnotationValidationInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
Struts 2 Interceptor for parsing annotated form fields from strings to another data type and writes error messages where data type conversion fails.
- AnnotationValidationInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
- AnnotationValidationInterceptor.AnnotationEntry<T> - Class in name.matthewgreet.strutscommons.interceptor
-
Describes a form field annotation, its type, and an instance of a policy it configures, if applicable.
- AnnotationValidationInterceptor.ConversionFieldResult<T> - Class in name.matthewgreet.strutscommons.interceptor
-
Describes the result of a attempting to convert from a string to the generic type, and the field to receive it, successful or not.
- assemblePageExtensions(Collection<T>) - Method in interface name.matthewgreet.strutscommons.util.PageExtensionAssembler
-
Attaches additional data to each record for a requested page that the base record list finder did not load.
- attributeCloneAction(BrowserTabAware2, ActionInvocation, String, Object) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
-
Returns what to do with existing attributes of an existing page if the user is opening a hyperlink in a new browser tab.
- attributeFromOldTabToNewTabClone(BrowserTabAware2, ActionInvocation, BrowserTabSession, BrowserTabSession, Map.Entry<String, Object>) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
-
Handles an attribute from the old tab that should be cloned and returns whether it succeeded.
- attributeFromOldTabToNewTabCopyConstructor(BrowserTabAware2, ActionInvocation, BrowserTabSession, BrowserTabSession, Map.Entry<String, Object>) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
-
Handles an attribute from the old tab that that should be copied with a copy constructor and returns whether it succeeded.
- attributeFromOldTabToNewTabCopyReference(BrowserTabAware2, ActionInvocation, BrowserTabSession, BrowserTabSession, Map.Entry<String, Object>) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
-
Handles an attribute from the old tab that where its reference should be copied and returns whether it succeeded.
- attributeFromOldTabToNewTabIgnore(BrowserTabAware2, ActionInvocation, BrowserTabSession, BrowserTabSession, Map.Entry<String, Object>) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
-
Handles an attribute from the old tab that should be ignored and returns whether it succeeded, which does nothing.
- attributeFromOldTabToNewTabNull(BrowserTabAware2, ActionInvocation, BrowserTabSession, BrowserTabSession, Map.Entry<String, Object>) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
-
Handles an attribute from the old tab that that has a null value and returns whether it succeeded.
- attributesFromOldTabToNewTab(BrowserTabAware2, ActionInvocation, BrowserTabSession, BrowserTabSession) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
-
Called when the user's web browser reloads because the page has been opened in a new tab, to copy private, tab-specific attributes from the old tab to the new.
B
- BASE_RECORD_LIST - Enum constant in enum class name.matthewgreet.strutscommons.util.ListCache.PaginationMode
- beforeResult(ActionInvocation, String) - Method in class name.matthewgreet.strutscommons.interceptor.FormFormatterInterceptor.FormFormatterPreResultListener
- beforeResult(ActionInvocation, String) - Method in class name.matthewgreet.strutscommons.interceptor.MessageAmalgamationInterceptor
- BigDecimalConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) should be parsed to a recipient field of BigDecimal type and error message to display if this fails.
- BigDecimalConverter - Class in name.matthewgreet.strutscommons.validators
- BigDecimalConverter() - Constructor for class name.matthewgreet.strutscommons.validators.BigDecimalConverter
- BooleanConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) should be parsed to a recipient field of boolean or Boolean type and error message to display if this fails.
- BooleanConverter - Class in name.matthewgreet.strutscommons.validators
- BooleanConverter() - Constructor for class name.matthewgreet.strutscommons.validators.BooleanConverter
- BrowserTabAware - Interface in name.matthewgreet.strutscommons.action
-
Deprecated.
- BrowserTabAware2 - Interface in name.matthewgreet.strutscommons.action
-
Interface for Struts 2 actions that accept a browser tab id.
- BrowserTabInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
If the action implements BrowserTabAware, sets tab id from cookies.
- BrowserTabInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor
- BrowserTabInterceptor2 - Class in name.matthewgreet.strutscommons.interceptor
-
If the action implements BrowserTabAware, sets tab id from cookies.
- BrowserTabInterceptor2() - Constructor for class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
- BrowserTabInterceptor2.AttributeCloneAction - Enum Class in name.matthewgreet.strutscommons.interceptor
- BrowserTabSession - Interface in name.matthewgreet.strutscommons.action
-
Like
HttpSession
, stores sets of named data or attribute about a user between requests but data are private to each browser tab, so different pages of the same browser don't clash when using the same name. - BrowserTabSessionImpl - Class in name.matthewgreet.strutscommons.action
-
Implementation of
BrowserTabSession
. - BrowserTabSessionImpl(HttpSession, String) - Constructor for class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
C
- checkCollectionConversionMessage(Field, Annotation, CollectionConverter<?, T>, AnnotationValidationInterceptor.ConversionFieldResult<T>, ValidationAware, TextProvider) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Checks if conversion results means a message must be written and writes appropriate type if needed.
- checkCollectionConversionRecipientDataType(Field, Annotation, Field, Class<?>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns whether converting validator can convert form field value to the recipient field's type.
- checkCollectionPostConversionMessage(Field, Annotation, CollectionPostConversionValidator<?, T>, AnnotationValidationInterceptor.ConversionFieldResult<T>, ValidationResult, ValidationAware, TextProvider) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Checks if conversion results means a message must be written and writes appropriate type if needed.
- checkCollectionPostConversionRecipientDataType(Annotation, Field, Class<?>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns whether post conversion validator can use the recipient field's type.
- checkCollectionRecipientDataType(Field, Class<T>) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns whether converting validator can convert form field value to the recipient field's type.
- checkConversionMessage(Field, Annotation, Converter<?, T>, AnnotationValidationInterceptor.ConversionFieldResult<T>, ValidationAware, TextProvider) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Checks if conversion results means a message must be written and writes appropriate type if needed.
- checkConversionRecipientDataType(Field, Annotation, Field, Class<?>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns whether converting validator can convert form field value to the recipient field's type.
- checkFieldClass(Class<?>, Class<?>) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns whether a converter's target data type can convert to the form field's data type.
- checkLogger(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Ensures the logger for this instance has been initialised.
- checkNonConversionMessage(Field, Annotation, NonConversionValidator<?>, ValidationResult, ValidationAware, TextProvider) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Checks if non-conversion validation results means a message must be written and writes appropriate type if needed.
- checkPostConversionMessage(Field, Annotation, PostConversionValidator<?, T>, AnnotationValidationInterceptor.ConversionFieldResult<T>, ValidationResult, ValidationAware, TextProvider) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Checks if conversion results means a message must be written and writes appropriate type if needed.
- checkPostConversionRecipientDataType(Annotation, Field, Class<?>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns whether post conversion validator can use the recipient field's type.
- checkRecipientDataType(Field, Class<?>) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns whether converting validator can convert form field value to the recipient field's type.
- CLONE - Enum constant in enum class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2.AttributeCloneAction
- COLLECTION_CONVERT - Enum constant in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
- COLLECTION_POST_CONVERSION - Enum constant in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
- collectionConvert(ActionInvocation, Object, Collection<Field>, Field, String, String, AnnotationValidationInterceptor.AnnotationEntry<T>, boolean) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Converts form field value and returns result, or null if recipient field missing or compatibility checks fail.
- CollectionConverter<A,
T> - Interface in name.matthewgreet.strutscommons.validators -
Interface for form field validators used by
AnnotationValidationInterceptor
that convert from string values to collections and vice versa. - CollectionPostConversionValidator<A,
T> - Interface in name.matthewgreet.strutscommons.validators -
Interface for form field validators used by
AnnotationValidationInterceptor
that check a converted value. - collectionPostConvert(ActionInvocation, Object, Field, Field, Collection<T>, AnnotationValidationInterceptor.AnnotationEntry<T>, boolean) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Return validation result of converted form field value, or null if compatibility checks fail.
- compare(SelectBoxItemDisplay<E>, SelectBoxItemDisplay<E>) - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay.EnumComparator
- compare(SelectBoxItemDisplay<Integer>, SelectBoxItemDisplay<Integer>) - Method in class name.matthewgreet.strutscommons.view.IntegerListSelectBoxDisplay.NumberComparator
- compare(SelectBoxItemDisplay<T>, SelectBoxItemDisplay<T>) - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay.TextComparator
- ConversionFieldResult(Field, ConversionResult<T>) - Constructor for class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor.ConversionFieldResult
- ConversionResult<T> - Class in name.matthewgreet.strutscommons.validators
-
Describes result of a conversion.
- ConversionResult() - Constructor for class name.matthewgreet.strutscommons.validators.ConversionResult
- ConversionResult(boolean, T, Collection<T>, String, String, Required.MessageType) - Constructor for class name.matthewgreet.strutscommons.validators.ConversionResult
- convert(ActionInvocation, Object, Collection<Field>, Field, String, String, AnnotationValidationInterceptor.AnnotationEntry<T>, boolean) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Converts form field value and returns result, or null if recipient field missing or compatibility checks fail.
- convert(String, Class<?>, Class<Integer>) - Method in class name.matthewgreet.strutscommons.validators.IntegerCSVConverter
- convert(String, Class<?>, Class<String>) - Method in class name.matthewgreet.strutscommons.validators.StringCSVConverter
- convert(String, Class<?>, Class<T>) - Method in interface name.matthewgreet.strutscommons.validators.CollectionConverter
-
Returns result of conversion of form field.
- convert(String, Class<Boolean>) - Method in class name.matthewgreet.strutscommons.validators.BooleanConverter
- convert(String, Class<Enum>) - Method in class name.matthewgreet.strutscommons.validators.EnumConverter
- convert(String, Class<Integer>) - Method in class name.matthewgreet.strutscommons.validators.IntegerConverter
- convert(String, Class<BigDecimal>) - Method in class name.matthewgreet.strutscommons.validators.BigDecimalConverter
- convert(String, Class<Date>) - Method in class name.matthewgreet.strutscommons.validators.DateConverter
- convert(String, Class<T>) - Method in interface name.matthewgreet.strutscommons.validators.Converter
-
Returns result of conversion of form field.
- CONVERT - Enum constant in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
- Converter<A,
T> - Interface in name.matthewgreet.strutscommons.validators -
Interface for form field validators used by
AnnotationValidationInterceptor
that convert from string values to single values and vice versa. - COOKIE_NAME_POPUP_MARKER - Static variable in class name.matthewgreet.strutscommons.util.ServletLibrary
- COPY_CONSTRUCTOR - Enum constant in enum class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2.AttributeCloneAction
- COPY_REFERENCE - Enum constant in enum class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2.AttributeCloneAction
- copyAttributesFromOldTabToNewTab(BrowserTabSession, BrowserTabSession, Set<String>, Set<String>) - Method in interface name.matthewgreet.strutscommons.action.BrowserTabAware2
-
May be overridden to manually copy or clone tab-specific attributes from the page of an old tab to a new tab whenever the user opens a hyperlink in a new browser tab.
- CustomAdjuster - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines how a String form field value (whether on a Struts Action or model of ModelDriven Struts Action) that should be modified using a client supplied adjuster.
- CustomCollectionConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) should be converted using a client supplied validator to a recipient field of some type of collection and error message to display if this fails.
- CustomCollectionPostConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) where the converted value that is a collection and is to be validated using a client supplied validator and error message to display if this fails.
- CustomConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) should be converted using a client supplied validator to a recipient field and error message to display if this fails.
- CustomPostConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) where the converted value is to be validated using a client supplied validator and error message to display if this fails.
- CustomValidation - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) to be validated using a client supplied validator and error message to display if this fails.
D
- DateConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) should be parsed to a recipient field of Date type and error message to display if this fails.
- DateConversion.Style - Enum Class in name.matthewgreet.strutscommons.annotation
- DateConverter - Class in name.matthewgreet.strutscommons.validators
- DateConverter() - Constructor for class name.matthewgreet.strutscommons.validators.DateConverter
- deleteStoredForm() - Method in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
-
Deletes stored form as unused.
- disableFormatting() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Form
- doIntercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
- doValidate(ValidationAware, TextProvider) - Method in class name.matthewgreet.strutscommons.form.AbstractForm
-
Validates and parses form data itself, such as required fields or date validation, writing any error or field messages to the ValidationAware message receiver.
- doValidate(ValidationAware, TextProvider) - Method in class name.matthewgreet.strutscommons.form.NullForm
E
- EnumComparator() - Constructor for class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay.EnumComparator
- EnumConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) should be parsed to a recipient field of enumerated type and error message to display if this fails.
- EnumConverter - Class in name.matthewgreet.strutscommons.validators
- EnumConverter() - Constructor for class name.matthewgreet.strutscommons.validators.EnumConverter
- EnumSingleSelectBoxDisplay<E> - Class in name.matthewgreet.strutscommons.view
-
Template that aids creation of OPTION tags in JSPs for single selection SELECT elements by formatting an enumerated type for display and selecting from a current value.
- EnumSingleSelectBoxDisplay() - Constructor for class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
- EnumSingleSelectBoxDisplay.EnumComparator - Class in name.matthewgreet.strutscommons.view
- ERROR - Enum constant in enum class name.matthewgreet.strutscommons.annotation.Form.Reception
- ERROR - Enum constant in enum class name.matthewgreet.strutscommons.annotation.Required.MessageType
- Example code - Search tag in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor
- Section
- Example code - Search tag in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
- Section
- Example code - Search tag in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
- Section
- Example code - Search tag in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor
- Section
- Example code - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageAmalgamationInterceptor
- Section
- Example code - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageRetrieveInterceptor
- Section
- Example code - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor
- Section
- ExceptionMappingInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
Overrides ExceptionMappingInterceptor to always enable logging at ERROR level using the Action's class as the logging category.
- ExceptionMappingInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.ExceptionMappingInterceptor
- execute() - Method in class name.matthewgreet.strutscommons.action.AbstractJsonServerAction
- Extending the interceptor - Search tag in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor
- Section
- Extending the interceptor - Search tag in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
- Section
- Extending the interceptor - Search tag in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
- Section
- Extending the interceptor - Search tag in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor
- Section
- Extending the interceptor - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageAmalgamationInterceptor
- Section
- Extending the interceptor - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageRetrieveInterceptor
- Section
- Extending the interceptor - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor
- Section
F
- FIELD - Enum constant in enum class name.matthewgreet.strutscommons.annotation.Required.MessageType
- fieldIsNotForm(Field) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns whether a viewer Action's member field is definitely not a form.
- fieldReceivedStoredForm(Field) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns whether field of an Action received a stored form.
- fieldReceives(Class<?>, Field, FormStoreInterceptor.StoredForm) - Method in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
-
Returns whether Struts action member variable can be set to the stored form, which is whether the member variable's type is compatible with the form and
Form.reception()
annotation settings accept form validation status. - forceReload() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Reloads list using currently set list finder, id list finder, or list size finder.
- Form - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a member variable of a Struts action as receiving an injected form processed by another Struts action, whether successfully or not, usually to display it.
- Form.Reception - Enum Class in name.matthewgreet.strutscommons.annotation
- format() - Element in annotation interface name.matthewgreet.strutscommons.annotation.DateConversion
- format(Boolean) - Method in class name.matthewgreet.strutscommons.validators.BooleanConverter
- format(Enum) - Method in class name.matthewgreet.strutscommons.validators.EnumConverter
- format(Integer) - Method in class name.matthewgreet.strutscommons.validators.IntegerConverter
- format(BigDecimal) - Method in class name.matthewgreet.strutscommons.validators.BigDecimalConverter
- format(Collection<Integer>) - Method in class name.matthewgreet.strutscommons.validators.IntegerCSVConverter
- format(Collection<String>) - Method in class name.matthewgreet.strutscommons.validators.StringCSVConverter
- format(Collection<T>) - Method in interface name.matthewgreet.strutscommons.validators.CollectionConverter
-
Returns collection-based field value formatted for display in a form field.
- format(Date) - Method in class name.matthewgreet.strutscommons.validators.DateConverter
- format(T) - Method in interface name.matthewgreet.strutscommons.validators.Converter
-
Returns single field value formatted for display in a form field.
- formatDateLongYear(Date) - Static method in class name.matthewgreet.strutscommons.util.FormatLibrary
-
Returns formatted date in DD/MM/YYYY without time component.
- formatDateShortTime(Date) - Static method in class name.matthewgreet.strutscommons.util.FormatLibrary
-
Returns formatted date and time in DD/MM/YY HH:MM.
- formatEnd() - Method in class name.matthewgreet.strutscommons.view.AbstractDetailDisplay
- formatEnd() - Method in class name.matthewgreet.strutscommons.view.AbstractListDisplay
- formatForm(Object) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Formats form fields from the associated, unformatted values.
- formatForms() - Method in class name.matthewgreet.strutscommons.action.AbstractViewActionSupport
- formatForms() - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Formats form fields of the current Action's forms, which are annotated with
Form
, from the associated, unformatted values, except for any form that was retrieved and injected (usually a rejected form). - FormatLibrary - Class in name.matthewgreet.strutscommons.util
-
Static library functions for formatting data for display but also parsing them for validation.
- FormatLibrary() - Constructor for class name.matthewgreet.strutscommons.util.FormatLibrary
- formatNumber(Integer) - Static method in class name.matthewgreet.strutscommons.util.FormatLibrary
- formatRecord(T) - Method in class name.matthewgreet.strutscommons.view.AbstractDetailDisplay
- formatRecord(T, int) - Method in class name.matthewgreet.strutscommons.view.AbstractListDisplay
- formatStart() - Method in class name.matthewgreet.strutscommons.view.AbstractDetailDisplay
- formatStart() - Method in class name.matthewgreet.strutscommons.view.AbstractListDisplay
- FormDriven<T> - Interface in name.matthewgreet.strutscommons.util
-
Interface indicating Struts 2 action accepts form data into a form object and describes how the form should be handled in workflow.
- FormFormatterInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
Struts 2 Interceptor for formatting annotated form fields from their parsed values.
- FormFormatterInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.FormFormatterInterceptor
- FormFormatterInterceptor.FormFormatterPreResultListener - Class in name.matthewgreet.strutscommons.interceptor
- FormFormatterPreResultListener() - Constructor for class name.matthewgreet.strutscommons.interceptor.FormFormatterInterceptor.FormFormatterPreResultListener
- FormRetrieveInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
Retrieves a form stored in the session by
FormStoreInterceptor
and injects it into the action's member variable configured by theForm
annotation to accept it. - FormRetrieveInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
- FormStoreInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
If the action implements
FormDriven
, stores the form in the session so it may be retrieved by a later action that displays it. - FormStoreInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor
- FormStoreInterceptor.StoredForm - Class in name.matthewgreet.strutscommons.interceptor
- formValidationFailed() - Method in class name.matthewgreet.strutscommons.action.AbstractFormDrivenActionSupport
- formValidationFailed() - Method in interface name.matthewgreet.strutscommons.util.FormDriven
-
Returns whether the user's request was rejected, such as form data itself is invalid, an update rejected by the back-end or zero query results with zero results not allowed.
- FULL - Enum constant in enum class name.matthewgreet.strutscommons.annotation.DateConversion.Style
- FULL_LIST - Enum constant in enum class name.matthewgreet.strutscommons.util.ListCache.PaginationMode
G
- getActionErrors() - Method in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor.StoredMessages
- getActionMessages() - Method in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor.StoredMessages
- getAdjuster() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- getAllTabIds() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns ids of all browser tabs known to exist for the user.
- getAllTabIds() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getAnnotation() - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor.AnnotationEntry
- getAnnotation() - Method in class name.matthewgreet.strutscommons.validators.AbstractPolicySupport
- getAnnotation() - Method in interface name.matthewgreet.strutscommons.validators.Policy
-
Returns annotation that configures this policy.
- getAnnotationClass() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.PolicyEntry
- getAnnotationUsage() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- getAnnotationUsage(Annotation) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns validator (and formatter) that processes an annotated form field, or result of NA type if not recognised.
- getAnnotationUsage(Field, Annotation) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns validator (and formatter) that processes an annotated form field, or result of NA type if not recognised.
- getAnnotationUsageResult() - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor.AnnotationEntry
- getApplicationErrorMessage() - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Returns error message for application exceptions.
- getAttribute(String) - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns object bound to name, whether as private or shared attribute, or null if none.
- getAttribute(String) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getAttributeInternal(String) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getAttributeMap() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns shallow copy of all attributes, whether private or shared.
- getAttributeMap() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getAttributeNames() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns an enumeration of all attribute names, whether private or shared.
- getAttributeNames() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getBaseRecordListFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy object used to retrieve list.
- getBaseRecordListFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns base record list finder Strategy for loading base record list, if in base record list mode.
- getBlankText() - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
If
EnumSingleSelectBoxDisplay.hasBlankValue()
returns true orEnumSingleSelectBoxDisplay.addBlankValue()
is called, returns text to display for blank value. - getBlankText() - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
If
SingleSelectBoxDisplay.hasBlankValue()
returns true orSingleSelectBoxDisplay.addBlankValue()
is called, returns text to display for blank value. - getBrowserOldTabId(Cookie[]) - Static method in class name.matthewgreet.strutscommons.util.ServletLibrary
- getBrowserTabId(Cookie[]) - Static method in class name.matthewgreet.strutscommons.util.ServletLibrary
-
Returns tab id within a browser that, when combined with session, uniquely identifies a browser tab, or null if this information is missing.
- getBrowserTabSession() - Method in class name.matthewgreet.strutscommons.action.AbstractActionSupport
- getBrowserTabSession() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabAware2
-
Returns browser tab specific session.
- getCheckedAttribute() - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
-
Convenience method for checkboxes.
- getCollectionConverter() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- getCollectionPostConversionShortCircuit(Field, AnnotationValidationInterceptor.AnnotationEntry<?>, Collection<T>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns whether a rejection by the non-conversion validator should stop further validation.
- getCollectionPostConversionValidator() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- getConversionResult() - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor.ConversionFieldResult
- getConverter() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- getCreationTime() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getData() - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
-
Returns raw model item that is being formatted for display.
- getDateFormatStyle(DateConversion.Style) - Static method in class name.matthewgreet.strutscommons.validators.DateConverter
- getDefaultRecipientName(Field, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns the default field name to receive a converted form field.
- getDefaultRecipientName(String) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns the default field name to receive a converted form field.
- getDisabled() - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor
- getDisabled() - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
- getDisabled() - Method in class name.matthewgreet.strutscommons.interceptor.FormFormatterInterceptor
- getDisabled() - Method in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
-
Returns whether Action will not retrieve forms.
- getDisabled() - Method in class name.matthewgreet.strutscommons.interceptor.MessageRetrieveInterceptor
- getDisabledChangeResult() - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Returns whether changing result and logging when an exception is caught is disabled.
- getDisabledErrorMessage() - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Returns whether writing error message is disabled.
- getEnumValues() - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
Overridden by subclass to return the values of the enumerated type.
- getErrorResultName() - Method in class name.matthewgreet.strutscommons.action.AbstractJsonServerAction
-
Can be overridden to set execute result if it fails.
- getFieldErrors() - Method in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor.StoredMessages
- getForm() - Method in class name.matthewgreet.strutscommons.action.AbstractFormDrivenActionSupport
- getForm() - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- getFormattedList() - Method in class name.matthewgreet.strutscommons.view.AbstractListDisplay
- getFormattedRecord() - Method in class name.matthewgreet.strutscommons.view.AbstractDetailDisplay
- getGuaranteedBrowserTabId(HttpServletRequest, HttpServletResponse) - Static method in class name.matthewgreet.strutscommons.util.ServletLibrary
-
Returns id that uniquely identifies a browser tab.
- getGuaranteedPrivateMap() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getHasDetails() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns whether records must lazy load additional data for detail pages.
- getHasDetails() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns whether items have data displayed in detail pages that aren't needed for list pages.
- getHttpSession() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns underlying request session.
- getHttpSession() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getId() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getIdListFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy used to retrieve list.
- getIdListFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns finder Strategy for loading id list, if in page-by-id mode.
- getIds(M) - Method in interface name.matthewgreet.strutscommons.util.IdListFinder
-
Returns list of ids of record according to implementing search criteria.
- getInitialList() - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
May be overridden by subclasses to return initial selection, especially if the list is hardcoded and setModel will not be used.
- getInvalid() - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- getItem(K) - Method in interface name.matthewgreet.strutscommons.util.SingleItemFinder
-
Retrieves item from primary key or id, or null if not found.
- getItemFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy used to retrieve single item of list, including any extensions, or null if not set.
- getItemFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns single item finder Strategy for full details of a single item.
- getItems(Collection<K>) - Method in interface name.matthewgreet.strutscommons.util.PageByIdsFinder
-
Returns items from their ids.
- getItems(M, int, int) - Method in interface name.matthewgreet.strutscommons.util.PageByIndexRangeFinder
-
Returns items within a range of indices, where indices start at 0.
- getItemSorter() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy used to sort list, or null for no sorting.
- getItemSorter() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns item sorter Strategy, if any.
- getKey(V) - Method in interface name.matthewgreet.strutscommons.util.KeyExtractor
- getKeyExtractor() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy that extracts the primary key from a record.
- getKeyExtractor() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns adapter for obtaining unique key, usually the primary key, from records.
- getLastAccessedTime() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getList() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns entire record list, loading it if needed.
- getList() - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
Returns formatted version of account list for human display.
- getList() - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
Returns formatted version of account list for human display.
- getList(M) - Method in interface name.matthewgreet.strutscommons.util.ListFinder
-
Returns list, sorted if needed, of Value Objects.
- getListCache() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- getListeners() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns all listeners of any change to this.
- getListFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy object used to retrieve list.
- getListFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns list finder Strategy for loading full list, if in full list mode.
- getListSize() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns list size.
- getListSize() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- getListSizeFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy object used to retrieve list size.
- getListSizeFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns finder Command for getting list size, if in page-by-index-range mode.
- getLoadsDetails() - Method in interface name.matthewgreet.strutscommons.util.ListFinder
-
Returns true if finder eager loads any optional details of each item.
- getLoadsDetails() - Method in interface name.matthewgreet.strutscommons.util.PageByIdsFinder
-
Returns true if finder eager loads any optional details of each item.
- getLoadsDetails() - Method in interface name.matthewgreet.strutscommons.util.PageByIndexRangeFinder
-
Returns true if finder eager loads any optional extensions of each item.
- getLoadsDetails() - Method in interface name.matthewgreet.strutscommons.util.PageExtensionAssembler
-
Returns true if finder eager loads any optional detail extensions of each item.
- getLogger() - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Returns logger to be used for this instance;
- getLogger() - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
May be overridden by subclasses to return logger of subclass.
- getMasterList() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns master list cache, where records of this slave list cache are related to selected record of master list cache, or null if this is not a slave list.
- getMasterListCache() - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache
-
Returns cache of master list.
- getMasterListCacheConfig() - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache
-
Overridden by concrete implementations to configure master list cache.
- getMaxInactiveInterval() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionConverterSupport
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionPostConversionValidatorSupport
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomConverterSupport
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomNonConversionValidatorSupport
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomPostConversionValidatorSupport
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.BigDecimalConverter
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.BooleanConverter
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
If conversion failed, returns error message to use (if messageKey not set), or null to use annotation setting.
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.DateConverter
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.EnumConverter
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.IntegerConverter
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.IntegerCSVConverter
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.IntegerRangeValidator
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.MaxLengthValidator
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.MinIntegerValidator
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.RegexValidator
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.RequiredValidator
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.StringCSVConverter
- getMessage() - Method in class name.matthewgreet.strutscommons.validators.ValidationResult
-
If validation failed, returns error message to use (if messageKey not set), or null to use annotation setting.
- getMessage() - Method in interface name.matthewgreet.strutscommons.validators.Validator
-
Returns message set by annotation.
- getMessage(TextProvider, String, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns message to use, extracted from text provider if required.
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionConverterSupport
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionPostConversionValidatorSupport
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomConverterSupport
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomNonConversionValidatorSupport
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomPostConversionValidatorSupport
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.BigDecimalConverter
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.BooleanConverter
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
If conversion failed, returns error message key to use, or null to use annotation setting.
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.DateConverter
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.EnumConverter
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.IntegerConverter
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.IntegerCSVConverter
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.IntegerRangeValidator
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.MaxLengthValidator
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.MinIntegerValidator
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.RegexValidator
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.RequiredValidator
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.StringCSVConverter
- getMessageKey() - Method in class name.matthewgreet.strutscommons.validators.ValidationResult
-
If validation failed, returns error message key to use, or null to use annotation setting.
- getMessageKey() - Method in interface name.matthewgreet.strutscommons.validators.Validator
-
Returns message key set by annotation, which is used to retrieve message from Action's TextProvider if it's not empty string.
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionConverterSupport
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionPostConversionValidatorSupport
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomConverterSupport
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomNonConversionValidatorSupport
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomPostConversionValidatorSupport
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.BigDecimalConverter
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.BooleanConverter
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
If conversion failed, returns message list to use, or null to use annotation setting.
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.DateConverter
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.EnumConverter
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.IntegerConverter
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.IntegerCSVConverter
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.IntegerRangeValidator
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.MaxLengthValidator
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.MinIntegerValidator
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.RegexValidator
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.RequiredValidator
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.StringCSVConverter
- getMessageType() - Method in class name.matthewgreet.strutscommons.validators.ValidationResult
-
If validation failed, returns message list to use, or null to use annotation setting.
- getMessageType() - Method in interface name.matthewgreet.strutscommons.validators.Validator
-
Returns whether to write any error message to action errors, field errors, or action messages.
- getModel() - Method in class name.matthewgreet.strutscommons.action.AbstractFormDrivenActionSupport
- getName() - Method in class name.matthewgreet.strutscommons.util.ListCache
- getName() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns name of this cache, used in logs.
- getNonConversionShortCircuit(Field, AnnotationValidationInterceptor.AnnotationEntry<?>, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns whether a rejection by the non-conversion validator should stop further validation.
- getNonConversionValidator() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- getOwningActionClass() - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
-
Returns class of Action that retrieved form, or null if form not yet retrieved.
- getOwningActionFieldNames() - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
-
Returns names of fields that received form, or null if form not yet retrieved.
- getOwningURL() - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
-
Returns URL of page that retrieved messages so refresh still gets them.
- getPage() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns current page containing selected record, loading records if needed.
- getPage() - Method in class name.matthewgreet.strutscommons.view.AbstractListDisplay
- getPageByIdsFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy object used to retrieve page by their record primary keys.
- getPageByIdsFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns finder Strategy for loading multiple items by id, if in page-by-id mode.
- getPageByIndexRangeFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Strategy object used to retrieve page by their indices.
- getPageByIndexRangeFinder() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns finder Strategy for loading multiple items by index range, if in page-by-index-range mode.
- getPageExtensionAssembler() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns Transfer Object Assembler for adding record extensions needed for requested page that is not loaded by a base record list finder.
- getPageExtensionAssembler() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns Transfer Object Assembler for adding record extensions needed for requested page that is not loaded by a base record list finder.
- getPageNo() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns number of current page, starting at 1, containing selected record.
- getPageNo() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- getPageSize() - Method in class name.matthewgreet.strutscommons.util.ListCache
- getPageSize() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- getPageSize() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- getPageStartRecordNo() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- getPaginationMode() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns how pages are retrieved.
- getPaginationMode() - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
-
Returns pagination mode that will be used.
- getParsedCollectionValue() - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- getParsedValue() - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- getPolicies() - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns list of all built-in adjusters, converters, and validators.
- getPolicyClass() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.PolicyEntry
- getPostConversionShortCircuit(Field, AnnotationValidationInterceptor.AnnotationEntry<?>, T) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns whether a rejection by the non-conversion validator should stop further validation.
- getPostConversionValidator() - Method in class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsageResult
- getPrivateAttributeMap() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns shallow copy of private, tab-specific attributes.
- getPrivateAttributeMap() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getPrivateAttributeNames() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns set of names of private, tab-specific attributes.
- getPrivateAttributeNames() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getPrivateAttributeNamesInternal() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getProcessor() - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- getProperties(Class<?>) - Static method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns all member fields of a class, whether directly declared by the class or inherited.
- getProperties(Class<?>) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns all properties of a class, whether directly declared or inherited.
- getRange(int, int) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns range of records from cached list, loading them if needed.
- getRecipeintField() - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor.ConversionFieldResult
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.BigDecimalConverter
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.BooleanConverter
- getRecipientClass() - Method in interface name.matthewgreet.strutscommons.validators.CollectionConverter
-
Returns types of recipient fields that can receive converted form value or, if recipient should be a list, types of entries.
- getRecipientClass() - Method in interface name.matthewgreet.strutscommons.validators.CollectionPostConversionValidator
-
Returns types of recipient fields that can receive converted form value or, if recipient should be a list, types of entries.
- getRecipientClass() - Method in interface name.matthewgreet.strutscommons.validators.Converter
-
Returns types of recipient fields that can receive converted form value or, if recipient should be a list, types of entries.
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.DateConverter
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.EnumConverter
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.IntegerConverter
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.IntegerCSVConverter
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.IntegerRangeValidator
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.MinIntegerValidator
- getRecipientClass() - Method in interface name.matthewgreet.strutscommons.validators.PostConversionValidator
-
Returns types of recipient fields that can receive converted form value or, if recipient should be a list, types of entries.
- getRecipientClass() - Method in class name.matthewgreet.strutscommons.validators.StringCSVConverter
- getRecipientField(Field, Annotation, Collection<Field>, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Finds field to receive converted value from fields found in the form, or null if not found.
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionConverterSupport
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomConverterSupport
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.BigDecimalConverter
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.BooleanConverter
- getRecipientFieldName() - Method in interface name.matthewgreet.strutscommons.validators.CollectionConverter
-
Returns name of field to receive converted form value, which can be empty string to use default.
- getRecipientFieldName() - Method in interface name.matthewgreet.strutscommons.validators.Converter
-
Returns name of field to receive converted form value, which can be empty string to use default.
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.DateConverter
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.EnumConverter
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.IntegerConverter
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.IntegerCSVConverter
- getRecipientFieldName() - Method in class name.matthewgreet.strutscommons.validators.StringCSVConverter
- getRecord() - Method in class name.matthewgreet.strutscommons.view.AbstractDetailDisplay
- getRecordNo() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- getReload() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Indicates if record list must be reloaded.
- getReSort() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Indicates if record list must be sorted.
- getResponse() - Method in class name.matthewgreet.strutscommons.action.AbstractJsonServerAction
- getSelected() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns selected item from list.
- getSelected() - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- getSelectedAttribute() - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
-
Convenience method for selection list items.
- getSelectedIndex() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Returns index of currently selected item, starting at 0, in list.
- getSelectedItem() - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
Returns selected, formatted item or null if none selected.
- getServletContext() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getServletRequest() - Method in class name.matthewgreet.strutscommons.action.AbstractActionSupport
- getSessionContext() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getSharedAttributeMap() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns shallow copy of shared attributes.
- getSharedAttributeMap() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getSharedAttributeNames() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns set of names of shared attributes.
- getSharedAttributeNames() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getSharedAttributeNamesInternal() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getShortCircuit() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionPostConversionValidatorSupport
- getShortCircuit() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomNonConversionValidatorSupport
- getShortCircuit() - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomPostConversionValidatorSupport
- getShortCircuit() - Method in interface name.matthewgreet.strutscommons.validators.CollectionPostConversionValidator
-
Returns whether rejection by this validator should stop further validation.
- getShortCircuit() - Method in class name.matthewgreet.strutscommons.validators.IntegerRangeValidator
- getShortCircuit() - Method in class name.matthewgreet.strutscommons.validators.MaxLengthValidator
- getShortCircuit() - Method in class name.matthewgreet.strutscommons.validators.MinIntegerValidator
- getShortCircuit() - Method in interface name.matthewgreet.strutscommons.validators.NonConversionValidator
-
Returns whether rejection by this validator should stop further validation.
- getShortCircuit() - Method in interface name.matthewgreet.strutscommons.validators.PostConversionValidator
-
Returns whether rejection by this validator should stop further validation.
- getShortCircuit() - Method in class name.matthewgreet.strutscommons.validators.RegexValidator
- getShortCircuit() - Method in class name.matthewgreet.strutscommons.validators.RequiredValidator
- getSiblingTabCountAvailable() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
-
If true, the number of browser tabs displaying pages of the same app but independent, per-tab search results are counted and known.
- getSiblingTabNo() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
-
Returns position of this tab among list of sibling tabs, browser tabs displaying pages of the same app but independent, per-tab search results.
- getSiblingTabSize() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
-
Returns the number of browser tabs displaying pages of the same app but independent, per-tab search results.
- getSize(M) - Method in interface name.matthewgreet.strutscommons.util.ListSizeFinder
-
Returns size of list records according to implementing search criteria.
- getSlaveListCache1() - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache_1S
-
Returns cache of slave list 1.
- getSlaveListCache1Config() - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache_1S
-
Overridden by concrete implementations to configure slave list cache 1.
- getSlaveListCache2() - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache_2S
-
Returns cache of slave list 2.
- getSlaveListCache2Config() - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache_2S
-
Overridden by concrete implementations to configure slave list cache 2.
- getSortComparator() - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
May be overridden by subclasses to return a comparator for defining display order of formatted items.
- getSortComparator() - Method in class name.matthewgreet.strutscommons.view.IntegerListSelectBoxDisplay
-
Returns comparator that compares number items by value.
- getSortComparator() - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
May be overridden by subclasses to return a comparator for defining display order of formatted items.
- getStoredForm() - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns a processed form stored in session.
- getSuccess() - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- getSuccess() - Method in class name.matthewgreet.strutscommons.validators.ValidationResult
- getSystemFailureErrorMessage() - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Returns error message for system failure exceptions.
- getTabId() - Method in class name.matthewgreet.strutscommons.action.AbstractActionSupport
- getTabId() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabAware
-
Deprecated.
- getTabId() - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Returns id of browser tab.
- getTabId() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getTabId(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
- getText() - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
-
Returns text displayed in web page.
- getText(E) - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
May be overridden by subclasses to return text to be displayed to user as part of OPTION element.
- getText(Integer) - Method in class name.matthewgreet.strutscommons.view.IntegerListSelectBoxDisplay
-
Converts number to select box item display text.
- getText(T) - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
Overridden by subclasses to return formatted text to be displayed to user as part of OPTION element.
- getTotalPages() - Method in class name.matthewgreet.strutscommons.util.ListCache
- getTotalPages() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- getTypeFromCollectionField(Field) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns element type of a collection-based form field.
- getValue() - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
-
Returns value to be used in VALUE attribute.
- getValue(E) - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
May be overridden by subclasses to return string to be used in VALUE attribute of OPTION element.
- getValue(Integer) - Method in class name.matthewgreet.strutscommons.view.IntegerListSelectBoxDisplay
-
Converts number to select box item value.
- getValue(String) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- getValue(T) - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
Overridden by subclasses to return string to be used in VALUE attribute of OPTION element.
- getValueNames() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
H
- handleAttributeFailures(BrowserTabSession, BrowserTabSession, Set<String>) - Method in interface name.matthewgreet.strutscommons.action.BrowserTabAware2
-
May be overridden to handle attributes that failed manual or automatic copying or cloning.
- hasBlankValue() - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
May be overridden by subclasses to return true, inserting a blank value at the beginning of the SELECT list.
- hasBlankValue() - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
May be overridden by subclasses to return true, inserting a blank value at the beginning of the SELECT list.
I
- IdListFinder<M,
K> - Interface in name.matthewgreet.strutscommons.util -
Strategy for finding list of ids or other primary keys.
- IGNORE - Enum constant in enum class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2.AttributeCloneAction
- init() - Method in class name.matthewgreet.strutscommons.view.AbstractDetailDisplay
- init() - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
- init() - Method in class name.matthewgreet.strutscommons.view.AbstractListDisplay
- injectForm(ActionInvocation, FormStoreInterceptor.StoredForm, Field) - Method in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
-
Injects form into specific field.
- IntegerConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field (whether on a Struts Action or model of ModelDriven Struts Action) should be parsed to a recipient field of int or Integer type and error message to display if this fails.
- IntegerConverter - Class in name.matthewgreet.strutscommons.validators
- IntegerConverter() - Constructor for class name.matthewgreet.strutscommons.validators.IntegerConverter
- IntegerCSVConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a form field (whether on a Struts Action or model of ModelDriven Struts Action) should be parsed from comma separated values to a recipient field of some collection type of Integer and error message to display if this fails.
- IntegerCSVConverter - Class in name.matthewgreet.strutscommons.validators
- IntegerCSVConverter() - Constructor for class name.matthewgreet.strutscommons.validators.IntegerCSVConverter
- IntegerListSelectBoxDisplay - Class in name.matthewgreet.strutscommons.view
-
Concrete subclass of
SingleSelectBoxDisplay
that formats list of numbers for display in an HTML select box. - IntegerListSelectBoxDisplay() - Constructor for class name.matthewgreet.strutscommons.view.IntegerListSelectBoxDisplay
- IntegerListSelectBoxDisplay.NumberComparator - Class in name.matthewgreet.strutscommons.view
- IntegerRange - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines error message to display if a converted value of a String form field (whether on a Struts Action or model of ModelDriven Struts Action) is not within a range.
- IntegerRangeValidator - Class in name.matthewgreet.strutscommons.validators
- IntegerRangeValidator() - Constructor for class name.matthewgreet.strutscommons.validators.IntegerRangeValidator
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.ExceptionMappingInterceptor
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.FormFormatterInterceptor
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.MessageAmalgamationInterceptor
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.MessageRetrieveInterceptor
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor
- intercept(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
- Interceptor parameters - Search tag in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor
- Section
- Interceptor parameters - Search tag in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
- Section
- Interceptor parameters - Search tag in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
- Section
- Interceptor parameters - Search tag in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor
- Section
- Interceptor parameters - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageAmalgamationInterceptor
- Section
- Interceptor parameters - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageRetrieveInterceptor
- Section
- Interceptor parameters - Search tag in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor
- Section
- invalidate() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- isAllowed(E) - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
May be overridden by subclasses to filter items in lookup list from display.
- isAllowed(T) - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
May be overridden by subclasses to filter items in lookup list from display.
- isNew() - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- isSystemFailureException(Exception) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Returns whether exception indicates a system failure, rather than rejection due to business rules.
K
- KeyExtractor<K,
V> - Interface in name.matthewgreet.strutscommons.util -
Generic Adapter definition for extracting the id or primary key from a Data Transfer Object or entity bean.
L
- ListCache<M,
K, - Class in name.matthewgreet.strutscommons.utilT> - ListCache(ListCache.ListCacheConfig<M, K, T>, ListCache<?, ?, M>) - Constructor for class name.matthewgreet.strutscommons.util.ListCache
- ListCache(ListCache<M, K, T>) - Constructor for class name.matthewgreet.strutscommons.util.ListCache
-
Copy constructor.
- ListCache.ListCacheConfig<M,
K, - Class in name.matthewgreet.strutscommons.utilT> -
Configuration set by concrete class to control template behaviour for lists.
- ListCache.NotifyMode - Enum Class in name.matthewgreet.strutscommons.util
- ListCache.PaginationMode - Enum Class in name.matthewgreet.strutscommons.util
- ListCacheConfig() - Constructor for class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- ListCacheListener<T> - Interface in name.matthewgreet.strutscommons.util
-
Notifies that list, selected item, or selection index changed or marked for reload.
- ListCacheRecordComparator<T> - Interface in name.matthewgreet.strutscommons.util
-
Comparator used by
ListCache
. - ListFinder<M,
T> - Interface in name.matthewgreet.strutscommons.util -
Strategy for finding a sorted list.
- ListSizeFinder<M> - Interface in name.matthewgreet.strutscommons.util
-
Strategy for finding the size of a list of records.
- localeCountry() - Element in annotation interface name.matthewgreet.strutscommons.annotation.DateConversion
- localeLanguage() - Element in annotation interface name.matthewgreet.strutscommons.annotation.DateConversion
- logException(ActionInvocation, boolean, Exception) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Called to log exception before diverting to new result.
- LONG - Enum constant in enum class name.matthewgreet.strutscommons.annotation.DateConversion.Style
- LowerCase - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a Strng form field value (whether on a Struts Action or model of ModelDriven Struts Action) should be modified using the String.toLowerCase() function.
- LowerCaseAdjuster - Class in name.matthewgreet.strutscommons.validators
- LowerCaseAdjuster() - Constructor for class name.matthewgreet.strutscommons.validators.LowerCaseAdjuster
M
- makeCollectionForRecipient(Class<?>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Returns an empty collection to set the recipient field and will accept converted values.
- makeCollectionForRecipient(Class<?>) - Static method in class name.matthewgreet.strutscommons.util.ValidatorLibrary
-
Returns an empty, modifiable collection from a collection type.
- makeCollectionForRecipient(Class<?>) - Method in class name.matthewgreet.strutscommons.validators.AbstractCollectionConverterSupport
- makeContent() - Method in class name.matthewgreet.strutscommons.action.AbstractJsonServerAction
- makeDateFormat() - Method in class name.matthewgreet.strutscommons.validators.DateConverter
- makeFailureResult() - Static method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
Returns result for failed conversion and using annotation message configuration.
- makeFailureResult() - Static method in class name.matthewgreet.strutscommons.validators.ValidationResult
-
Returns result for validation fail and using annotation message configuration.
- makeFailureWithMessageKeyResult(String, Required.MessageType) - Static method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
Returns result for failed conversion and using supplied message key.
- makeFailureWithMessageKeyResult(String, Required.MessageType) - Static method in class name.matthewgreet.strutscommons.validators.ValidationResult
-
Returns result for validation fail and using supplied message key.
- makeFailureWithMessageResult(String, Required.MessageType) - Static method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
Returns result for failed conversion and using supplied message.
- makeFailureWithMessageResult(String, Required.MessageType) - Static method in class name.matthewgreet.strutscommons.validators.ValidationResult
-
Returns result for validation fail and using supplied message.
- makeForm() - Method in class name.matthewgreet.strutscommons.action.AbstractFormDrivenActionSupport
-
Returns a new instance of the form.
- makeLogger(ActionInvocation) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
-
Returns a new logger to be used by this interceptor instance.
- makeSelectBoxItemDisplay(String, String, E) - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
May be overridden by subclasses to return formatted text of an enumerated value for display in a select box.
- makeSetTabIdCookie() - Static method in class name.matthewgreet.strutscommons.util.ServletLibrary
-
Returns a new cookie to set the browser's tab id.
- makeSkippedCollectionResult(Collection<T>) - Static method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
Returns result for when field value is an empty string, skipping collection-based conversion.
- makeSkippedResult() - Static method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
Returns result for when field value is an empty string, skipping single value conversion.
- makeSuccessCollectionResult(Collection<T>) - Static method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
Returns result for successful collection-based conversion.
- makeSuccessResult() - Static method in class name.matthewgreet.strutscommons.validators.ValidationResult
-
Returns result for validation pass.
- makeSuccessResult(T) - Static method in class name.matthewgreet.strutscommons.validators.ConversionResult
-
Returns result for successful single value conversion.
- markChanged() - Method in class name.matthewgreet.strutscommons.util.ListCache
- markReload() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Marks record list as requiring a reload.
- markReSort() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Marks record list as requiring a re-sort.
- max() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerRange
- maxLength() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MaxLength
- MaxLength - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines error message to display if a String form field (whether on a Struts Action or model of ModelDriven Struts Action) exceeds a maximum length.
- MaxLengthValidator - Class in name.matthewgreet.strutscommons.validators
- MaxLengthValidator() - Constructor for class name.matthewgreet.strutscommons.validators.MaxLengthValidator
- MEDIUM - Enum constant in enum class name.matthewgreet.strutscommons.annotation.DateConversion.Style
- message - Variable in class name.matthewgreet.strutscommons.validators.ConversionResult
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.BigDecimalConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.DateConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.EnumConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerCSVConversion
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerRange
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MaxLength
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MinInteger
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Regex
- message() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Required
- MESSAGE - Enum constant in enum class name.matthewgreet.strutscommons.annotation.Required.MessageType
- MessageAmalgamationInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
If the action implements ValidationAware, amalgametes all action errors and messages from other validation aware actions in the Value Stack.
- MessageAmalgamationInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.MessageAmalgamationInterceptor
- messageKey - Variable in class name.matthewgreet.strutscommons.validators.ConversionResult
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.BigDecimalConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.DateConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.EnumConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerCSVConversion
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerRange
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MaxLength
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MinInteger
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Regex
- messageKey() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Required
- MessageRetrieveInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
If the Struts action implements
ValidationAware
, removes errors and messages stored in the session byMessageStoreInterceptor
and injects it into the action. - MessageRetrieveInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.MessageRetrieveInterceptor
- MessageStoreInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
If the action implements
ValidationAware
, stores the errors and messages in the session so it may be retrieved by a later action that displays it. - MessageStoreInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor
- MessageStoreInterceptor.StoredMessages - Class in name.matthewgreet.strutscommons.interceptor
- messageType - Variable in class name.matthewgreet.strutscommons.validators.ConversionResult
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.BigDecimalConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.DateConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.EnumConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerCSVConversion
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerRange
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MaxLength
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MinInteger
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Regex
- messageType() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Required
- min() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerRange
- min() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MinInteger
- MinInteger - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines error message to display if a converted value of a String form field (whether on a Struts Action or model of ModelDriven Struts Action) is less than a minimum value.
- MinIntegerValidator - Class in name.matthewgreet.strutscommons.validators
- MinIntegerValidator() - Constructor for class name.matthewgreet.strutscommons.validators.MinIntegerValidator
N
- NA - Class in name.matthewgreet.strutscommons.util
-
Class for serializable type parameters where no instance will actually be created.
- NA - Enum constant in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
- NA() - Constructor for class name.matthewgreet.strutscommons.util.NA
- name.matthewgreet.strutscommons.action - package name.matthewgreet.strutscommons.action
- name.matthewgreet.strutscommons.annotation - package name.matthewgreet.strutscommons.annotation
- name.matthewgreet.strutscommons.form - package name.matthewgreet.strutscommons.form
- name.matthewgreet.strutscommons.interceptor - package name.matthewgreet.strutscommons.interceptor
- name.matthewgreet.strutscommons.util - package name.matthewgreet.strutscommons.util
- name.matthewgreet.strutscommons.validators - package name.matthewgreet.strutscommons.validators
- name.matthewgreet.strutscommons.view - package name.matthewgreet.strutscommons.view
- NEVER - Enum constant in enum class name.matthewgreet.strutscommons.annotation.Form.Reception
- NON_CONVERT - Enum constant in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
- NonConversionValidator<A> - Interface in name.matthewgreet.strutscommons.validators
-
Interface for form field validators used by
AnnotationValidationInterceptor
that don't convert from string values. - NONE - Enum constant in enum class name.matthewgreet.strutscommons.util.ListCache.NotifyMode
- NOTIFY - Enum constant in enum class name.matthewgreet.strutscommons.util.ListCache.NotifyMode
- notifyChanged() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Notification of change.
- notifyChanged(ListCache<?, ?, T>) - Method in interface name.matthewgreet.strutscommons.util.ListCacheListener
-
Notifies that list, selected item, or selection index changed or marked for reload.
- NOTIFYING - Enum constant in enum class name.matthewgreet.strutscommons.util.ListCache.NotifyMode
- notifyMasterListCacheChanged(ListCache<?, ?, TM>) - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache
-
Notification that the master list cache has changed.
- notifySlaveListCache1Changed(ListCache<?, ?, T1>) - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache_1S
-
Notification that the slave list cache 1 has changed.
- notifySlaveListCache2Changed(ListCache<?, ?, T2>) - Method in class name.matthewgreet.strutscommons.util.AbstractCompositeCache_2S
-
Notification that the slave list cache 2 has changed.
- NULL - Enum constant in enum class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2.AttributeCloneAction
- NullForm - Class in name.matthewgreet.strutscommons.form
-
Form for Template Struts 2 Actions that use a form class as a type parameter, such as
AbstractFormDrivenActionSupport
, but don't actually accept any form data. - NullForm() - Constructor for class name.matthewgreet.strutscommons.form.NullForm
- NumberComparator() - Constructor for class name.matthewgreet.strutscommons.view.IntegerListSelectBoxDisplay.NumberComparator
O
- OLD_TAB_ID_COOKIE_NAME - Static variable in class name.matthewgreet.strutscommons.util.ServletLibrary
P
- PAGE_BY_IDS - Enum constant in enum class name.matthewgreet.strutscommons.util.ListCache.PaginationMode
- PAGE_BY_INDEX_RANGE - Enum constant in enum class name.matthewgreet.strutscommons.util.ListCache.PaginationMode
- PageByIdsFinder<K,
T> - Interface in name.matthewgreet.strutscommons.util -
Strategy for lazy loading a page of records to display from their ids (or other unique key), typically found by a paired
IdListFinder
instance. - PageByIndexRangeFinder<M,
T> - Interface in name.matthewgreet.strutscommons.util -
Strategy for lazy loading a page of records to display from an index range (0 based), typically with list size found by
ListSizeFinder
. - PageExtensionAssembler<T> - Interface in name.matthewgreet.strutscommons.util
-
Transfer Object Assembler for lazy loading additional data needed for a search results page that a base record list finder (instance of
ListFinder
) does not find. - param1() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomAdjuster
- param1() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- param1() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- param1() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- param1() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- param1() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- param2() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomAdjuster
- param2() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- param2() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- param2() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- param2() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- param2() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- param3() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomAdjuster
- param3() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- param3() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- param3() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- param3() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- param3() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- param4() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomAdjuster
- param4() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- param4() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- param4() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- param4() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- param4() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- param5() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomAdjuster
- param5() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- param5() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- param5() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- param5() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- param5() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.BigDecimalConversion
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.BooleanConversion
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.DateConversion
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.EnumConversion
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerConversion
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerCSVConversion
- parsedFieldName() - Element in annotation interface name.matthewgreet.strutscommons.annotation.StringCSVConversion
- parseInteger(String, ValidationAware, String) - Static method in class name.matthewgreet.strutscommons.util.FormatLibrary
- parseRequiredEnum(String, Class<T>, ValidationAware, String, String) - Static method in class name.matthewgreet.strutscommons.util.FormatLibrary
- parseRequiredInt(String, ValidationAware, String, String) - Static method in class name.matthewgreet.strutscommons.util.FormatLibrary
- parseRequiredString(String, ValidationAware, String) - Static method in class name.matthewgreet.strutscommons.util.FormatLibrary
- Policy<A> - Interface in name.matthewgreet.strutscommons.validators
-
Base interface for form field converters, validators and adjusters used by
AnnotationValidationInterceptor
. - PolicyEntry(Class<A>, Class<P>) - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary.PolicyEntry
- POST_CONVERSION - Enum constant in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
- PostConversionValidator<A,
T> - Interface in name.matthewgreet.strutscommons.validators -
Interface for form field validators used by
AnnotationValidationInterceptor
that check a converted value. - postConvert(ActionInvocation, Object, Field, Field, T, AnnotationValidationInterceptor.AnnotationEntry<T>, boolean) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Return validation result of converted form field value, or null if compatibility checks fail.
- processors() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Form
- purgePrivateAttributes(String) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- putValue(String, Object) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
R
- reception() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Form
- regex() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Regex
- Regex - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines error message to display if a String form field (whether on a Struts Action or model of ModelDriven Struts Action) does not match a regular expression.
- RegexValidator - Class in name.matthewgreet.strutscommons.validators
- RegexValidator() - Constructor for class name.matthewgreet.strutscommons.validators.RegexValidator
- remove(int) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Removes item from list at index position and returns it.
- removeAttribute(String) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- removeAttributeInternal(String) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- removeListCacheListener(ListCacheListener<T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
- removeSelected() - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Removes currently, selected item from list and returns it.
- removeValue(String) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- Required - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines error message to display if a String form field (whether on a Struts Action or model of ModelDriven Struts Action) has not been set.
- Required.MessageType - Enum Class in name.matthewgreet.strutscommons.annotation
- RequiredValidator - Class in name.matthewgreet.strutscommons.validators
- RequiredValidator() - Constructor for class name.matthewgreet.strutscommons.validators.RequiredValidator
- resetFields() - Method in class name.matthewgreet.strutscommons.form.AbstractForm
-
Sets all displayed fields to default values for data entry of a new record, which is usually an empty string.
- resetFields() - Method in class name.matthewgreet.strutscommons.form.NullForm
- restoreForm(ActionInvocation, FormStoreInterceptor.StoredForm) - Method in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
-
Injects stored form into receiving field of current action and pushes conversion errors onto the Value Stack.
S
- SelectBoxItemDisplay<T> - Class in name.matthewgreet.strutscommons.view
-
Aids creation of OPTION tags in JSPs for SELECT elements by formatting items for display.
- SelectBoxItemDisplay() - Constructor for class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- SelectBoxItemDisplay(String, String) - Constructor for class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- SelectBoxItemDisplay(String, String, T) - Constructor for class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- separator() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerCSVConversion
- separator() - Element in annotation interface name.matthewgreet.strutscommons.annotation.StringCSVConversion
- ServletLibrary - Class in name.matthewgreet.strutscommons.util
-
Static library functions for servlets.
- ServletLibrary() - Constructor for class name.matthewgreet.strutscommons.util.ServletLibrary
- SESSION_STORED_FORM - Static variable in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor
- SESSION_STORED_MESSAGES - Static variable in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor
- SET_TAB_ID_COOKIE_NAME - Static variable in class name.matthewgreet.strutscommons.util.ServletLibrary
- setActionErrors(Collection<String>) - Method in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor.StoredMessages
- setActionMessages(Collection<String>) - Method in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor.StoredMessages
- setAnnotation(A) - Method in class name.matthewgreet.strutscommons.validators.AbstractPolicySupport
- setAnnotation(A) - Method in interface name.matthewgreet.strutscommons.validators.Policy
-
Sets annotation that configures this policy.
- setApplicationErrorMessage(String) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
- setAttribute(String, Object) - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Binds an object to a name as a private, tab-specific attribute, replacing any existing value.
- setAttribute(String, Object) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- setAttributeInternal(String, Object) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- setBaseRecordListAndFinder(List<T>, ListFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Caches list already loaded, sets base record list finder Strategy used to load it, and sets base record list pagination mode.
- setBaseRecordListFinder(ListFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setBaseRecordListFinder(ListFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets base record list finder, marks list for reload, and sets base record list pagination mode..
- setBrowserTabSession(BrowserTabSession) - Method in class name.matthewgreet.strutscommons.action.AbstractActionSupport
- setBrowserTabSession(BrowserTabSession) - Method in interface name.matthewgreet.strutscommons.action.BrowserTabAware2
-
Sets browser tab specific session.
- setBrowserTabSessionData(BrowserTabSession, Class<? extends AbstractCompositeCache<?, T>>, String) - Method in class name.matthewgreet.strutscommons.view.AbstractListCacheBasedDisplay
-
Sets all session data, class of composite cache used by sibling tabs, and tab id of this tab.
- setData(T) - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- setDisabled(boolean) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor
- setDisabled(boolean) - Method in class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2
- setDisabled(boolean) - Method in class name.matthewgreet.strutscommons.interceptor.FormFormatterInterceptor
- setDisabled(boolean) - Method in class name.matthewgreet.strutscommons.interceptor.FormRetrieveInterceptor
- setDisabled(boolean) - Method in class name.matthewgreet.strutscommons.interceptor.MessageRetrieveInterceptor
- setDisabledChangeResult(boolean) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
- setDisabledErrorMessage(boolean) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
- setFieldErrors(Map<String, List<String>>) - Method in class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor.StoredMessages
- setForm(F) - Method in class name.matthewgreet.strutscommons.action.AbstractFormDrivenActionSupport
- setForm(Object) - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- setHasDetails(boolean) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setIdListAndFinder(List<K>, IdListFinder<M, K>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Caches id list already loaded, sets id list finder Strategy used to load it, and sets page by ids pagination mode.
- setIdListFinder(IdListFinder<M, K>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setIdListFinder(IdListFinder<M, K>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets Strategy used to retrieve ids, sets page by ids pagination mode and marks list for reload.
- setInvalid(boolean) - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- setItemFinder(SingleItemFinder<K, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setItemFinder(SingleItemFinder<K, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets Strategy for retrieving single item of list, including details.
- setItemSorter(ListCacheRecordComparator<T>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setItemSorter(ListCacheRecordComparator<T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets Strategy for sorting list data, overriding the list order of a list finder, or null to preserve list order.
- setKeyExtractor(KeyExtractor<K, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setKeyExtractor(KeyExtractor<K, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets Strategy that extracts the primary key from a record.
- setList(List<SelectBoxItemDisplay<E>>) - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
Directly sets formatted version of account list for human display.
- setList(List<SelectBoxItemDisplay<T>>) - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
Directly sets formatted version of account list for human display.
- setListAndFinder(List<T>, ListFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Caches list already loaded, sets full list Strategy used to load it, and sets full list pagination mode.
- setListFinder(ListFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setListFinder(ListFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets full list Strategy to retrieve list when needed and sets full list pagination mode.
- setListSizeAndFinder(int, ListSizeFinder<M>, PageByIndexRangeFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets list size, the list size finder used to find that, page by index range finder that will be used to find pages from list, and sets page by index pagination mode.
- setListSizeFinder(ListSizeFinder<M>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setListSizeFinder(ListSizeFinder<M>, PageByIndexRangeFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets the list size finder, sets accompanying page by index range finder that will be used to find pages from list, sets page by index pagination mode, and marks list for reload.
- setMaxInactiveInterval(int) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- setMessage(String) - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- setMessage(String) - Method in class name.matthewgreet.strutscommons.validators.ValidationResult
- setMessageKey(String) - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- setMessageKey(String) - Method in class name.matthewgreet.strutscommons.validators.ValidationResult
- setMessageType(Required.MessageType) - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- setMessageType(Required.MessageType) - Method in class name.matthewgreet.strutscommons.validators.ValidationResult
- setModel(String, String) - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- setModel(String, String, T) - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- setModel(Collection<T>) - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
Formats lookup list for use in single selection HTML SELECT element.
- setName(String) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setOwningActionClass(Class<?>) - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- setOwningActionFieldNames(Set<String>) - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- setOwningURL(String) - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- setPageByIdsFinder(PageByIdsFinder<K, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setPageByIdsFinder(PageByIdsFinder<K, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets Strategy used to retrieve page by their record ids.
- setPageByIndexRangeFinder(PageByIndexRangeFinder<M, T>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setPageExtensionAssembler(PageExtensionAssembler<T>) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setPageExtensionAssembler(PageExtensionAssembler<T>) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets Transfer Object Assembler for adding record extensions needed for requested page that is not loaded by a base record list finder.
- setPageNo(int) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets index of currently selected item to be first item of page where pageNo starts at one.
- setPageSize(int) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setPageSize(int) - Method in class name.matthewgreet.strutscommons.util.ListCache
- setPaginationMode(ListCache.PaginationMode) - Method in class name.matthewgreet.strutscommons.util.ListCache.ListCacheConfig
- setParsedCollectionValue(Collection<T>) - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- setParsedValue(T) - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- setProcessor(Class<?>) - Method in class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- setSelected(boolean) - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- setSelected(T) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Replaces selected item in list.
- setSelectedIndex(int) - Method in class name.matthewgreet.strutscommons.util.ListCache
-
Sets currently selected item in list by index.
- setSelectedValue(String) - Method in class name.matthewgreet.strutscommons.view.EnumSingleSelectBoxDisplay
-
Sets selected item of list identified by its value.
- setSelectedValue(String) - Method in class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
-
Sets selected item of list identified by its value.
- setSharedAttribute(String, Object) - Method in interface name.matthewgreet.strutscommons.action.BrowserTabSession
-
Like
BrowserTabSession.setAttribute(java.lang.String, java.lang.Object)
, binds an object to a name but as a shared attribute. - setSharedAttribute(String, Object) - Method in class name.matthewgreet.strutscommons.action.BrowserTabSessionImpl
- setSuccess(boolean) - Method in class name.matthewgreet.strutscommons.validators.ConversionResult
- setSuccess(boolean) - Method in class name.matthewgreet.strutscommons.validators.ValidationResult
- setSystemFailureErrorMessage(String) - Method in class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
- setTabId(String) - Method in class name.matthewgreet.strutscommons.action.AbstractActionSupport
- setTabId(String) - Method in interface name.matthewgreet.strutscommons.action.BrowserTabAware
-
Deprecated.
- setText(String) - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- setValue(String) - Method in class name.matthewgreet.strutscommons.view.SelectBoxItemDisplay
- SHORT - Enum constant in enum class name.matthewgreet.strutscommons.annotation.DateConversion.Style
- shortCircuit() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- shortCircuit() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- shortCircuit() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- shortCircuit() - Element in annotation interface name.matthewgreet.strutscommons.annotation.IntegerRange
- shortCircuit() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MaxLength
- shortCircuit() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MinInteger
- shortCircuit() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Regex
- shortCircuit() - Element in annotation interface name.matthewgreet.strutscommons.annotation.Required
- SingleItemFinder<K,
T> - Interface in name.matthewgreet.strutscommons.util -
Strategy for finding single item.
- SingleSelectBoxDisplay<T> - Class in name.matthewgreet.strutscommons.view
-
Template that aids creation of OPTION tags in JSPs for single selection SELECT elements by formatting list for display.
- SingleSelectBoxDisplay() - Constructor for class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay
- SingleSelectBoxDisplay.TextComparator - Class in name.matthewgreet.strutscommons.view
- StoredForm() - Constructor for class name.matthewgreet.strutscommons.interceptor.FormStoreInterceptor.StoredForm
- StoredMessages() - Constructor for class name.matthewgreet.strutscommons.interceptor.MessageStoreInterceptor.StoredMessages
- StringCSVConversion - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a form field (whether on a Struts Action or model of ModelDriven Struts Action) should be parsed from comma separated values to a recipient field of some collection of String.
- StringCSVConverter - Class in name.matthewgreet.strutscommons.validators
- StringCSVConverter() - Constructor for class name.matthewgreet.strutscommons.validators.StringCSVConverter
- style() - Element in annotation interface name.matthewgreet.strutscommons.annotation.DateConversion
- SUCCESS - Enum constant in enum class name.matthewgreet.strutscommons.annotation.Form.Reception
T
- TAB_ID_COOKIE_NAME - Static variable in class name.matthewgreet.strutscommons.util.ServletLibrary
- TextComparator() - Constructor for class name.matthewgreet.strutscommons.view.SingleSelectBoxDisplay.TextComparator
- trim() - Element in annotation interface name.matthewgreet.strutscommons.annotation.MaxLength
- trim() - Element in annotation interface name.matthewgreet.strutscommons.annotation.StringCSVConversion
- Trim - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field value (whether on a Struts Action or model of ModelDriven Struts Action) should be trimmed using the String.trim() function.
- TrimAdjuster - Class in name.matthewgreet.strutscommons.validators
- TrimAdjuster() - Constructor for class name.matthewgreet.strutscommons.validators.TrimAdjuster
U
- UnhandledExceptionWriterInterceptor - Class in name.matthewgreet.strutscommons.interceptor
-
Detects an exception not handled by the form driven action, logs it, changes the result to 'input' or 'error' as needed and, if it implements ValidationAware, writes an action error for the user.
- UnhandledExceptionWriterInterceptor() - Constructor for class name.matthewgreet.strutscommons.interceptor.UnhandledExceptionWriterInterceptor
- UpperCase - Annotation Interface in name.matthewgreet.strutscommons.annotation
-
Defines a String form field value (whether on a Struts Action or model of ModelDriven Struts Action) should be modified using the String.toUowerCase() function.
- UpperCaseAdjuster - Class in name.matthewgreet.strutscommons.validators
- UpperCaseAdjuster() - Constructor for class name.matthewgreet.strutscommons.validators.UpperCaseAdjuster
- usesPageExtensionData() - Method in interface name.matthewgreet.strutscommons.util.ListCacheRecordComparator
-
Returns whether this comparator uses data that must be loaded by a page extension assembler.
V
- validate() - Method in class name.matthewgreet.strutscommons.action.AbstractFormDrivenActionSupport
- validate(Integer) - Method in class name.matthewgreet.strutscommons.validators.IntegerRangeValidator
- validate(Integer) - Method in class name.matthewgreet.strutscommons.validators.MinIntegerValidator
- validate(String) - Method in class name.matthewgreet.strutscommons.validators.MaxLengthValidator
- validate(String) - Method in interface name.matthewgreet.strutscommons.validators.NonConversionValidator
-
Returns result of validation of form field.
- validate(String) - Method in class name.matthewgreet.strutscommons.validators.RegexValidator
- validate(String) - Method in class name.matthewgreet.strutscommons.validators.RequiredValidator
- validate(Collection<T>) - Method in class name.matthewgreet.strutscommons.validators.AbstractCustomCollectionPostConversionValidatorSupport
- validate(Collection<T>) - Method in interface name.matthewgreet.strutscommons.validators.CollectionPostConversionValidator
-
Returns result of checking converted form field value and message to use if failed.
- validate(T) - Method in interface name.matthewgreet.strutscommons.validators.PostConversionValidator
-
Returns result of checking converted form field value and message to use if failed.
- validateCollectionConversion(Field, Annotation, CollectionConverter<?, T>, String, Field, Class<T>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Calls validator to convert string form field value to recipient field of expected data type.
- validateCollectionPostConversion(Field, Annotation, CollectionPostConversionValidator<?, T>, Collection<T>, Field, Class<?>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Calls validator to check a converted form field.
- validateConversion(Field, Annotation, Converter<?, T>, String, Field, Class<T>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Calls validator to convert string form field value to recipient field of expected data type.
- validateNonConversion(Field, AnnotationValidationInterceptor.AnnotationEntry<?>, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Calls validator to check a form field before any conversion.
- validatePostConversion(Field, Annotation, PostConversionValidator<?, T>, T, Field, Class<T>) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Calls validator to check a converted form field.
- ValidationResult - Class in name.matthewgreet.strutscommons.validators
-
Describes result of a validation.
- ValidationResult() - Constructor for class name.matthewgreet.strutscommons.validators.ValidationResult
- ValidationResult(boolean, String, String, Required.MessageType) - Constructor for class name.matthewgreet.strutscommons.validators.ValidationResult
- Validator<A> - Interface in name.matthewgreet.strutscommons.validators
-
Base interface for form field converters and validators used by
AnnotationValidationInterceptor
. - validatorClass() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionConversion
- validatorClass() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomCollectionPostConversion
- validatorClass() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomConversion
- validatorClass() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomPostConversion
- validatorClass() - Element in annotation interface name.matthewgreet.strutscommons.annotation.CustomValidation
- ValidatorLibrary - Class in name.matthewgreet.strutscommons.util
-
Static functions used by validators.
- ValidatorLibrary() - Constructor for class name.matthewgreet.strutscommons.util.ValidatorLibrary
- ValidatorLibrary.AnnotationUsage - Enum Class in name.matthewgreet.strutscommons.util
- ValidatorLibrary.AnnotationUsageResult<T> - Class in name.matthewgreet.strutscommons.util
-
Describes a type of form field annotation and an instance of the policy it configures.
- ValidatorLibrary.PolicyEntry<A,
P> - Class in name.matthewgreet.strutscommons.util -
Describes table entry that finds a policy class from the annotation class that configures it.
- valueOf(String) - Static method in enum class name.matthewgreet.strutscommons.annotation.DateConversion.Style
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class name.matthewgreet.strutscommons.annotation.Form.Reception
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class name.matthewgreet.strutscommons.annotation.Required.MessageType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2.AttributeCloneAction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class name.matthewgreet.strutscommons.util.ListCache.NotifyMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class name.matthewgreet.strutscommons.util.ListCache.PaginationMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class name.matthewgreet.strutscommons.annotation.DateConversion.Style
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class name.matthewgreet.strutscommons.annotation.Form.Reception
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class name.matthewgreet.strutscommons.annotation.Required.MessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class name.matthewgreet.strutscommons.interceptor.BrowserTabInterceptor2.AttributeCloneAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class name.matthewgreet.strutscommons.util.ListCache.NotifyMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class name.matthewgreet.strutscommons.util.ListCache.PaginationMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class name.matthewgreet.strutscommons.util.ValidatorLibrary.AnnotationUsage
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARNING - Enum constant in enum class name.matthewgreet.strutscommons.annotation.Required.MessageType
- withServletRequest(HttpServletRequest) - Method in class name.matthewgreet.strutscommons.action.AbstractActionSupport
- withServletResponse(HttpServletResponse) - Method in class name.matthewgreet.strutscommons.action.AbstractJsonServerAction
- writeFieldError(ValidationAware, String, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Writes message to Action's field errors for field.
- writeGeneralError(ValidationAware, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Writes message to Action's action errors.
- writeInfoMessage(ValidationAware, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Writes message to Action's action messages.
- writeWarningMessage(ValidationAware, String) - Method in class name.matthewgreet.strutscommons.interceptor.AnnotationValidationInterceptor
-
Writes message to Action's action warnings.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
BrowserTabAware2
.