Class EmotionsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artisol.teneo.studio.api.models.Emotion
createEmotion(UUID solutionId, com.artisol.teneo.studio.api.models.Emotion emotionModel)
void
deleteEmotion(UUID solutionId, UUID emotionId, boolean force)
com.artisol.teneo.studio.api.models.Emotion
getEmotion(UUID solutionId, UUID emotionId)
List<com.artisol.teneo.studio.api.models.Emotion>
getEmotions(UUID solutionId)
com.artisol.teneo.studio.api.models.Emotion
getEmotionVersion(UUID solutionId, UUID emotionId, String version)
com.artisol.teneo.studio.api.models.Emotion
updateEmotion(UUID solutionId, UUID emotionId, com.artisol.teneo.studio.api.models.Emotion emotionModel)
-
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.artisol.teneo.studio.api.resources.EmotionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-