Class AbstractFindListMultiModeActionSupport.FindListMultiModeConfig
java.lang.Object
name.matthewgreet.strutscommons.action.AbstractFindListMultiModeActionSupport.FindListMultiModeConfig
- Enclosing class:
AbstractFindListMultiModeActionSupport<M extends Serializable,
K extends Serializable, T extends Serializable, F extends Form>
Configures list to be loaded by Struts, finder action and whether empty lists means search parameters must be
rejected. Configuration is fixed and does not change during the action's lifetime.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWritten by subclasses to return name of message to be used ifgetRejectNoMatch()
is true.boolean
Indicates that an empty list means manually entered search parameters must be rejected.void
setRejectMessage
(String value) void
setRejectNoMatch
(boolean value)
-
Constructor Details
-
FindListMultiModeConfig
public FindListMultiModeConfig()
-
-
Method Details
-
getRejectNoMatch
public boolean getRejectNoMatch()Indicates that an empty list means manually entered search parameters must be rejected. -
setRejectNoMatch
public void setRejectNoMatch(boolean value) -
getRejectMessage
Written by subclasses to return name of message to be used ifgetRejectNoMatch()
is true. Defaults to 'No results found'. -
setRejectMessage
-