@Path(value="shops/{shopId}/category-tree")
@RolesAllowed(value={"sf","products_read"})
public final class CategoryTreeResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private CategoryTreeService |
categoryTreeService |
private java.lang.String |
shopId |
private ShopRequestContextService |
shopService |
Constructor and Description |
---|
CategoryTreeResource(ShopRequestContextService shopService,
CategoryTreeService categoryTreeService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getCategoryTree(java.util.Locale locale,
boolean includeInvisible) |
private ShopRequestContextService shopService
private CategoryTreeService categoryTreeService
@PathParam(value="shopId") private java.lang.String shopId
@Inject public CategoryTreeResource(ShopRequestContextService shopService, CategoryTreeService categoryTreeService)