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, toStringpublic 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
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(org.alfresco.service.cmr.repository.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–2018 Alfresco Software. All rights reserved.