Class ProjectTemplateService


  • @Deprecated
    public class ProjectTemplateService
    extends AbstractService
    Deprecated.
    The project templates are deprecated and stopped working on May 15, 2019. See https://support.gooddata.com/hc/en-us/articles/360016126334-April-4-2019 Deprecated since version 3.0.1. Will be removed in one of future versions.
    Service enabling access to project templates, under /projectTemplates/...
    • Constructor Summary

      Constructors 
      Constructor Description
      ProjectTemplateService​(org.springframework.web.client.RestTemplate restTemplate, GoodDataSettings settings)
      Deprecated.
      Sets RESTful HTTP Spring template.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Collection<com.gooddata.sdk.model.dataset.DatasetManifest> getManifests​(com.gooddata.sdk.model.projecttemplate.Template template)
      Deprecated.
      Get manifests of given template
      com.gooddata.sdk.model.projecttemplate.Template getTemplateByUri​(java.lang.String uri)
      Deprecated.
      Get project template by given uri.
      java.util.Collection<com.gooddata.sdk.model.projecttemplate.Template> getTemplates()
      Deprecated.
      List of all projects' templates
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProjectTemplateService

        public ProjectTemplateService​(org.springframework.web.client.RestTemplate restTemplate,
                                      GoodDataSettings settings)
        Deprecated.
        Sets RESTful HTTP Spring template. Should be called from constructor of concrete service extending this abstract one.
        Parameters:
        restTemplate - RESTful HTTP Spring template
        settings - settings
    • Method Detail

      • getTemplates

        public java.util.Collection<com.gooddata.sdk.model.projecttemplate.Template> getTemplates()
        Deprecated.
        List of all projects' templates
        Returns:
        list of templates
      • getTemplateByUri

        public com.gooddata.sdk.model.projecttemplate.Template getTemplateByUri​(java.lang.String uri)
        Deprecated.
        Get project template by given uri.
        Parameters:
        uri - uri of the template
        Returns:
        project template
      • getManifests

        public java.util.Collection<com.gooddata.sdk.model.dataset.DatasetManifest> getManifests​(com.gooddata.sdk.model.projecttemplate.Template template)
        Deprecated.
        Get manifests of given template
        Parameters:
        template - template
        Returns:
        manifests linked from project template