Package org.alfresco.rest.api.nodes
Class AbstractNodeRelation
- java.lang.Object
-
- org.alfresco.rest.api.nodes.AbstractNodeRelation
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
NodeActionDefinitionsRelation
,NodeParentsRelation
,NodeSecondaryChildrenRelation
,NodeSourcesRelation
,NodeTargetsRelation
,NodeVersionsRelation
public class AbstractNodeRelation extends Object implements org.springframework.beans.factory.InitializingBean
- Author:
- janv
-
-
Field Summary
Fields Modifier and Type Field Description protected DictionaryService
dictionaryService
protected static List<String>
EXCLUDED_NS
protected NamespaceService
namespaceService
protected NodeAssocService
nodeAssocService
protected Nodes
nodes
protected NodeService
nodeService
protected ServiceRegistry
sr
-
Constructor Summary
Constructors Constructor Description AbstractNodeRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
protected QNamePattern
getAssocTypeFromWhereElseAll(Parameters parameters)
protected CollectionWithPagingInfo<Node>
listNodeChildAssocs(List<ChildAssociationRef> childAssocRefs, Parameters parameters, Boolean isPrimary, boolean returnChild)
protected CollectionWithPagingInfo<Node>
listNodePeerAssocs(List<AssociationRef> assocRefs, Parameters parameters, boolean returnTarget)
protected CollectionWithPagingInfo
listPage(List result, Paging paging)
void
setNodeAssocService(NodeAssocService nodeAssocService)
void
setNodes(Nodes nodes)
void
setServiceRegistry(ServiceRegistry sr)
-
-
-
Field Detail
-
sr
protected ServiceRegistry sr
-
nodeService
protected NodeService nodeService
-
nodeAssocService
protected NodeAssocService nodeAssocService
-
namespaceService
protected NamespaceService namespaceService
-
dictionaryService
protected DictionaryService dictionaryService
-
nodes
protected Nodes nodes
-
-
Method Detail
-
setNodes
public void setNodes(Nodes nodes)
-
setServiceRegistry
public void setServiceRegistry(ServiceRegistry sr)
-
setNodeAssocService
public void setNodeAssocService(NodeAssocService nodeAssocService)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getAssocTypeFromWhereElseAll
protected QNamePattern getAssocTypeFromWhereElseAll(Parameters parameters)
-
listNodePeerAssocs
protected CollectionWithPagingInfo<Node> listNodePeerAssocs(List<AssociationRef> assocRefs, Parameters parameters, boolean returnTarget)
-
listNodeChildAssocs
protected CollectionWithPagingInfo<Node> listNodeChildAssocs(List<ChildAssociationRef> childAssocRefs, Parameters parameters, Boolean isPrimary, boolean returnChild)
-
listPage
protected CollectionWithPagingInfo listPage(List result, Paging paging)
-
-