use of de.janrufmonitor.repository.mapping.IOutlookMapping in project janrufmonitor by tbrandt77.
the class OutlookContactProxy method setContactData.
private void setContactData(Dispatch contact, ICaller c, boolean business) {
IOutlookMapping om = null;
if (business)
om = new BussinessOutlookMapping();
else
om = new PrivateOutlookMapping();
Properties config = this.getRuntime().getConfigManagerFactory().getConfigManager().getProperties(NAMESPACE);
if (config.getProperty("split", "true").equalsIgnoreCase("false")) {
om = new DefaultOutlookMapping();
PropagationFactory.getInstance().fire(new Message(Message.WARNING, getNamespace(), "olstore", new Exception("No split option selected.")));
}
OutlookMappingManager.getInstance().mapToOutlookCaller(contact, c, om);
}
Aggregations