Class 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)  
    • Constructor Detail

      • ClassesResourceImpl

        public ClassesResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.artisol.teneo.studio.api.resources.ClassesResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException