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 org.alfresco.service.cmr.dictionary.DictionaryServicedictionaryServiceprotected static List<String>EXCLUDED_NSprotected org.alfresco.service.namespace.NamespaceServicenamespaceServiceprotected NodeAssocServicenodeAssocServiceprotected Nodesnodesprotected org.alfresco.service.cmr.repository.NodeServicenodeServiceprotected org.alfresco.service.ServiceRegistrysr
-
Constructor Summary
Constructors Constructor Description AbstractNodeRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected org.alfresco.service.namespace.QNamePatterngetAssocTypeFromWhereElseAll(Parameters parameters)protected CollectionWithPagingInfo<Node>listNodeChildAssocs(List<org.alfresco.service.cmr.repository.ChildAssociationRef> childAssocRefs, Parameters parameters, Boolean isPrimary, boolean returnChild)protected CollectionWithPagingInfo<Node>listNodePeerAssocs(List<org.alfresco.service.cmr.repository.AssociationRef> assocRefs, Parameters parameters, boolean returnTarget)protected CollectionWithPagingInfolistPage(List result, Paging paging)voidsetNodeAssocService(NodeAssocService nodeAssocService)voidsetNodes(Nodes nodes)voidsetServiceRegistry(org.alfresco.service.ServiceRegistry sr)
-
-
-
Field Detail
-
sr
protected org.alfresco.service.ServiceRegistry sr
-
nodeService
protected org.alfresco.service.cmr.repository.NodeService nodeService
-
nodeAssocService
protected NodeAssocService nodeAssocService
-
namespaceService
protected org.alfresco.service.namespace.NamespaceService namespaceService
-
dictionaryService
protected org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService
-
nodes
protected Nodes nodes
-
-
Method Detail
-
setNodes
public void setNodes(Nodes nodes)
-
setServiceRegistry
public void setServiceRegistry(org.alfresco.service.ServiceRegistry sr)
-
setNodeAssocService
public void setNodeAssocService(NodeAssocService nodeAssocService)
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getAssocTypeFromWhereElseAll
protected org.alfresco.service.namespace.QNamePattern getAssocTypeFromWhereElseAll(Parameters parameters)
-
listNodePeerAssocs
protected CollectionWithPagingInfo<Node> listNodePeerAssocs(List<org.alfresco.service.cmr.repository.AssociationRef> assocRefs, Parameters parameters, boolean returnTarget)
-
listNodeChildAssocs
protected CollectionWithPagingInfo<Node> listNodeChildAssocs(List<org.alfresco.service.cmr.repository.ChildAssociationRef> childAssocRefs, Parameters parameters, Boolean isPrimary, boolean returnChild)
-
listPage
protected CollectionWithPagingInfo listPage(List result, Paging paging)
-
-