public interface VirtualizationMethod
NodeRef
s into
Reference
s in the context of given ActualEnvironment
.Modifier and Type | Method and Description |
---|---|
boolean |
canVirtualize(ActualEnvironment env,
org.alfresco.service.cmr.repository.NodeRef nodeRef)
Determines if a given
NodeRef can be virtualized by this
virtualization method. |
Reference |
virtualize(ActualEnvironment env,
org.alfresco.service.cmr.repository.NodeRef nodeRef)
Applies this virtualizatio rule on a given
NodeRef . |
boolean canVirtualize(ActualEnvironment env, org.alfresco.service.cmr.repository.NodeRef nodeRef) throws VirtualizationException
NodeRef
can be virtualized by this
virtualization method.env
- the environment in which the virtualization should take placenodeRef
- the NodeRef
that should be virtualizedtrue
if the given NodeRef
can be virtualized
by this virtualization methodfalse
otherwiseVirtualizationException
Reference virtualize(ActualEnvironment env, org.alfresco.service.cmr.repository.NodeRef nodeRef) throws VirtualizationException
NodeRef
.env
- the environment in which the virtualization takes placenodeRef
- nodeRef the NodeRef
that will be virtualizedReference
correspondent of the given NodeRef
VirtualizationException
Copyright © 2005–2017 Alfresco Software. All rights reserved.