Class DefaultSnContext
java.lang.Object
de.hybris.platform.searchservices.core.service.impl.DefaultSnContext
- All Implemented Interfaces:
SnContext
- Direct Known Subclasses:
DefaultSnIndexContext
Default implementation of
SnContext.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddException(Exception exception) Adds a new exception to this context.Returns the exceptions for this context.Returns the index configuration.Returns the index type.Returns the qualifiers.voidsetIndexConfiguration(SnIndexConfiguration indexConfiguration) voidsetIndexType(SnIndexType indexType) voidsetQualifiers(Map<String, List<SnQualifier>> qualifiers)
-
Constructor Details
-
DefaultSnContext
public DefaultSnContext()
-
-
Method Details
-
getIndexConfiguration
Description copied from interface:SnContextReturns the index configuration.- Specified by:
getIndexConfigurationin interfaceSnContext- Returns:
- the index configuration
-
setIndexConfiguration
-
getIndexType
Description copied from interface:SnContextReturns the index type.- Specified by:
getIndexTypein interfaceSnContext- Returns:
- the index type
-
setIndexType
-
getQualifiers
Description copied from interface:SnContextReturns the qualifiers.- Specified by:
getQualifiersin interfaceSnContext- Returns:
- the qualifiers
-
setQualifiers
-
getAttributes
Description copied from interface:SnContext- Specified by:
getAttributesin interfaceSnContext- Returns:
- the map containing the attributes
-
addException
Description copied from interface:SnContextAdds a new exception to this context.- Specified by:
addExceptionin interfaceSnContext- Parameters:
exception- - the exception
-
getExceptions
Description copied from interface:SnContextReturns the exceptions for this context.- Specified by:
getExceptionsin interfaceSnContext- Returns:
- the exceptions for this context
-