Package org.alfresco.repo.virtual.ref
package org.alfresco.repo.virtual.ref
-
ClassDescriptionHandles protocol method dispatch.Identifies content from a classpathCommon
Referenceencodings.Returns a virtual parent reference upon execution by subtracting the last template path element from of the given reference.
For root template path references anullwill be returned upon execution.Returns actualQNameType of a given reference
indicated by the given protocol reference.Returns the virtual folder template inner path for a virtualized entity reference.It returns anInputStreamfor the vanilla-virtual folder template resource indicated by the given vanilla protocol reference.Hash encoding constants interface.Hash encoded reference string parser.
Delegates toVirtualHashReferenceParser,VanillaHashReferenceParserorNodeHashReferenceParserfor custom protocol parsing.A synchronized string hash code mapping store.
Associates a string with a given string-hash.Hash encoded reference stringifier.
Delegates toVanillaHashStringifier,VirtualHashStringifierorNodeHashStringifierfor custom protocol parsing.Creates and looks up hashes of '/' paths defining strings.
Paths are hashed usingHashStoredefined hashes.Custom parser for hash encoded strings ofReferences having the protocol set toNodeProtocol.Custom stringifier for hash encoded strings ofReferences having the protocol set toNodeProtocol.Creates and looks up string-pair hash codes ofNodeRefs.Creates string-pair hashes of single digit element numeric paths.Parses string references intoReferenceobjects based on Plain encodings grammar.Converts the object to a string representation according toEncodings.PLAINencoding definition.AReferencemodel element that defines the type of the referred artefact and the virtualization process that was applied when creating a reference.
Protocols define the semantics of all elements of a reference.Base class for custom protocol hash encodedReferenceParsers.Base class for custom protocol hash encodedStringifiers.A double-dispatched method abstraction.
The method execution is dispatched based on concrete protocol type.
Implementor encapsulate high-level reference protocol based semantic functionality.CommonReferenceprotocols.A generic, immutable virtualized artefact reference.
Refers virtualized artefacts through :
aProtocol- defines what kind of virtualzied artefact is referred by this reference as well as what virtualization process was applied aResource- identifies the main resource used in the virtualization (egg. a classpath location or repository node reference) a list ofResourceParameters - used in customizing the virtualization process (egg. a resource pointing to the actual node of a semi-virtual folder reference)Helper class used in parsing string reference.An Alfresco repository content abstraction.Identifies content fromRepositoryLocationAReferenceelement that identifies the main or a parameter content location.Helper class that has oneResourceas a value attribute, value that can be retrieved and used in virtualization process.GenericResourcevisitor.Creates string-pair hashes based on stored path hashes.AReferenceabstract tree visitor designed to produce custom string representations.Helper class that has oneStringas a value attribute, value that can be retrieved and used in virtualization process.Generic value of typeVholder parameter.Custom parser for hash encoded strings ofReferences having the protocol set toVanillaProtocol.Custom stringifier for hash encoded strings ofReferences having the protocol set toVanillaProtocol.AVirtualProtocolextension that uses a scripted processor virtual template in order to process a so-called vanilla JSON static template definition on template execution.
Vanilla references store have an extraResourceParameterfor the vanilla-JSON template.Custom parser for hash encoded strings ofReferences having the protocol set toVirtualProtocol.Custom stringifier for hash encoded strings ofReferences having the protocol set toVirtualProtocol.A protocol for encoding virtual artefacts.
Virtual artefacts are generated using a virtual folder templateindicated by the mainReferenceresource.
The virtual folder template defines a hierarchical structure of virtual nodes.