@ConsumerType
public interface CommerceSearchProvider
CommerceSearchProvider
is the common interface of search providers for the e-commerce
system.
A search provider implements the backend of the search system and can be plugged into the
e-commerce system to provide search functionality tailored to the special needs of a certain
application domain.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME_PROPERTY
Property name for the 'name' property of a
CommerceSearchProvider service. |
Modifier and Type | Method and Description |
---|---|
CommerceResult |
search(CommerceQuery query,
CommerceService service)
Perform a search.
|
static final java.lang.String NAME_PROPERTY
CommerceSearchProvider
service.CommerceResult search(CommerceQuery query, CommerceService service) throws CommerceException
query
- the search query as a CommerceQuery
service
- the commerce service requesting the searchCommerceResult
CommerceException
- if an error occurs during the search process.Copyright © 2010 - 2020 Adobe. All Rights Reserved