@Path(value="shops/{shopId}/watched-products")
@RolesAllowed(value="products_write")
public class WatchedProductsResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ShopRequestContextService |
shopService |
private WatchedProductsService |
watchedProductsService |
Constructor and Description |
---|
WatchedProductsResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getWatchedProducts(java.lang.String shopId,
java.util.Locale locale,
PagerStartsFromOneBeanParam pager) |
@Inject private ShopRequestContextService shopService
@Inject private WatchedProductsService watchedProductsService
@GET @Produces(value="application/vnd.epages.v1+json, application/json") public javax.ws.rs.core.Response getWatchedProducts(@PathParam(value="shopId") java.lang.String shopId, @QueryParam(value="locale") java.util.Locale locale, @BeanParam PagerStartsFromOneBeanParam pager)