public abstract class TemplateVirtualizationMethod extends Object implements VirtualizationMethod
Encodings.PLAIN encoded
Reference strings.NodeRefs using
NewVirtualReferenceMethod protocol reference constructor visitor.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PATH_SEPARATOR |
| Constructor and Description |
|---|
TemplateVirtualizationMethod() |
| Modifier and Type | Method and Description |
|---|---|
protected Reference |
newVirtualReference(ActualEnvironment env,
org.alfresco.service.cmr.repository.NodeRef actualNodeRef,
org.alfresco.service.cmr.repository.NodeRef templateRef) |
protected Reference |
newVirtualReference(ActualEnvironment env,
org.alfresco.service.cmr.repository.NodeRef actualNodeRef,
String templateSystemPath)
Deprecated.
all template system path functionality should be replaced by
plain encoded references
|
protected Reference |
newVirtualReference(Protocol protocol,
org.alfresco.service.cmr.repository.NodeRef templateRef,
org.alfresco.service.cmr.repository.NodeRef actualNodeRef) |
void |
setVanillaProcessor(String vanillaProcessorClasspath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanVirtualize, virtualizeprotected static final String PATH_SEPARATOR
public void setVanillaProcessor(String vanillaProcessorClasspath)
protected Reference newVirtualReference(ActualEnvironment env, org.alfresco.service.cmr.repository.NodeRef actualNodeRef, String templateSystemPath) throws VirtualizationException
env - the environment in which the virtualization takes placeactualNodeRef - the node that is virtualized using the given
templatetemplateSystemPath - system path string of the template used in
virtualizing the given NodeRefReference correspondent of the given NodeRef
according to the rules defined by the given templateVirtualizationExceptionprotected Reference newVirtualReference(ActualEnvironment env, org.alfresco.service.cmr.repository.NodeRef actualNodeRef, org.alfresco.service.cmr.repository.NodeRef templateRef) throws VirtualizationException
env - the environment in which the virtualization takes placeactualNodeRef - the node that is virtualized using the given
templatetemplateRef - NodeRef of the template used in virtualizing
the given NodeRefReference correspondent of the given NodeRef
according to the rules defined by the given templateVirtualizationExceptionprotected Reference newVirtualReference(Protocol protocol, org.alfresco.service.cmr.repository.NodeRef templateRef, org.alfresco.service.cmr.repository.NodeRef actualNodeRef) throws ProtocolMethodException
protocol - Protocol to be used in virtualizing the given
actulalNodeReftemplateRef - NodeRef of the template used in virtualizing
the given NodeRefactualNodeRef - the node that is virtualized using the given
templateReference correspondent of the given NodeRef
according to the rules defined by the given templateProtocolMethodExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.