@EntityResource(name="tags", title="Tags") public class TagsEntityResource extends java.lang.Object implements EntityResourceAction.Read, EntityResourceAction.ReadById, EntityResourceAction.Update, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
TagsEntityResource() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
CollectionWithPagingInfo |
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) |
public void setTags(Tags tags)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public CollectionWithPagingInfo readAll(Parameters parameters)
readAll
in interface EntityResourceAction.Read
parameters
- - will never be null and will have the PAGING default valuespublic Tag update(java.lang.String id, Tag entity, Parameters parameters)
update
in interface EntityResourceAction.Update
public Tag readById(java.lang.String id, Parameters parameters) throws EntityNotFoundException
readById
in interface EntityResourceAction.ReadById
EntityNotFoundException
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.