Package com.adobe.cq.xf
Interface ExperienceFragment
- All Superinterfaces:
Adaptable
Model object that represents an experience fragment. This experience fragment can have multiple variations
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a list of cloud services configurations attached to this experience fragmentgetPath()Retrieves the path of this experience fragmentRetrieves the properties of this experience fragmentRetrieves all the variations of this experience fragment.getVariations(String... type) Retrieves all the variations of this experience fragment, filtered by one or more types
-
Method Details
-
getVariations
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
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
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
Retrieves a list of cloud services configurations attached to this experience fragment- Returns:
- a list of
Configurationobjects pointing to their respective cloud service configurations
-