Class ClassesResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.ClassesResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.ClassesResource
public class ClassesResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.ClassesResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.ClassesResource
DELETE_CLASS_PATH, DELETE_CLASS_SUMMARY, GET_CLASS_PATH, GET_CLASS_SUMMARY, GET_CLASS_VERSION_PATH, GET_CLASS_VERSION_SUMMARY, GET_CLASSES_PATH, GET_CLASSES_SUMMARY, GET_LINKED_TEST_DATA_PATH, GET_LINKED_TEST_DATA_SUMMARY, PATH, POST_CLASS_PATH, POST_CLASS_SUMMARY, PUT_CLASS_PATH, PUT_CLASS_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description ClassesResourceImpl(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.Class
createClass(UUID solutionId, com.artisol.teneo.studio.api.models.Class classModel)
void
deleteClass(UUID solutionId, UUID classId, boolean force)
com.artisol.teneo.studio.api.models.Class
getClass(UUID solutionId, UUID classId)
List<com.artisol.teneo.studio.api.models.Class>
getClasses(UUID solutionId)
com.artisol.teneo.studio.api.models.Class
getClassVersion(UUID solutionId, UUID classId, String version)
List<com.artisol.teneo.studio.api.models.LinkedClassTestData>
getLinkedTestData(UUID solutionId, UUID classId)
com.artisol.teneo.studio.api.models.Class
updateClass(UUID solutionId, UUID classId, com.artisol.teneo.studio.api.models.Class classModel)
-
-
-
Method Detail
-
getClasses
public List<com.artisol.teneo.studio.api.models.Class> getClasses(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getClasses
in interfacecom.artisol.teneo.studio.api.resources.ClassesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getClass
public com.artisol.teneo.studio.api.models.Class getClass(UUID solutionId, UUID classId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getClass
in interfacecom.artisol.teneo.studio.api.resources.ClassesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getClassVersion
public com.artisol.teneo.studio.api.models.Class getClassVersion(UUID solutionId, UUID classId, String version) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getClassVersion
in interfacecom.artisol.teneo.studio.api.resources.ClassesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
createClass
public com.artisol.teneo.studio.api.models.Class createClass(UUID solutionId, com.artisol.teneo.studio.api.models.Class classModel) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
createClass
in interfacecom.artisol.teneo.studio.api.resources.ClassesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updateClass
public com.artisol.teneo.studio.api.models.Class updateClass(UUID solutionId, UUID classId, com.artisol.teneo.studio.api.models.Class classModel) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updateClass
in interfacecom.artisol.teneo.studio.api.resources.ClassesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
deleteClass
public void deleteClass(UUID solutionId, UUID classId, boolean force) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
deleteClass
in interfacecom.artisol.teneo.studio.api.resources.ClassesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getLinkedTestData
public List<com.artisol.teneo.studio.api.models.LinkedClassTestData> getLinkedTestData(UUID solutionId, UUID classId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getLinkedTestData
in interfacecom.artisol.teneo.studio.api.resources.ClassesResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-