Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis.images
Class XChangeContributor

java.lang.Object
  extended by ch.elexis.images.XChangeContributor
All Implemented Interfaces:
IExchangeContributor

public class XChangeContributor
extends java.lang.Object
implements IExchangeContributor


Field Summary
static java.lang.String PLUGIN_ID
           
 
Fields inherited from interface ch.elexis.exchange.IExchangeContributor
ExtensionPointName
 
Constructor Summary
XChangeContributor()
           
 
Method Summary
 void exportHook(MedicalElement me)
          An Element is to be exported.
 void importHook(XChangeContainer container, PersistentObject context)
          An Element ist to be imported.
 boolean init(MedicalElement me, boolean bExport)
          Perform any needed initialization before the first call
 void setInitializationData(IConfigurationElement config, java.lang.String propertyName, java.lang.Object data)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

XChangeContributor

public XChangeContributor()
Method Detail

exportHook

public void exportHook(MedicalElement me)
Description copied from interface: IExchangeContributor
An Element is to be exported. The method can contribute its own data

Specified by:
exportHook in interface IExchangeContributor

importHook

public void importHook(XChangeContainer container,
                       PersistentObject context)
Description copied from interface: IExchangeContributor
An Element ist to be imported. The method can fetch data it can handle

Specified by:
importHook in interface IExchangeContributor
Parameters:
container - the source container

setInitializationData

public void setInitializationData(IConfigurationElement config,
                                  java.lang.String propertyName,
                                  java.lang.Object data)
                           throws CoreException
Throws:
CoreException

init

public boolean init(MedicalElement me,
                    boolean bExport)
Description copied from interface: IExchangeContributor
Perform any needed initialization before the first call

Specified by:
init in interface IExchangeContributor
Parameters:
me - : The Medical into/from wich the transfer will happen
bExport - : true: export is about to begin. False: import is about to begin
Returns:
false: skip me. True: ok, go on

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis