Interface SearchFilterValidationStrategy
-
- All Known Implementing Classes:
DefaultSearchFilterValidationStrategy
public interface SearchFilterValidationStrategyStrategy checking if search filter is valid.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHandle(java.lang.String searchStrategy)Checks if strategy can be used in terms of specific search strategy.booleanisValid(java.lang.String typeCode, java.lang.String name, java.lang.Object value)Checks if filter of given name is valid for use.
-
-
-
Method Detail
-
isValid
boolean isValid(java.lang.String typeCode, java.lang.String name, java.lang.Object value)Checks if filter of given name is valid for use.- Parameters:
typeCode- of item that filter corresponds toname- of filter propertyvalue- of filter- Returns:
- true if filter is valid
-
canHandle
boolean canHandle(java.lang.String searchStrategy)
Checks if strategy can be used in terms of specific search strategy.- Parameters:
searchStrategy- search strategy name- Returns:
- true if filter validation strategy can handle search strategy
-
-