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