Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.order.medicom
Class MedicomSender

java.lang.Object
  extended by ch.elexis.order.medicom.MedicomSender
All Implemented Interfaces:
IDataSender

public class MedicomSender
extends java.lang.Object
implements IDataSender


Constructor Summary
MedicomSender()
           
 
Method Summary
 boolean canHandle(java.lang.Class<? extends PersistentObject> clazz)
          Ask if this IDataSender can handle a certain type
 void finalizeExport()
          Send the stored objects to this IDataSender's ultimate destinaion (e.g. file, URL).
 XChangeElement store(java.lang.Object output)
          Prepare an object for export
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MedicomSender

public MedicomSender()
Method Detail

canHandle

public boolean canHandle(java.lang.Class<? extends PersistentObject> clazz)
Description copied from interface: IDataSender
Ask if this IDataSender can handle a certain type

Specified by:
canHandle in interface IDataSender
Parameters:
clazz - the class in question
Returns:
true if it can handle objects of that class.

finalizeExport

public void finalizeExport()
                    throws XChangeException
Description copied from interface: IDataSender
Send the stored objects to this IDataSender's ultimate destinaion (e.g. file, URL). The IDataTransfer is invalid after finalizing.

Specified by:
finalizeExport in interface IDataSender
Throws:
XChangeException

store

public XChangeElement store(java.lang.Object output)
                     throws XChangeException
Description copied from interface: IDataSender
Prepare an object for export

Specified by:
store in interface IDataSender
Parameters:
output - an object this IDataSender can handle
Returns:
the XML element created
Throws:
XChangeException - if an error occurred

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis