Package org.alfresco.rest.api.nodes
Class NodeTagsRelation
java.lang.Object
org.alfresco.rest.api.nodes.NodeTagsRelation
- All Implemented Interfaces:
RelationshipResourceAction.Create<Tag>,RelationshipResourceAction.Delete,RelationshipResourceAction.Read<Tag>,ResourceAction,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="tags",
entityResource=NodesEntityResource.class,
title="Document or folder tags")
public class NodeTagsRelation
extends Object
implements RelationshipResourceAction.Create<Tag>, RelationshipResourceAction.Delete, RelationshipResourceAction.Read<Tag>, org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(String nodeId, List<Tag> tagsToCreate, Parameters parameters) Add the tag to the node with id 'nodeId'.voiddelete(String nodeId, String tagId, Parameters parameters) readAll(String nodeId, Parameters params) Reads set the relationship entities from the collection using the related entityResourceId.void
-
Constructor Details
-
NodeTagsRelation
public NodeTagsRelation()
-
-
Method Details
-
setTags
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
create
Add the tag to the node with id 'nodeId'.- Specified by:
createin interfaceRelationshipResourceAction.Create<Tag>
-
delete
- Specified by:
deletein interfaceRelationshipResourceAction.Delete
-
readAll
Description copied from interface:RelationshipResourceAction.ReadReads set the relationship entities from the collection using the related entityResourceId. Paging information is provided.- Specified by:
readAllin interfaceRelationshipResourceAction.Read<Tag>- Parameters:
nodeId- Entity resource context for this relationshipparams- - will never be null and will have the PAGING default values
-