org.opennms.netmgt.ticketer.otrs
Class OtrsTicketerPlugin

java.lang.Object
  extended by org.opennms.netmgt.ticketer.otrs.OtrsTicketerPlugin
All Implemented Interfaces:
Plugin

public class OtrsTicketerPlugin
extends Object
implements Plugin

OpenNMS Trouble Ticket Plugin API implementation for OTRS

Version:
$Id: $
Author:
Jonathan Sartin

Constructor Summary
OtrsTicketerPlugin()
          Constructor for OtrsTicketerPlugin.
 
Method Summary
 Ticket get(String ticketId)
          DAO like get method to be implemented by HelpDesk specific plugin.
 String getEndpoint()
          getEndpoint
 void saveOrUpdate(Ticket newTicket)
          DAO like saveOrUpdate method to be implemented by HelpDesk specific plugin.
 void setEndpoint(String endpoint)
          setEndpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtrsTicketerPlugin

public OtrsTicketerPlugin()

Constructor for OtrsTicketerPlugin.

Method Detail

get

public Ticket get(String ticketId)
           throws PluginException
DAO like get method to be implemented by HelpDesk specific plugin.

Specified by:
get in interface Plugin
Parameters:
ticketId - a String object.
Returns:
a Ticket object.
Throws:
PluginException - if any.

saveOrUpdate

public void saveOrUpdate(Ticket newTicket)
                  throws PluginException
DAO like saveOrUpdate method to be implemented by HelpDesk specific plugin.

Specified by:
saveOrUpdate in interface Plugin
Parameters:
newTicket - a Ticket object.
Throws:
PluginException - if any.

getEndpoint

public String getEndpoint()

getEndpoint

Returns:
a String object.

setEndpoint

public void setEndpoint(String endpoint)

setEndpoint

Parameters:
endpoint - a String object.


Copyright © 2011. All Rights Reserved.