@RelationshipResource(name="secondary-children", entityResource=NodesEntityResource.class, title="Node Secondary Children") public class NodeSecondaryChildrenRelation extends AbstractNodeRelation implements RelationshipResourceAction.Read<Node>, RelationshipResourceAction.Create<AssocChild>, RelationshipResourceAction.Delete
dictionaryService, EXCLUDED_NS, namespaceService, nodeAssocService, nodes, nodeService, sr
Constructor and Description |
---|
NodeSecondaryChildrenRelation() |
Modifier and Type | Method and Description |
---|---|
List<AssocChild> |
create(String parentNodeId,
List<AssocChild> entities,
Parameters parameters) |
void |
delete(String parentNodeId,
String childNodeId,
Parameters parameters) |
CollectionWithPagingInfo<Node> |
readAll(String parentNodeId,
Parameters parameters)
List secondary children only
|
afterPropertiesSet, getAssocTypeFromWhereElseAll, listNodeChildAssocs, listNodePeerAssocs, listPage, setNodeAssocService, setNodes, setServiceRegistry
public CollectionWithPagingInfo<Node> readAll(String parentNodeId, Parameters parameters)
readAll
in interface RelationshipResourceAction.Read<Node>
parentNodeId
- String id of parent nodeparameters
- - will never be null and will have the PAGING default valuespublic List<AssocChild> create(String parentNodeId, List<AssocChild> entities, Parameters parameters)
create
in interface RelationshipResourceAction.Create<AssocChild>
public void delete(String parentNodeId, String childNodeId, Parameters parameters)
delete
in interface RelationshipResourceAction.Delete
Copyright © 2005–2017 Alfresco Software. All rights reserved.