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 java.lang.Object implements EntityResourceAction.Read<Tag>, EntityResourceAction.ReadById<Tag>, EntityResourceAction.Update<Tag>, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description TagsEntityResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
CollectionWithPagingInfo<Tag>
readAll(Parameters parameters)
Returns a paged list of all currently used tags in the store workspace://SpacesStore for the current tenant.Tag
readById(java.lang.String id, Parameters parameters)
void
setTags(Tags tags)
Tag
update(java.lang.String id, Tag entity, Parameters parameters)
-
-
-
Method Detail
-
setTags
public void setTags(Tags tags)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
readAll
public CollectionWithPagingInfo<Tag> readAll(Parameters parameters)
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
public Tag update(java.lang.String id, Tag entity, Parameters parameters)
- Specified by:
update
in interfaceEntityResourceAction.Update<Tag>
-
readById
public Tag readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
- Specified by:
readById
in interfaceEntityResourceAction.ReadById<Tag>
- Throws:
EntityNotFoundException
-
-