Class GlobalScriptsResourceImpl

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

    public class GlobalScriptsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.GlobalScriptsResource
    • Field Summary

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

        DELETE_SCRIPT_PATH, DELETE_SCRIPT_SUMMARY, GET_ORDERING_PATH, GET_ORDERING_SUMMARY, GET_ORDERING_VERSION_PATH, GET_ORDERING_VERSION_SUMMARY, GET_SCRIPT_PATH, GET_SCRIPT_SUMMARY, GET_SCRIPT_VERSION_PATH, GET_SCRIPT_VERSION_SUMMARY, GET_SCRIPTS_PATH, GET_SCRIPTS_SUMMARY, PATH, POST_SCRIPT_PATH, POST_SCRIPT_SUMMARY, PUT_ORDERING_PATH, PUT_ORDERING_SUMMARY, PUT_SCRIPT_PATH, PUT_SCRIPT_SUMMARY
    • Constructor Summary

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

      • GlobalScriptsResourceImpl

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

      • getScripts

        public List<com.artisol.teneo.studio.api.models.GlobalScript> getScripts​(UUID solutionId)
                                                                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getScripts in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getScript

        public com.artisol.teneo.studio.api.models.GlobalScript getScript​(UUID solutionId,
                                                                          UUID globalScriptId)
                                                                   throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getScript in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getScriptVersion

        public com.artisol.teneo.studio.api.models.GlobalScript getScriptVersion​(UUID solutionId,
                                                                                 UUID globalScriptId,
                                                                                 String version)
                                                                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getScriptVersion in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • createScript

        public com.artisol.teneo.studio.api.models.GlobalScript createScript​(UUID solutionId,
                                                                             com.artisol.teneo.studio.api.models.GlobalScript globalScript)
                                                                      throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        createScript in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • updateScript

        public com.artisol.teneo.studio.api.models.GlobalScript updateScript​(UUID solutionId,
                                                                             UUID globalScriptId,
                                                                             com.artisol.teneo.studio.api.models.GlobalScript globalScript)
                                                                      throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        updateScript in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • deleteScript

        public void deleteScript​(UUID solutionId,
                                 UUID globalScriptId)
                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        deleteScript in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getOrdering

        public com.artisol.teneo.studio.api.models.GlobalScriptOrdering getOrdering​(UUID solutionId)
                                                                             throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getOrdering in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getOrderingVersion

        public com.artisol.teneo.studio.api.models.GlobalScriptOrdering getOrderingVersion​(UUID solutionId,
                                                                                           String version)
                                                                                    throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getOrderingVersion in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • updateOrdering

        public com.artisol.teneo.studio.api.models.GlobalScriptOrdering updateOrdering​(UUID solutionId,
                                                                                       com.artisol.teneo.studio.api.models.GlobalScriptOrdering globalScriptOrdering)
                                                                                throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        updateOrdering in interface com.artisol.teneo.studio.api.resources.GlobalScriptsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException