public interface ExperienceFragmentsService
Modifier and Type | Method and Description |
---|---|
java.util.List<Reference> |
findReferences(java.lang.String experienceFragmentPath,
java.lang.String... referenceType)
Returns a list of references for an experience fragment at a given path
|
java.util.List<Page> |
listPagesUsingVariation(ExperienceFragmentVariation... variation)
Finds all the pages that use one or more experience fragment variations
|
java.util.List<ExperienceFragmentVariation> |
listUsedVariations(Page page)
Finds all the experience fragments variations in a given content page.
|
java.util.List<ExperienceFragmentVariation> listUsedVariations(Page page)
page
- the content pagejava.util.List<Page> listPagesUsingVariation(ExperienceFragmentVariation... variation)
variation
- one or more ExperienceFragmentVariation
objectsjava.util.List<Reference> findReferences(java.lang.String experienceFragmentPath, java.lang.String... referenceType)
experienceFragmentPath
- the path to the experience fragment. This path must point to the actual experience
fragment page, not the "jcr:content" node.referenceType
- an optional reference type which indicates which reference
provider(s) to use. If this parameter is not supplied then all the references are
returnedReference
object. The "source" of the reference will be the page that uses the experience
fragment and the "target" of the reference will be specific variation that the page embeds."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"