@Path(value="{storename}/{shopGuid}/category")
public class CategoryPrivateResource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private CategoryService |
categoryService |
Constructor and Description |
---|
CategoryPrivateResource(CategoryService categoryService) |
Modifier and Type | Method and Description |
---|---|
void |
addNewCategory(java.lang.String storename,
GUID shopGuid,
SubCategory category) |
private final CategoryService categoryService
@Inject public CategoryPrivateResource(CategoryService categoryService)
@PUT @Consumes(value="application/json") public void addNewCategory(@PathParam(value="storename") java.lang.String storename, @PathParam(value="shopGuid") GUID shopGuid, SubCategory category)