Interface FieldSearchFacadeStrategy<T>
-
- All Superinterfaces:
FieldSearchFacade<T>
- All Known Subinterfaces:
OrderedFieldSearchFacadeStrategy<T>
public interface FieldSearchFacadeStrategy<T> extends FieldSearchFacade<T>
Represents a strategy that is used byFieldSearchFacade
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTEXT_ORIGINAL_QUERY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleancanHandle(java.lang.String typeCode)Returns true, if this strategy can handle giventypeCode, otherwise false.default booleancanHandle(java.lang.String typeCode, Context context)Returns true, if this strategy can handle giventypeCode, otherwise false.default java.lang.StringgetStrategyName()Returns unique logical strategy name allowing resolving this strategy by name from the strategy registry-
Methods inherited from interface com.hybris.cockpitng.dataaccess.facades.search.FieldSearchFacade
isSortable, search, search
-
-
-
-
Field Detail
-
CONTEXT_ORIGINAL_QUERY
static final java.lang.String CONTEXT_ORIGINAL_QUERY
- See Also:
- Constant Field Values
-
-
Method Detail
-
canHandle
boolean canHandle(java.lang.String typeCode)
Returns true, if this strategy can handle giventypeCode, otherwise false.- Parameters:
typeCode- represents a type identifier
-
canHandle
default boolean canHandle(java.lang.String typeCode, Context context)Returns true, if this strategy can handle giventypeCode, otherwise false.- Parameters:
typeCode- represents a type identifiercontext- represents additional context for making the decision
-
getStrategyName
default java.lang.String getStrategyName()
Returns unique logical strategy name allowing resolving this strategy by name from the strategy registry- Returns:
- strategy name
-
-