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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlarmMapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.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(java.lang.Integer value)
protected java.lang.Integer
mapTicketStateToInt(TroubleTicketState state)
void
setEventConfDao(EventConfDao eventConfDao)
void
setTicketUrlTemplate(java.lang.String ticketUrlTemplate)
-
-
-
Method Detail
-
ackTypeToInteger
public java.lang.Integer ackTypeToInteger(AckType ack)
-
mapTicketStateToInt
protected java.lang.Integer mapTicketStateToInt(TroubleTicketState state)
-
mapIntToTicketState
protected TroubleTicketState mapIntToTicketState(java.lang.Integer value)
-
eventParameterToEventParameterDTO
public abstract EventParameterDTO eventParameterToEventParameterDTO(OnmsEventParameter eventParameter)
-
alarmToAlarmSummaryDTO
public abstract AlarmSummaryDTO alarmToAlarmSummaryDTO(OnmsAlarm alarm)
-
setTicketUrlTemplate
public void setTicketUrlTemplate(java.lang.String ticketUrlTemplate)
-
mapEventLabel
protected void mapEventLabel(AlarmSummaryDTO summaryDTO)
-
setEventConfDao
public void setEventConfDao(EventConfDao eventConfDao)
-
-