public class ShopRequestContextBuilderImpl extends java.lang.Object implements ShopRequestContextBuilder
Modifier and Type | Field and Description |
---|---|
private ShopRequestContext.Builder |
builder |
private ShopRequestContextServiceForPrivateApiOnly |
service |
Constructor and Description |
---|
ShopRequestContextBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
ShopRequestContext |
build(GUID shopGuid)
Wrapps com.epages.shop.ShopRequestContext in
order to make it testable.
|
ShopRequestContextBuilder |
getBuilder(GUID shopGuid)
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 ShopRequestContextServiceForPrivateApiOnly service
private ShopRequestContext.Builder builder
public ShopRequestContextBuilder getBuilder(GUID shopGuid)
ShopRequestContextBuilder
getBuilder
in interface ShopRequestContextBuilder
shopGuid
- GUID of the shop.public ShopRequestContext build(GUID shopGuid)
ShopRequestContextBuilder
build
in interface ShopRequestContextBuilder
shopGuid
- GUID of the shop.public ShopRequestContextBuilder setRequestPage(int page)
ShopRequestContextBuilder
setRequestPage
in interface ShopRequestContextBuilder
page
- Page to set.public ShopRequestContextBuilder setRequestedResultsPerPage(int resultsPerPage)
ShopRequestContextBuilder
setRequestedResultsPerPage
in interface ShopRequestContextBuilder
resultsPerPage
- Results per page to set.public ShopRequestContextBuilder setRequestLocale(java.util.Locale locale)
ShopRequestContextBuilder
setRequestLocale
in interface ShopRequestContextBuilder
locale
- Locale to set.