public abstract class TemplateVirtualizationMethod extends Object implements VirtualizationMethod
Encodings.PLAIN
encoded
Reference
strings.NodeRef
s 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, wait
canVirtualize, virtualize
protected 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 templateVirtualizationException
protected 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 templateVirtualizationException
protected 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
actulalNodeRef
templateRef
- 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 templateProtocolMethodException
Copyright © 2005–2017 Alfresco Software. All rights reserved.