Package com.adobe.cq.xf
Interface ExperienceFragment
-
- All Superinterfaces:
Adaptable
@ProviderType public interface ExperienceFragment extends Adaptable
Model object that represents an experience fragment. This experience fragment can have multiple variations
-
-
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.String
getPath()
Retrieves the path of this experience fragmentValueMap
getProperties()
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
ExperienceFragmentVariation
objects. 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
ExperienceFragmentVariation
objects. 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
ValueMap
object
-
getCloudserviceConfigurationsPaths
java.util.List<java.lang.String> getCloudserviceConfigurationsPaths()
Retrieves a list of cloud services configurations attached to this experience fragment- Returns:
- a list of
Configuration
objects pointing to their respective cloud service configurations
-
-