Class GlobalVariablesResourceImpl

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

    public class GlobalVariablesResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.GlobalVariablesResource
    • Field Summary

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

        DELETE_VARIABLE_PATH, DELETE_VARIABLE_SUMMARY, GET_VARIABLE_PATH, GET_VARIABLE_SUMMARY, GET_VARIABLE_VERSION_PATH, GET_VARIABLE_VERSION_SUMMARY, GET_VARIABLES_PATH, GET_VARIABLES_SUMMARY, PATH, POST_VARIABLE_PATH, POST_VARIABLE_SUMMARY, PUT_VARIABLE_PATH, PUT_VARIABLE_SUMMARY
    • Constructor Detail

      • GlobalVariablesResourceImpl

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

      • getVariables

        public List<com.artisol.teneo.studio.api.models.GlobalVariable> getVariables​(UUID solutionId)
                                                                              throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getVariables in interface com.artisol.teneo.studio.api.resources.GlobalVariablesResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getVariable

        public com.artisol.teneo.studio.api.models.GlobalVariable getVariable​(UUID solutionId,
                                                                              UUID globalVariableId)
                                                                       throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getVariable in interface com.artisol.teneo.studio.api.resources.GlobalVariablesResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getVariableVersion

        public com.artisol.teneo.studio.api.models.GlobalVariable getVariableVersion​(UUID solutionId,
                                                                                     UUID globalVariableId,
                                                                                     String version)
                                                                              throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getVariableVersion in interface com.artisol.teneo.studio.api.resources.GlobalVariablesResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • createVariable

        public com.artisol.teneo.studio.api.models.GlobalVariable createVariable​(UUID solutionId,
                                                                                 com.artisol.teneo.studio.api.models.GlobalVariable globalVariable)
                                                                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        createVariable in interface com.artisol.teneo.studio.api.resources.GlobalVariablesResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • updateVariable

        public com.artisol.teneo.studio.api.models.GlobalVariable updateVariable​(UUID solutionId,
                                                                                 UUID globalVariableId,
                                                                                 com.artisol.teneo.studio.api.models.GlobalVariable globalVariable)
                                                                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        updateVariable in interface com.artisol.teneo.studio.api.resources.GlobalVariablesResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • deleteVariable

        public void deleteVariable​(UUID solutionId,
                                   UUID globalVariableId,
                                   boolean force)
                            throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        deleteVariable in interface com.artisol.teneo.studio.api.resources.GlobalVariablesResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException