@RelationshipResource(name="tags", entityResource=NodesEntityResource.class, title="Document or folder tags") public class NodeTagsRelation extends java.lang.Object implements RelationshipResourceAction.Create, RelationshipResourceAction.Delete, RelationshipResourceAction.Read, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
NodeTagsRelation() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
java.util.List |
create(java.lang.String nodeId,
java.util.List tagsToCreate,
Parameters parameters)
Add the tag to the node with id 'nodeId'.
|
void |
delete(java.lang.String nodeId,
java.lang.String tagId,
Parameters parameters) |
CollectionWithPagingInfo |
readAll(java.lang.String nodeId,
Parameters params)
Reads all the relationship entities from the collection using the related entityResourceId.
|
void |
setTags(Tags tags) |
public void setTags(Tags tags)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public java.util.List create(java.lang.String nodeId, java.util.List tagsToCreate, Parameters parameters)
create
in interface RelationshipResourceAction.Create
public void delete(java.lang.String nodeId, java.lang.String tagId, Parameters parameters)
delete
in interface RelationshipResourceAction.Delete
public CollectionWithPagingInfo readAll(java.lang.String nodeId, Parameters params)
RelationshipResourceAction.Read
readAll
in interface RelationshipResourceAction.Read
nodeId
- Entity resource context for this relationshipparams
- - will never be null and will have the PAGING default valuesCopyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.