Class IntegrationsResourceImpl

  • All Implemented Interfaces:
    com.artisol.teneo.studio.api.resources.IntegrationsResource

    public class IntegrationsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.IntegrationsResource
    • Field Summary

      • Fields inherited from interface com.artisol.teneo.studio.api.resources.IntegrationsResource

        DELETE_INTEGRATION_PATH, DELETE_INTEGRATION_SUMMARY, GET_INTEGRATION_PATH, GET_INTEGRATION_SUMMARY, GET_INTEGRATION_VERSION_PATH, GET_INTEGRATION_VERSION_SUMMARY, GET_INTEGRATIONS_PATH, GET_INTEGRATIONS_SUMMARY, GET_INTEGRATIONS_USAGE_PATH, GET_INTEGRATIONS_USAGE_SUMMARY, PATH, POST_INTEGRATION_PATH, POST_INTEGRATION_SUMMARY, PUT_INTEGRATION_PATH, PUT_INTEGRATION_SUMMARY
    • Constructor Summary

      Constructors 
      Constructor Description
      IntegrationsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)  
    • Constructor Detail

      • IntegrationsResourceImpl

        public IntegrationsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • Method Detail

      • createIntegration

        public com.artisol.teneo.studio.api.models.Integration createIntegration​(UUID solutionId,
                                                                                 com.artisol.teneo.studio.api.models.Integration integration)
                                                                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        createIntegration in interface com.artisol.teneo.studio.api.resources.IntegrationsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • updateIntegration

        public com.artisol.teneo.studio.api.models.Integration updateIntegration​(UUID solutionId,
                                                                                 UUID integrationId,
                                                                                 com.artisol.teneo.studio.api.models.Integration integration)
                                                                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        updateIntegration in interface com.artisol.teneo.studio.api.resources.IntegrationsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getIntegration

        public com.artisol.teneo.studio.api.models.Integration getIntegration​(UUID solutionId,
                                                                              UUID integrationId)
                                                                       throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getIntegration in interface com.artisol.teneo.studio.api.resources.IntegrationsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getIntegrationVersion

        public com.artisol.teneo.studio.api.models.Integration getIntegrationVersion​(UUID solutionId,
                                                                                     UUID integrationId,
                                                                                     String version)
                                                                              throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getIntegrationVersion in interface com.artisol.teneo.studio.api.resources.IntegrationsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • deleteIntegration

        public void deleteIntegration​(UUID solutionId,
                                      UUID integrationId,
                                      boolean force)
                               throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        deleteIntegration in interface com.artisol.teneo.studio.api.resources.IntegrationsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getIntegrations

        public List<com.artisol.teneo.studio.api.models.Integration> getIntegrations​(UUID solutionId)
                                                                              throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getIntegrations in interface com.artisol.teneo.studio.api.resources.IntegrationsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getIntegrationsUsage

        public List<com.artisol.teneo.studio.api.models.IntegrationUsage> getIntegrationsUsage​(UUID solutionId)
                                                                                        throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getIntegrationsUsage in interface com.artisol.teneo.studio.api.resources.IntegrationsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException