Class ProjectTemplateService

java.lang.Object
com.gooddata.sdk.service.AbstractService
com.gooddata.sdk.service.projecttemplate.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/...
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.gooddata.sdk.service.AbstractService

    AbstractService.OutputStreamResponseExtractor
  • Field Summary

    Fields inherited from class com.gooddata.sdk.service.AbstractService

    mapper, restTemplate
  • Constructor Summary

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

    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 com.gooddata.sdk.service.AbstractService

    extractData

    Methods inherited from class java.lang.Object

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

    • 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 Details

    • 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