Package org.alfresco.repo.virtual.store
Interface VirtualizationMethod
- All Known Implementing Classes:
AspectVirtualizationMethod,CustomVirtualizationMethod,SystemVirtualizationMethod,TemplateVirtualizationMethod,TypeVirtualizationMethod
public interface VirtualizationMethod
Implementors define virtualization rules.
Virtualization is the process of converting
Virtualization is the process of converting
NodeRefs into References in the context of given ActualEnvironment .- Author:
- Bogdan Horje
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanVirtualize(ActualEnvironment env, NodeRef nodeRef) Determines if a givenNodeRefcan be virtualized by this virtualization method.virtualize(ActualEnvironment env, NodeRef nodeRef) Applies this virtualizatio rule on a givenNodeRef.
-
Method Details
-
canVirtualize
Determines if a givenNodeRefcan be virtualized by this virtualization method.- Parameters:
env- the environment in which the virtualization should take placenodeRef- theNodeRefthat should be virtualized- Returns:
trueif the givenNodeRefcan be virtualized by this virtualization method
falseotherwise- Throws:
VirtualizationException
-
virtualize
Applies this virtualizatio rule on a givenNodeRef.- Parameters:
env- the environment in which the virtualization takes placenodeRef- nodeRef theNodeRefthat will be virtualized- Returns:
- a
Referencecorrespondent of the givenNodeRef - Throws:
VirtualizationException
-