Class GlobalVariablesResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.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 Summary
Constructors Constructor Description GlobalVariablesResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artisol.teneo.studio.api.models.GlobalVariable
createVariable(UUID solutionId, com.artisol.teneo.studio.api.models.GlobalVariable globalVariable)
void
deleteVariable(UUID solutionId, UUID globalVariableId, boolean force)
com.artisol.teneo.studio.api.models.GlobalVariable
getVariable(UUID solutionId, UUID globalVariableId)
List<com.artisol.teneo.studio.api.models.GlobalVariable>
getVariables(UUID solutionId)
com.artisol.teneo.studio.api.models.GlobalVariable
getVariableVersion(UUID solutionId, UUID globalVariableId, String version)
com.artisol.teneo.studio.api.models.GlobalVariable
updateVariable(UUID solutionId, UUID globalVariableId, com.artisol.teneo.studio.api.models.GlobalVariable globalVariable)
-
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.artisol.teneo.studio.api.resources.GlobalVariablesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-