Package com.adobe.cq.xf
Interface ExperienceFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String>getCloudserviceConfigurationsPaths()Retrieves a list of cloud services configurations attached to this experience fragmentjava.lang.StringgetPath()Retrieves the path of this experience fragmentValueMapgetProperties()Retrieves the properties of this experience fragmentjava.util.List<ExperienceFragmentVariation>getVariations()Retrieves all the variations of this experience fragment.java.util.List<ExperienceFragmentVariation>getVariations(java.lang.String... type)Retrieves all the variations of this experience fragment, filtered by one or more types
-
-
-
Method Detail
-
getVariations
java.util.List<ExperienceFragmentVariation> getVariations()
Retrieves all the variations of this experience fragment.- Returns:
- a list of
ExperienceFragmentVariationobjects. If the experience fragment has no variations then an emtpy list is returned.
-
getVariations
java.util.List<ExperienceFragmentVariation> getVariations(java.lang.String... type)
Retrieves all the variations of this experience fragment, filtered by one or more types- Parameters:
type- the type(s) of variations to be retrieved- Returns:
- a list of
ExperienceFragmentVariationobjects. If the experience fragment has no variations of the specified type(s) then an empty list is returned.
-
getPath
java.lang.String getPath()
Retrieves the path of this experience fragment- Returns:
- the path of the variation page
-
getProperties
ValueMap getProperties()
Retrieves the properties of this experience fragment- Returns:
- a
ValueMapobject
-
getCloudserviceConfigurationsPaths
java.util.List<java.lang.String> getCloudserviceConfigurationsPaths()
Retrieves a list of cloud services configurations attached to this experience fragment- Returns:
- a list of
Configurationobjects pointing to their respective cloud service configurations
-
-