Package org.alfresco.rest.api.nodes
Class NodeAssocServiceImpl
- java.lang.Object
-
- org.alfresco.rest.api.nodes.NodeAssocServiceImpl
-
- All Implemented Interfaces:
NodeAssocService
public class NodeAssocServiceImpl extends Object implements NodeAssocService
Deprecated.Intermediate wrapper (not a public service) - eventually push permissions down to NodeService- Author:
- janv
-
-
Field Summary
Fields Modifier and Type Field Description protected NodeService
nodeService
Deprecated.
-
Constructor Summary
Constructors Constructor Description NodeAssocServiceImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AssociationRef
createAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName)
Deprecated.AssociationRef
getAssoc(Long id)
Deprecated.List<AssociationRef>
getSourceAssocs(NodeRef targetRef, QNamePattern qnamePattern)
Deprecated.List<AssociationRef>
getTargetAssocs(NodeRef sourceRef, QNamePattern qnamePattern)
Deprecated.List<AssociationRef>
getTargetAssocsByPropertyValue(NodeRef sourceRef, QNamePattern qnamePattern, QName propertyQName, Serializable propertyValue)
Deprecated.void
removeAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName)
Deprecated.void
setAssociations(NodeRef sourceRef, QName assocTypeQName, List<NodeRef> targetRefs)
Deprecated.void
setNodeService(NodeService nodeService)
Deprecated.
-
-
-
Field Detail
-
nodeService
protected NodeService nodeService
Deprecated.
-
-
Method Detail
-
setNodeService
public void setNodeService(NodeService nodeService)
Deprecated.
-
createAssociation
public AssociationRef createAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName) throws InvalidNodeRefException, AssociationExistsException
Deprecated.- Specified by:
createAssociation
in interfaceNodeAssocService
- Throws:
InvalidNodeRefException
AssociationExistsException
-
removeAssociation
public void removeAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName) throws InvalidNodeRefException
Deprecated.- Specified by:
removeAssociation
in interfaceNodeAssocService
- Throws:
InvalidNodeRefException
-
setAssociations
public void setAssociations(NodeRef sourceRef, QName assocTypeQName, List<NodeRef> targetRefs)
Deprecated.- Specified by:
setAssociations
in interfaceNodeAssocService
-
getAssoc
public AssociationRef getAssoc(Long id)
Deprecated.- Specified by:
getAssoc
in interfaceNodeAssocService
-
getTargetAssocs
public List<AssociationRef> getTargetAssocs(NodeRef sourceRef, QNamePattern qnamePattern) throws InvalidNodeRefException
Deprecated.- Specified by:
getTargetAssocs
in interfaceNodeAssocService
- Throws:
InvalidNodeRefException
-
getTargetAssocsByPropertyValue
public List<AssociationRef> getTargetAssocsByPropertyValue(NodeRef sourceRef, QNamePattern qnamePattern, QName propertyQName, Serializable propertyValue)
Deprecated.- Specified by:
getTargetAssocsByPropertyValue
in interfaceNodeAssocService
-
getSourceAssocs
public List<AssociationRef> getSourceAssocs(NodeRef targetRef, QNamePattern qnamePattern) throws InvalidNodeRefException
Deprecated.- Specified by:
getSourceAssocs
in interfaceNodeAssocService
- Throws:
InvalidNodeRefException
-
-