Class ExperienceFragmentsClient.ExperienceFragment

  • Enclosing class:
    ExperienceFragmentsClient

    public static class ExperienceFragmentsClient.ExperienceFragment
    extends Object
    Representation of the Experience Fragment NOTE: All properties are cached. If any change is made in the repository you need to call ExperienceFragment.update().
    • Constructor Detail

      • ExperienceFragment

        public ExperienceFragment​(ExperienceFragmentsClient client,
                                  String xfPath)
                           throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
    • Method Detail

      • update

        public void update()
                    throws org.apache.sling.testing.clients.ClientException
        Throws:
        org.apache.sling.testing.clients.ClientException
      • getTitle

        public String getTitle()
      • getName

        public String getName()
      • getPath

        public String getPath()
      • getProperty

        public com.google.gson.JsonElement getProperty​(String property)
      • 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