Class NodeParentsRelation

java.lang.Object
org.alfresco.rest.api.nodes.AbstractNodeRelation
org.alfresco.rest.api.nodes.NodeParentsRelation
All Implemented Interfaces:
RelationshipResourceAction.Read<Node>, ResourceAction, org.springframework.beans.factory.InitializingBean

@RelationshipResource(name="parents", entityResource=NodesEntityResource.class, title="Node Parents") public class NodeParentsRelation extends AbstractNodeRelation implements RelationshipResourceAction.Read<Node>
Node Parents
Author:
janv
  • Constructor Details

    • NodeParentsRelation

      public NodeParentsRelation()
  • Method Details

    • readAll

      public CollectionWithPagingInfo<Node> readAll(String childNodeId, Parameters parameters)
      List child node's parent(s) based on (parent ->) child associations. Returns primary parent invalid input: '&' also secondary parents, if any.
      Specified by:
      readAll in interface RelationshipResourceAction.Read<Node>
      Parameters:
      childNodeId - String id of child node
      parameters - - will never be null and will have the PAGING default values