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. |
NodeRef |
getNodeRef(Reference reference) |
Reference |
getVirtualParentReference(Reference reference) |
static Reference |
newReference(Encoding encoding,
Resource actualNodeResource,
Reference parentReference) |
static Reference |
newReference(NodeRef nodeRef,
Reference parentReference) |
Reference |
propagateNodeRefMutations(NodeRef mutatedNodeRef,
Reference reference)
Protocol delegate of
Reference.propagateNodeRefMutations(NodeRef) |
addParameter, addParameter, getParameter, replaceParameter, replaceParameter, toStringpublic static Reference newReference(Encoding encoding, Resource actualNodeResource, Reference parentReference)
public <R> R dispatch(ProtocolMethod<R> method, Reference reference) throws ProtocolMethodException
ProtocolProtocolMethod 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 ProtocolProtocolMethodExceptionpublic Reference propagateNodeRefMutations(NodeRef mutatedNodeRef, Reference reference)
ProtocolProtocol delegate of
Reference.propagateNodeRefMutations(NodeRef)propagateNodeRefMutations in class ProtocolReference corresponding to
the given mutated node or the given Reference if no
mutations are detectedCopyright © 2005–2020 Alfresco Software. All rights reserved.