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 voidafterPropertiesSet()CollectionWithPagingInfo<Tag>readAll(Parameters parameters)Returns a paged list of all currently used tags in the store workspace://SpacesStore for the current tenant.TagreadById(java.lang.String id, Parameters parameters)voidsetTags(Tags tags)Tagupdate(java.lang.String id, Tag entity, Parameters parameters)
-
-
-
Method Detail
-
setTags
public void setTags(Tags tags)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin 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:
readAllin 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:
updatein interfaceEntityResourceAction.Update<Tag>
-
readById
public Tag readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
- Specified by:
readByIdin interfaceEntityResourceAction.ReadById<Tag>- Throws:
EntityNotFoundException
-
-