public class NodeProtocol extends Protocol
DEFAULT_ENCODING, name
Constructor and Description |
---|
NodeProtocol() |
Modifier and Type | Method and Description |
---|---|
<R> R |
dispatch(ProtocolMethod<R> method,
Reference reference)
ProtocolMethod double-dispatch/visitor protocol type selector. |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef(Reference reference) |
Reference |
getVirtualParentReference(Reference reference) |
static Reference |
newReference(Encoding encoding,
Resource actualNodeResource,
Reference parentReference) |
static Reference |
newReference(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Reference parentReference) |
Reference |
propagateNodeRefMutations(org.alfresco.service.cmr.repository.NodeRef mutatedNodeRef,
Reference reference)
Protocol delegate of
Reference.propagateNodeRefMutations(NodeRef) |
addParameter, addParameter, getParameter, replaceParameter, replaceParameter, toString
public static Reference newReference(org.alfresco.service.cmr.repository.NodeRef nodeRef, Reference parentReference)
public static Reference newReference(Encoding encoding, Resource actualNodeResource, Reference parentReference)
public org.alfresco.service.cmr.repository.NodeRef getNodeRef(Reference reference)
public <R> R dispatch(ProtocolMethod<R> method, Reference reference) throws ProtocolMethodException
Protocol
ProtocolMethod
double-dispatch/visitor protocol type selector.
Subclasses should override this method to select the appropriate type
bound method.ProtocolMethod.execute(Protocol, Reference)
default method
implementation.dispatch
in class Protocol
ProtocolMethodException
public Reference propagateNodeRefMutations(org.alfresco.service.cmr.repository.NodeRef mutatedNodeRef, Reference reference)
Protocol
Protocol
delegate of
Reference.propagateNodeRefMutations(NodeRef)
propagateNodeRefMutations
in class Protocol
Reference
corresponding to
the given mutated node or the given Reference
if no
mutations are detectedCopyright © 2005–2017 Alfresco Software. All rights reserved.