Class ScriptedContextsResourceImpl

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

    public class ScriptedContextsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.ScriptedContextsResource
    • Field Summary

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

        DELETE_SCRIPTED_CONTEXT_PATH, DELETE_SCRIPTED_CONTEXT_SUMMARY, GET_SCRIPTED_CONTEXT_PATH, GET_SCRIPTED_CONTEXT_SUMMARY, GET_SCRIPTED_CONTEXT_VERSION_PATH, GET_SCRIPTED_CONTEXT_VERSION_SUMMARY, GET_SCRIPTED_CONTEXTS_PATH, GET_SCRIPTED_CONTEXTS_SUMMARY, PATH, POST_SCRIPTED_CONTEXT_PATH, POST_SCRIPTED_CONTEXT_SUMMARY, PUT_SCRIPTED_CONTEXT_PATH, PUT_SCRIPTED_CONTEXT_SUMMARY
    • Constructor Detail

      • ScriptedContextsResourceImpl

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

      • createScriptedContext

        public com.artisol.teneo.studio.api.models.ScriptedContext createScriptedContext​(UUID solutionId,
                                                                                         com.artisol.teneo.studio.api.models.ScriptedContext scriptedContext)
                                                                                  throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        createScriptedContext in interface com.artisol.teneo.studio.api.resources.ScriptedContextsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • updateScriptedContext

        public com.artisol.teneo.studio.api.models.ScriptedContext updateScriptedContext​(UUID solutionId,
                                                                                         UUID scriptedContextId,
                                                                                         com.artisol.teneo.studio.api.models.ScriptedContext scriptedContext)
                                                                                  throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        updateScriptedContext in interface com.artisol.teneo.studio.api.resources.ScriptedContextsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getScriptedContext

        public com.artisol.teneo.studio.api.models.ScriptedContext getScriptedContext​(UUID solutionId,
                                                                                      UUID scriptedContextId)
                                                                               throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getScriptedContext in interface com.artisol.teneo.studio.api.resources.ScriptedContextsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getScriptedContextVersion

        public com.artisol.teneo.studio.api.models.ScriptedContext getScriptedContextVersion​(UUID solutionId,
                                                                                             UUID scriptedContextId,
                                                                                             String version)
                                                                                      throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getScriptedContextVersion in interface com.artisol.teneo.studio.api.resources.ScriptedContextsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • deleteScriptedContext

        public void deleteScriptedContext​(UUID solutionId,
                                          UUID scriptedContextId,
                                          boolean force)
                                   throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        deleteScriptedContext in interface com.artisol.teneo.studio.api.resources.ScriptedContextsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getScriptedContexts

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