public class ShopRequestContextBuilderImpl extends java.lang.Object implements ShopRequestContextBuilder
Modifier and Type | Field and Description |
---|---|
private ShopRequestContext.Builder |
builder |
private ShopRequestContextService |
shopRequestContextService |
Constructor and Description |
---|
ShopRequestContextBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
ShopRequestContext |
build(java.lang.String shopId)
Wrapps com.epages.shop.ShopRequestContext in
order to make it testable.
|
ShopRequestContextBuilder |
getBuilder(java.lang.String shopId)
Wrapps com.epages.shop.ShopRequestContext in
order to make it testable.
|
ShopRequestContextBuilder |
setRequestedResultsPerPage(int resultsPerPage)
Wrapps com.epages.shop.ShopRequestContext in
order to make it testable.
|
ShopRequestContextBuilder |
setRequestLocale(java.util.Locale locale)
Wrapps com.epages.shop.ShopRequestContext in
order to make it testable.
|
ShopRequestContextBuilder |
setRequestPage(int page)
Wrapps com.epages.shop.ShopRequestContext in
order to make it testable.
|
@Inject private ShopRequestContextService shopRequestContextService
private ShopRequestContext.Builder builder
public ShopRequestContextBuilder getBuilder(java.lang.String shopId)
ShopRequestContextBuilder
getBuilder
in interface ShopRequestContextBuilder
public ShopRequestContext build(java.lang.String shopId)
ShopRequestContextBuilder
build
in interface ShopRequestContextBuilder
public ShopRequestContextBuilder setRequestPage(int page)
ShopRequestContextBuilder
setRequestPage
in interface ShopRequestContextBuilder
public ShopRequestContextBuilder setRequestedResultsPerPage(int resultsPerPage)
ShopRequestContextBuilder
setRequestedResultsPerPage
in interface ShopRequestContextBuilder
public ShopRequestContextBuilder setRequestLocale(java.util.Locale locale)
ShopRequestContextBuilder
setRequestLocale
in interface ShopRequestContextBuilder
locale
- to set.