Class EmotionsResourceImpl

  • All Implemented Interfaces:
    com.artisol.teneo.studio.api.resources.EmotionsResource

    public class EmotionsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.EmotionsResource
    • Field Summary

      • Fields inherited from interface com.artisol.teneo.studio.api.resources.EmotionsResource

        DELETE_EMOTION_PATH, DELETE_EMOTION_SUMMARY, GET_EMOTION_PATH, GET_EMOTION_SUMMARY, GET_EMOTION_VERSION_PATH, GET_EMOTION_VERSION_SUMMARY, GET_EMOTIONS_PATH, GET_EMOTIONS_SUMMARY, PATH, POST_EMOTION_PATH, POST_EMOTION_SUMMARY, PUT_EMOTION_PATH, PUT_EMOTION_SUMMARY
    • Constructor Summary

      Constructors 
      Constructor Description
      EmotionsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)  
    • Constructor Detail

      • EmotionsResourceImpl

        public EmotionsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • Method Detail

      • getEmotions

        public List<com.artisol.teneo.studio.api.models.Emotion> getEmotions​(UUID solutionId)
                                                                      throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getEmotions in interface com.artisol.teneo.studio.api.resources.EmotionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getEmotion

        public com.artisol.teneo.studio.api.models.Emotion getEmotion​(UUID solutionId,
                                                                      UUID emotionId)
                                                               throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getEmotion in interface com.artisol.teneo.studio.api.resources.EmotionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getEmotionVersion

        public com.artisol.teneo.studio.api.models.Emotion getEmotionVersion​(UUID solutionId,
                                                                             UUID emotionId,
                                                                             String version)
                                                                      throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getEmotionVersion in interface com.artisol.teneo.studio.api.resources.EmotionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • createEmotion

        public com.artisol.teneo.studio.api.models.Emotion createEmotion​(UUID solutionId,
                                                                         com.artisol.teneo.studio.api.models.Emotion emotionModel)
                                                                  throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        createEmotion in interface com.artisol.teneo.studio.api.resources.EmotionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • updateEmotion

        public com.artisol.teneo.studio.api.models.Emotion updateEmotion​(UUID solutionId,
                                                                         UUID emotionId,
                                                                         com.artisol.teneo.studio.api.models.Emotion emotionModel)
                                                                  throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        updateEmotion in interface com.artisol.teneo.studio.api.resources.EmotionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • deleteEmotion

        public void deleteEmotion​(UUID solutionId,
                                  UUID emotionId,
                                  boolean force)
                           throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        deleteEmotion in interface com.artisol.teneo.studio.api.resources.EmotionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException