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.GlobalVariablecreateVariable(UUID solutionId, com.artisol.teneo.studio.api.models.GlobalVariable globalVariable)voiddeleteVariable(UUID solutionId, UUID globalVariableId, boolean force)com.artisol.teneo.studio.api.models.GlobalVariablegetVariable(UUID solutionId, UUID globalVariableId)List<com.artisol.teneo.studio.api.models.GlobalVariable>getVariables(UUID solutionId)com.artisol.teneo.studio.api.models.GlobalVariablegetVariableVersion(UUID solutionId, UUID globalVariableId, String version)com.artisol.teneo.studio.api.models.GlobalVariableupdateVariable(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:
getVariablesin 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:
getVariablein 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:
getVariableVersionin 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:
createVariablein 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:
updateVariablein 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:
deleteVariablein interfacecom.artisol.teneo.studio.api.resources.GlobalVariablesResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-