Package org.alfresco.rest.api.tags
Class TagsEntityResource
java.lang.Object
org.alfresco.rest.api.tags.TagsEntityResource
- All Implemented Interfaces:
EntityResourceAction.Read<Tag>
,EntityResourceAction.ReadById<Tag>
,EntityResourceAction.Update<Tag>
,ResourceAction
,org.springframework.beans.factory.InitializingBean
@EntityResource(name="tags",
title="Tags")
public class TagsEntityResource
extends Object
implements EntityResourceAction.Read<Tag>, EntityResourceAction.ReadById<Tag>, EntityResourceAction.Update<Tag>, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
readAll
(Parameters parameters) Returns a paged list of all currently used tags in the store workspace://SpacesStore for the current tenant.readById
(String id, Parameters parameters) void
update
(String id, Tag entity, Parameters parameters)
-
Constructor Details
-
TagsEntityResource
public TagsEntityResource()
-
-
Method Details
-
setTags
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
Returns a paged list of all currently used tags in the store workspace://SpacesStore for the current tenant.- Specified by:
readAll
in interfaceEntityResourceAction.Read<Tag>
- Parameters:
parameters
- - will never be null and will have the PAGING default values
-
update
- Specified by:
update
in interfaceEntityResourceAction.Update<Tag>
-
readById
- Specified by:
readById
in interfaceEntityResourceAction.ReadById<Tag>
- Throws:
EntityNotFoundException
-