Package org.alfresco.rest.api.categories
Class CategoriesEntityResource
java.lang.Object
org.alfresco.rest.api.categories.CategoriesEntityResource
- All Implemented Interfaces:
EntityResourceAction.Delete
,EntityResourceAction.ReadById<Category>
,EntityResourceAction.Update<Category>
,ResourceAction
@EntityResource(name="categories",
title="Categories")
public class CategoriesEntityResource
extends Object
implements EntityResourceAction.ReadById<Category>, EntityResourceAction.Update<Category>, EntityResourceAction.Delete
Entity Resource for Categories
- Author:
- mpichura
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(String id, Parameters parameters) DELETE /categories/{categoryId}readById
(String id, Parameters parameters) GET /categories/{categoryId}update
(String id, Category categoryModel, Parameters parameters) PUT /categories/{categoryId}
-
Constructor Details
-
CategoriesEntityResource
-
-
Method Details
-
readById
GET /categories/{categoryId}- Specified by:
readById
in interfaceEntityResourceAction.ReadById<Category>
- Throws:
EntityNotFoundException
-
update
PUT /categories/{categoryId}- Specified by:
update
in interfaceEntityResourceAction.Update<Category>
-
delete
DELETE /categories/{categoryId}- Specified by:
delete
in interfaceEntityResourceAction.Delete
-