@RelationshipResource(name="parents", entityResource=NodesEntityResource.class, title="Node Parents") public class NodeParentsRelation extends AbstractNodeRelation implements RelationshipResourceAction.Read<Node>
dictionaryService, EXCLUDED_NS, namespaceService, nodeAssocService, nodes, nodeService, sr
Constructor and Description |
---|
NodeParentsRelation() |
Modifier and Type | Method and Description |
---|---|
CollectionWithPagingInfo<Node> |
readAll(String childNodeId,
Parameters parameters)
List child node's parent(s) based on (parent ->) child associations.
|
afterPropertiesSet, getAssocTypeFromWhereElseAll, listNodeChildAssocs, listNodePeerAssocs, listPage, setNodeAssocService, setNodes, setServiceRegistry
public CollectionWithPagingInfo<Node> readAll(String childNodeId, Parameters parameters)
readAll
in interface RelationshipResourceAction.Read<Node>
childNodeId
- String id of child nodeparameters
- - will never be null and will have the PAGING default valuesCopyright © 2005–2017 Alfresco Software. All rights reserved.