Class TypeVirtualizationMethod

java.lang.Object
org.alfresco.repo.virtual.store.TemplateVirtualizationMethod
org.alfresco.repo.virtual.store.TypeVirtualizationMethod
All Implemented Interfaces:
VirtualizationMethod

public class TypeVirtualizationMethod extends TemplateVirtualizationMethod
Content type and aspect based virtualization strategy.
Virtualizes nodes by associating their types or aspects with a template.
A type or an aspect QName prefixed string form is associated with a vanilla template that has the same name as the type or aspect prefixed name with ':' replaced by '_' and it is .json postfixed. The template is located at predefined templates repository path.
Example:
If the templates repository path is Data Dictionary/Virtual Folders the cm:author aspect will be associated with a vanilla template found by the Data Dictionary/Virtual Folders/cm_author.json path.
Considering all aspects for vitualization can degrade performance so the set of aspects considered for virtualization can be limited to a predefined accepted QName prefix set by setting a comma separated list of accepted prefixes through #setAspectPrefixFilter(String).
Author:
Bogdan Horje