Uses of Interface
name.matthewgreet.strutscommons.util.IdListFinder
Packages that use IdListFinder
Package
Description
Template classes and supporting interfaces for Struts 2 Actions.
Various helper classes, especially for session-based data, and libraries.
-
Uses of IdListFinder in name.matthewgreet.strutscommons.action
Methods in name.matthewgreet.strutscommons.action that return IdListFinderModifier and TypeMethodDescriptionAbstractFindIdListActionSupport.FindIdListResponse.getFinderCommand()
Returns Command object for reloading list with the search parameters.AbstractFindListMultiModeActionSupport.FindListMultiModeResponse.getIdListFinderCommand()
Returns id list finder for page by ids pagination mode.Methods in name.matthewgreet.strutscommons.action with parameters of type IdListFinderModifier and TypeMethodDescriptionstatic <M extends Serializable,
K extends Serializable, T extends Serializable>
AbstractFindListMultiModeActionSupport.FindListMultiModeResponse<M, K, T> AbstractFindListMultiModeActionSupport.FindListMultiModeResponse.makeSuccessIdListResponse
(IdListFinder<M, K> finderCommand) Returns response for a successfully created id list finder Command.static <M extends Serializable,
K extends Serializable, T extends Serializable>
AbstractFindListMultiModeActionSupport.FindListMultiModeResponse<M, K, T> AbstractFindListMultiModeActionSupport.FindListMultiModeResponse.makeSuccessIdListWithResultsResponse
(IdListFinder<M, K> finderCommand, List<K> idList) Returns response for a successfully created id list finder Command with results already found.static <M extends Serializable,
K extends Serializable>
AbstractFindIdListActionSupport.FindIdListResponse<M, K> AbstractFindIdListActionSupport.FindIdListResponse.makeSuccessResponse
(IdListFinder<M, K> finderCommand) Returns response for a successfully created finder Command and template class will retrieve list.static <M extends Serializable,
K extends Serializable>
AbstractFindIdListActionSupport.FindIdListResponse<M, K> AbstractFindIdListActionSupport.FindIdListResponse.makeSuccessWithIdsResponse
(IdListFinder<M, K> finderCommand, List<K> ids) Returns response for a successfully created finder Command and list has already been retrieved.void
AbstractFindListMultiModeActionSupport.FindListMultiModeResponse.setIdListFinderCommand
(IdListFinder<M, K> idListFinderCommand) protected String
AbstractFindIdListActionSupport.translateFinderException
(IdListFinder<M, K> finderCommand, Exception e) May be overridden by subclasses to translate an exception thrown by a list finder Command into a Struts message key, 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 IdListFinderModifierConstructorDescriptionFindIdListResponse
(IdListFinder<M, K> finderCommand) Constructor for successfully creating a finder Command. -
Uses of IdListFinder in name.matthewgreet.strutscommons.util
Methods in name.matthewgreet.strutscommons.util that return IdListFinderModifier and TypeMethodDescriptionListCache.getIdListFinder()
Returns Strategy used to retrieve list.ListCache.ListCacheConfig.getIdListFinder()
Returns finder Strategy for loading id list, if in page-by-id mode.Methods in name.matthewgreet.strutscommons.util with parameters of type IdListFinderModifier and TypeMethodDescriptionvoid
ListCache.setIdListAndFinder
(List<K> idList, IdListFinder<M, K> idListFinder) Caches id list already loaded, sets id list finder Strategy used to load it, and sets page by ids pagination mode.void
ListCache.ListCacheConfig.setIdListFinder
(IdListFinder<M, K> value) void
ListCache.setIdListFinder
(IdListFinder<M, K> idListFinder) Sets Strategy used to retrieve ids, sets page by ids pagination mode and marks list for reload.