Package org.opennms.netmgt.ticketer.otrs
Class OtrsTicketerPlugin
- java.lang.Object
-
- 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
Constructors Constructor Description OtrsTicketerPlugin()
Constructor for OtrsTicketerPlugin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ticket
get(String ticketId)
DAO like get method to be implemented by HelpDesk specific plugin.String
getEndpoint()
getEndpointvoid
saveOrUpdate(Ticket newTicket)
DAO like saveOrUpdate method to be implemented by HelpDesk specific plugin.void
setEndpoint(String endpoint)
setEndpoint
-
-
-
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 interfacePlugin
- Parameters:
ticketId
- aString
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 interfacePlugin
- Parameters:
newTicket
- aTicket
object.- Throws:
PluginException
- if any.
-
-