Package org.alfresco.repo.virtual.ref
Class NodeProtocol
java.lang.Object
org.alfresco.repo.virtual.ref.Protocol
org.alfresco.repo.virtual.ref.NodeProtocol
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.alfresco.repo.virtual.ref.Protocol
DEFAULT_ENCODING, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> Rdispatch(ProtocolMethod<R> method, Reference reference) ProtocolMethoddouble-dispatch/visitor protocol type selector.getNodeRef(Reference reference) getVirtualParentReference(Reference reference) static ReferencenewReference(Encoding encoding, Resource actualNodeResource, Reference parentReference) static ReferencenewReference(NodeRef nodeRef, Reference parentReference) propagateNodeRefMutations(NodeRef mutatedNodeRef, Reference reference) Protocoldelegate ofReference.propagateNodeRefMutations(NodeRef)Methods inherited from class org.alfresco.repo.virtual.ref.Protocol
addParameter, addParameter, getParameter, replaceParameter, replaceParameter, toString
-
Constructor Details
-
NodeProtocol
public NodeProtocol()
-
-
Method Details
-
newReference
-
newReference
-
getNodeRef
-
getVirtualParentReference
-
dispatch
Description copied from class:ProtocolProtocolMethoddouble-dispatch/visitor protocol type selector. Subclasses should override this method to select the appropriate type bound method.
This particular implementation calls the defaultProtocolMethod.execute(Protocol, Reference)default method implementation.- Overrides:
dispatchin classProtocol- Returns:
- the value returned by the type bond method
- Throws:
ProtocolMethodException
-
propagateNodeRefMutations
Description copied from class:ProtocolProtocoldelegate ofReference.propagateNodeRefMutations(NodeRef)- Overrides:
propagateNodeRefMutationsin classProtocol- Returns:
- a mutated version of the given
Referencecorresponding to the given mutated node or the givenReferenceif no mutations are detected
-