Class SituationFeedbackRestServiceImpl
- java.lang.Object
-
- org.opennms.features.situationfeedback.rest.SituationFeedbackRestServiceImpl
-
- All Implemented Interfaces:
SituationFeedbackRestService
public class SituationFeedbackRestServiceImpl extends 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 Collection<AlarmFeedback>
getFeedback(int situationId)
Collection<String>
getTags(String prefix)
void
setFeedback(int situationId, List<AlarmFeedback> feedback)
-
-
-
Constructor Detail
-
SituationFeedbackRestServiceImpl
public SituationFeedbackRestServiceImpl(AlarmDao alarmDao, FeedbackRepository feedbackRepository)
-
-
Method Detail
-
getTags
public Collection<String> getTags(String prefix)
- Specified by:
getTags
in interfaceSituationFeedbackRestService
-
getFeedback
public Collection<AlarmFeedback> getFeedback(int situationId)
- Specified by:
getFeedback
in interfaceSituationFeedbackRestService
-
setFeedback
public void setFeedback(int situationId, List<AlarmFeedback> feedback)
- Specified by:
setFeedback
in interfaceSituationFeedbackRestService
-
-