Class ScriptedContextsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.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 Summary
Constructors Constructor Description ScriptedContextsResourceImpl(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.ScriptedContext
createScriptedContext(UUID solutionId, com.artisol.teneo.studio.api.models.ScriptedContext scriptedContext)
void
deleteScriptedContext(UUID solutionId, UUID scriptedContextId, boolean force)
com.artisol.teneo.studio.api.models.ScriptedContext
getScriptedContext(UUID solutionId, UUID scriptedContextId)
List<com.artisol.teneo.studio.api.models.ScriptedContext>
getScriptedContexts(UUID solutionId)
com.artisol.teneo.studio.api.models.ScriptedContext
getScriptedContextVersion(UUID solutionId, UUID scriptedContextId, String version)
com.artisol.teneo.studio.api.models.ScriptedContext
updateScriptedContext(UUID solutionId, UUID scriptedContextId, com.artisol.teneo.studio.api.models.ScriptedContext scriptedContext)
-
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.artisol.teneo.studio.api.resources.ScriptedContextsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-