Uses of Interface
name.matthewgreet.strutscommons.util.ListSizeFinder
Packages that use ListSizeFinder
Package
Description
Template classes and supporting interfaces for Struts 2 Actions.
Various helper classes, especially for session-based data, and libraries.
-
Uses of ListSizeFinder in name.matthewgreet.strutscommons.action
Methods in name.matthewgreet.strutscommons.action that return ListSizeFinderModifier and TypeMethodDescriptionAbstractFindListMultiModeActionSupport.FindListMultiModeResponse.getListSizeFinderCommand()
Returns list size finder for page by index pagination mode.AbstractFindIndexListActionSupport.FindIndexListResponse.getSizeFinderCommand()
Returns Command object for reloading list size with the search parameters.Methods in name.matthewgreet.strutscommons.action with parameters of type ListSizeFinderModifier and TypeMethodDescriptionstatic <M extends Serializable,
K extends Serializable, T extends Serializable>
AbstractFindListMultiModeActionSupport.FindListMultiModeResponse<M, K, T> AbstractFindListMultiModeActionSupport.FindListMultiModeResponse.makeSuccessIndexListResponse
(ListSizeFinder<M> listSizeFinderCommand, PageByIndexRangeFinder<M, T> pageByIndexFinderCommand) Returns response for a successfully created index list finder Command and page by index Command.static <M extends Serializable,
K extends Serializable, T extends Serializable>
AbstractFindListMultiModeActionSupport.FindListMultiModeResponse<M, K, T> AbstractFindListMultiModeActionSupport.FindListMultiModeResponse.makeSuccessIndexListWithResultsResponse
(ListSizeFinder<M> listSizeFinderCommand, PageByIndexRangeFinder<M, T> pageByIndexFinderCommand, int listSize) Returns response for a successfully created index list finder Command and page by index Command.static <M extends Serializable,
T extends Serializable>
AbstractFindIndexListActionSupport.FindIndexListResponse<M, T> AbstractFindIndexListActionSupport.FindIndexListResponse.makeSuccessResponse
(ListSizeFinder<M> sizeFinderCommand, PageByIndexRangeFinder<M, T> pageFinderCommand) Returns response for a successfully created finder Command and template class will retrieve list size.static <M extends Serializable,
T extends Serializable>
AbstractFindIndexListActionSupport.FindIndexListResponse<M, T> AbstractFindIndexListActionSupport.FindIndexListResponse.makeSuccessWithListSizeResponse
(ListSizeFinder<M> sizeFinderCommand, PageByIndexRangeFinder<M, T> pageFinderCommand, int listSize) Returns response for a successfully created finder Command and list size has already been retrieved.void
AbstractFindListMultiModeActionSupport.FindListMultiModeResponse.setListSizeFinderCommand
(ListSizeFinder<M> listSizeFinderCommand) protected String
AbstractFindIndexListActionSupport.translateFinderException
(ListSizeFinder<M> sizeFinderCommand, Exception e) May be overridden by subclasses to translate an exception thrown by a list size finder Command into a Struts message, so a message is displayed to the user.protected String
AbstractFindListMultiModeActionSupport.translateFinderException
(ListFinder<M, T> listFinderCommand, IdListFinder<M, K> idListFinderCommand, ListSizeFinder<M> listSizeFinderCommand, Exception e) May be overridden by subclasses to translate an exception thrown by a list finder Command, id list finder Command or list size finder Command into message.Constructors in name.matthewgreet.strutscommons.action with parameters of type ListSizeFinderModifierConstructorDescriptionFindIndexListResponse
(ListSizeFinder<M> sizeFinderCommand, PageByIndexRangeFinder<M, T> pageFinderCommand) Constructor for successfully creating a finder Command. -
Uses of ListSizeFinder in name.matthewgreet.strutscommons.util
Methods in name.matthewgreet.strutscommons.util that return ListSizeFinderModifier and TypeMethodDescriptionListCache.getListSizeFinder()
Returns Strategy object used to retrieve list size.ListCache.ListCacheConfig.getListSizeFinder()
Returns finder Command for getting list size, if in page-by-index-range mode.Methods in name.matthewgreet.strutscommons.util with parameters of type ListSizeFinderModifier and TypeMethodDescriptionvoid
ListCache.setListSizeAndFinder
(int listSize, ListSizeFinder<M> listSizeFinder, PageByIndexRangeFinder<M, T> pageByIndexRangeFinder) 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.void
ListCache.ListCacheConfig.setListSizeFinder
(ListSizeFinder<M> listSizeFinder) void
ListCache.setListSizeFinder
(ListSizeFinder<M> listSizeFinder, PageByIndexRangeFinder<M, T> pageByIndexRangeFinder) 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.