@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 and Description |
---|
TagsEntityResource() |
Modifier and Type | Method and 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(String id,
Parameters parameters) |
void |
setTags(Tags tags) |
Tag |
update(String id,
Tag entity,
Parameters parameters) |
public void setTags(Tags tags)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public CollectionWithPagingInfo<Tag> readAll(Parameters parameters)
readAll
in interface EntityResourceAction.Read<Tag>
parameters
- - will never be null and will have the PAGING default valuespublic Tag update(String id, Tag entity, Parameters parameters)
update
in interface EntityResourceAction.Update<Tag>
public Tag readById(String id, Parameters parameters) throws EntityNotFoundException
readById
in interface EntityResourceAction.ReadById<Tag>
EntityNotFoundException
Copyright © 2005–2017 Alfresco Software. All rights reserved.