@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.InitializingBeanpublic java.util.List create(java.lang.String nodeId,
java.util.List tagsToCreate,
Parameters parameters)
create in interface RelationshipResourceAction.Createpublic void delete(java.lang.String nodeId,
java.lang.String tagId,
Parameters parameters)
delete in interface RelationshipResourceAction.Deletepublic CollectionWithPagingInfo readAll(java.lang.String nodeId, Parameters params)
RelationshipResourceAction.ReadreadAll in interface RelationshipResourceAction.ReadnodeId - 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.