Package org.opennms.web.rest.mapper.v2
Class AlarmMapper
- java.lang.Object
-
- org.opennms.web.rest.mapper.v2.AlarmMapper
-
- Direct Known Subclasses:
AlarmMapperImpl
public abstract class AlarmMapper extends Object
-
-
Constructor Summary
Constructors Constructor Description AlarmMapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Integer
ackTypeToInteger(AckType ack)
abstract OnmsAlarm
alarmDTOToAlarm(AlarmDTO alarm)
abstract AlarmDTO
alarmToAlarmDTO(OnmsAlarm alarm)
abstract AlarmSummaryDTO
alarmToAlarmSummaryDTO(OnmsAlarm alarm)
abstract EventParameterDTO
eventParameterToEventParameterDTO(OnmsEventParameter eventParameter)
protected void
fillAlarm(OnmsAlarm alarm, AlarmDTO alarmDTO)
protected void
mapEventLabel(AlarmSummaryDTO summaryDTO)
protected TroubleTicketState
mapIntToTicketState(Integer value)
protected Integer
mapTicketStateToInt(TroubleTicketState state)
void
setEventConfDao(EventConfDao eventConfDao)
void
setTicketUrlTemplate(String ticketUrlTemplate)
-
-
-
Method Detail
-
mapTicketStateToInt
protected Integer mapTicketStateToInt(TroubleTicketState state)
-
mapIntToTicketState
protected TroubleTicketState mapIntToTicketState(Integer value)
-
eventParameterToEventParameterDTO
public abstract EventParameterDTO eventParameterToEventParameterDTO(OnmsEventParameter eventParameter)
-
alarmToAlarmSummaryDTO
public abstract AlarmSummaryDTO alarmToAlarmSummaryDTO(OnmsAlarm alarm)
-
setTicketUrlTemplate
public void setTicketUrlTemplate(String ticketUrlTemplate)
-
mapEventLabel
protected void mapEventLabel(AlarmSummaryDTO summaryDTO)
-
setEventConfDao
public void setEventConfDao(EventConfDao eventConfDao)
-
-