Class SituationFeedbackRestServiceImpl
- java.lang.Object
-
- org.opennms.features.situationfeedback.rest.SituationFeedbackRestServiceImpl
-
- All Implemented Interfaces:
SituationFeedbackRestService
public class SituationFeedbackRestServiceImpl extends java.lang.Object implements SituationFeedbackRestService
-
-
Constructor Summary
Constructors Constructor Description SituationFeedbackRestServiceImpl(AlarmDao alarmDao, FeedbackRepository feedbackRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<AlarmFeedback>
getFeedback(int situationId)
java.util.Collection<java.lang.String>
getTags(java.lang.String prefix)
void
setFeedback(int situationId, java.util.List<AlarmFeedback> feedback)
-
-
-
Constructor Detail
-
SituationFeedbackRestServiceImpl
public SituationFeedbackRestServiceImpl(AlarmDao alarmDao, FeedbackRepository feedbackRepository)
-
-
Method Detail
-
getTags
public java.util.Collection<java.lang.String> getTags(java.lang.String prefix)
- Specified by:
getTags
in interfaceSituationFeedbackRestService
-
getFeedback
public java.util.Collection<AlarmFeedback> getFeedback(int situationId)
- Specified by:
getFeedback
in interfaceSituationFeedbackRestService
-
setFeedback
public void setFeedback(int situationId, java.util.List<AlarmFeedback> feedback)
- Specified by:
setFeedback
in interfaceSituationFeedbackRestService
-
-