Class GlobalScriptsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artisol.teneo.studio.api.models.GlobalScript
createScript(UUID solutionId, com.artisol.teneo.studio.api.models.GlobalScript globalScript)
void
deleteScript(UUID solutionId, UUID globalScriptId)
com.artisol.teneo.studio.api.models.GlobalScriptOrdering
getOrdering(UUID solutionId)
com.artisol.teneo.studio.api.models.GlobalScriptOrdering
getOrderingVersion(UUID solutionId, String version)
com.artisol.teneo.studio.api.models.GlobalScript
getScript(UUID solutionId, UUID globalScriptId)
List<com.artisol.teneo.studio.api.models.GlobalScript>
getScripts(UUID solutionId)
com.artisol.teneo.studio.api.models.GlobalScript
getScriptVersion(UUID solutionId, UUID globalScriptId, String version)
com.artisol.teneo.studio.api.models.GlobalScriptOrdering
updateOrdering(UUID solutionId, com.artisol.teneo.studio.api.models.GlobalScriptOrdering globalScriptOrdering)
com.artisol.teneo.studio.api.models.GlobalScript
updateScript(UUID solutionId, UUID globalScriptId, com.artisol.teneo.studio.api.models.GlobalScript globalScript)
-
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.artisol.teneo.studio.api.resources.GlobalScriptsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-