Package com.adobe.cq.testing.client
Class ExperienceFragmentsClient.ExperienceFragmentVariant
java.lang.Object
com.adobe.cq.testing.client.ExperienceFragmentsClient.ExperienceFragmentVariant
- Enclosing class:
ExperienceFragmentsClient
Representation of the Experience Fragment Variant
NOTE: All properties are cached. If any change is made in the repository you need to call
ExperienceFragmentVariant.update().-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExperienceFragmentVariant(ExperienceFragmentsClient xfClient, String variantPath) -
Method Summary
Modifier and TypeMethodDescription<T extends ExperienceFragmentsClient.VariantComponents>
TgetName()getPath()com.google.gson.JsonElementgetProperty(String propertyName) getTags()getTitle()booleanbooleanbooleanorg.apache.sling.testing.clients.SlingHttpResponsepublish(int... expectedStatus) voidsetFacebookSpace(String facebookSpace) voidsetPinterestSpace(String pinterestSpace) booleanorg.apache.sling.testing.clients.SlingHttpResponseunpublish(int... expectedStatus) voidupdate()
-
Field Details
-
DESCRIPTION_PROP
- See Also:
-
MASTER_VARIATION_PROP
- See Also:
-
SOCIAL_VARIATION_PROP
- See Also:
-
SHOW_IN_EDITOR_PROP
- See Also:
-
TEMPLATE_PROP
- See Also:
-
RESOURCE_TYPE_PROP
- See Also:
-
-
Constructor Details
-
ExperienceFragmentVariant
public ExperienceFragmentVariant(ExperienceFragmentsClient xfClient, String variantPath) throws org.apache.sling.testing.clients.ClientException - Throws:
org.apache.sling.testing.clients.ClientException
-
-
Method Details
-
isMasterVariant
public boolean isMasterVariant() -
isSocialVariant
public boolean isSocialVariant() -
isLiveCopy
public boolean isLiveCopy() -
getTemplateType
-
getTemplatePath
-
getVariantType
-
getPath
-
getResourceType
-
showInEditor
public boolean showInEditor() -
getParentXFPath
-
getTitle
-
getName
-
getDescription
-
getTags
-
getFacebookSpace
-
getPinterestSpace
-
getProperty
-
getComponents
-
update
public void update() throws org.apache.sling.testing.clients.ClientException- Throws:
org.apache.sling.testing.clients.ClientException
-
setFacebookSpace
public void setFacebookSpace(String facebookSpace) throws org.apache.sling.testing.clients.ClientException - Throws:
org.apache.sling.testing.clients.ClientException
-
setPinterestSpace
public void setPinterestSpace(String pinterestSpace) throws org.apache.sling.testing.clients.ClientException - Throws:
org.apache.sling.testing.clients.ClientException
-
publish
public org.apache.sling.testing.clients.SlingHttpResponse publish(int... expectedStatus) throws org.apache.sling.testing.clients.ClientException - Throws:
org.apache.sling.testing.clients.ClientException
-
unpublish
public org.apache.sling.testing.clients.SlingHttpResponse unpublish(int... expectedStatus) throws org.apache.sling.testing.clients.ClientException - Throws:
org.apache.sling.testing.clients.ClientException
-