org.opennms.netmgt.ticketd
Class DefaultTicketerServiceLayer

java.lang.Object
  extended by org.opennms.netmgt.ticketd.DefaultTicketerServiceLayer
All Implemented Interfaces:
TicketerServiceLayer, org.springframework.beans.factory.InitializingBean

public class DefaultTicketerServiceLayer
extends Object
implements TicketerServiceLayer, org.springframework.beans.factory.InitializingBean

OpenNMS Trouble Ticket API implementation.

Author:
Mathew Brozowski, David Hustace

Constructor Summary
DefaultTicketerServiceLayer()
           
 
Method Summary
 void afterPropertiesSet()
          Spring functionality implemented to validate the state of the trouble ticket plugin API.
 void cancelTicketForAlarm(int alarmId, String ticketId)
          Implement to manage canceling of tickets through registered plugin.
 void closeTicketForAlarm(int alarmId, String ticketId)
          Implement to manage closing of tickets through registered plugin.
 void createTicketForAlarm(int alarmId)
          Implement to manage creation of tickets through registered plugin.
 EventIpcManager getEventIpcManager()
           
 void setAlarmDao(AlarmDao alarmDao)
          Needs access to the AlarmDao.
 void setEventIpcManager(EventIpcManager ipcManager)
           
 void setTicketerPlugin(org.opennms.api.integration.ticketing.Plugin ticketerPlugin)
          Needs access to the ticketer Plugin API implementation for communication with the HelpDesk.
 void updateTicketForAlarm(int alarmId, String ticketId)
          Implement to manage updating of tickets through registered plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTicketerServiceLayer

public DefaultTicketerServiceLayer()
Method Detail

setAlarmDao

public void setAlarmDao(AlarmDao alarmDao)
Needs access to the AlarmDao.

Parameters:
alarmDao -

setTicketerPlugin

public void setTicketerPlugin(org.opennms.api.integration.ticketing.Plugin ticketerPlugin)
Needs access to the ticketer Plugin API implementation for communication with the HelpDesk.

Parameters:
ticketerPlugin -

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Spring functionality implemented to validate the state of the trouble ticket plugin API.

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

cancelTicketForAlarm

public void cancelTicketForAlarm(int alarmId,
                                 String ticketId)
Description copied from interface: TicketerServiceLayer
Implement to manage canceling of tickets through registered plugin.

Specified by:
cancelTicketForAlarm in interface TicketerServiceLayer

closeTicketForAlarm

public void closeTicketForAlarm(int alarmId,
                                String ticketId)
Description copied from interface: TicketerServiceLayer
Implement to manage closing of tickets through registered plugin.

Specified by:
closeTicketForAlarm in interface TicketerServiceLayer

createTicketForAlarm

public void createTicketForAlarm(int alarmId)
Description copied from interface: TicketerServiceLayer
Implement to manage creation of tickets through registered plugin.

Specified by:
createTicketForAlarm in interface TicketerServiceLayer

updateTicketForAlarm

public void updateTicketForAlarm(int alarmId,
                                 String ticketId)
Description copied from interface: TicketerServiceLayer
Implement to manage updating of tickets through registered plugin.

Specified by:
updateTicketForAlarm in interface TicketerServiceLayer

getEventIpcManager

public EventIpcManager getEventIpcManager()

setEventIpcManager

public void setEventIpcManager(EventIpcManager ipcManager)


Copyright © 2009. All Rights Reserved.