Search in sources :

Example 81 with IAttribute

use of de.janrufmonitor.framework.IAttribute in project janrufmonitor by tbrandt77.

the class ImportAction method run.

public void run(String[] filenames) {
    List ids = ImExportFactory.getInstance().getAllImporterIds(IImExporter.CALLER_MODE);
    String filename = null;
    for (int h = 0; h < filenames.length; h++) {
        filename = filenames[h];
        if (!filename.endsWith(this.m_app.getApplication().getConfiguration().getProperty(CFG_OLD_EDITOR, "cpnumber.dat"))) {
            String ext = "";
            for (int i = 0; i < ids.size(); i++) {
                final IImExporter imp = ImExportFactory.getInstance().getImporter((String) ids.get(i));
                ext = imp.getExtension();
                if (ext.startsWith("*"))
                    ext = ext.substring(1);
                if (filename.toLowerCase().endsWith(ext) && imp.getMode() == IImExporter.CALLER_MODE) {
                    imp.setFilename(filename);
                    // chedk for categorie filters
                    String filter = this.m_app.getApplication().getConfiguration().getProperty("filter", "");
                    EditorFilterManager efm = new EditorFilterManager();
                    final IAttribute category = getRuntime().getCallerFactory().createAttribute(IJAMConst.ATTRIBUTE_NAME_CATEGORY, "");
                    if (filter.length() > 0) {
                        String cat = null;
                        IFilter[] filters = efm.getFiltersFromString(filter);
                        for (int z = 0; z < filters.length; z++) {
                            if (filters[z].getType().equals(FilterType.ATTRIBUTE)) {
                                AttributeFilter cf = ((AttributeFilter) filters[z]);
                                IAttributeMap m = cf.getAttributeMap();
                                if (m != null && m.size() > 0) {
                                    Iterator it = m.iterator();
                                    IAttribute a = null;
                                    while (it.hasNext()) {
                                        a = (IAttribute) it.next();
                                        if (a.getName().equalsIgnoreCase(IJAMConst.ATTRIBUTE_NAME_CATEGORY)) {
                                            cat = a.getValue();
                                        }
                                    }
                                }
                            }
                        }
                        if (cat != null) {
                            int style = SWT.APPLICATION_MODAL | SWT.YES | SWT.NO;
                            MessageBox messageBox = new MessageBox(new Shell(DisplayManager.getDefaultDisplay()), style);
                            String text = this.getI18nManager().getString(this.getNamespace(), "assigncategoryconfirm", "label", this.getLanguage());
                            text = StringUtils.replaceString(text, "{%1}", cat);
                            messageBox.setMessage(text);
                            if (messageBox.open() == SWT.YES) {
                                category.setValue(cat);
                            }
                        }
                    }
                    final String f = filename;
                    try {
                        ProgressMonitorDialog pmd = new ProgressMonitorDialog(DisplayManager.getDefaultDisplay().getActiveShell());
                        IRunnableWithProgress r = new IRunnableWithProgress() {

                            public void run(IProgressMonitor progressMonitor) {
                                progressMonitor.beginTask(getI18nManager().getString(getNamespace(), "importprogress", "label", getLanguage()), IProgressMonitor.UNKNOWN);
                                ICallerList importedCallers = (ICallerList) getRuntime().getCallerFactory().createCallerList();
                                if (imp.getMode() == IImExporter.CALLER_MODE) {
                                    ImportThread ti = new ImportThread((ICallerImporter) imp, (category.getValue().length() == 0 ? null : category));
                                    Thread t = new Thread(ti);
                                    t.start();
                                    while (t.isAlive()) {
                                        if (imp instanceof ITracker) {
                                            String text = getI18nManager().getString(getNamespace(), "importprogress2", "label", getLanguage());
                                            text = StringUtils.replaceString(text, "{%1}", Integer.toString(((ITracker) imp).getCurrent()));
                                            text = StringUtils.replaceString(text, "{%2}", Integer.toString(((ITracker) imp).getTotal()));
                                            progressMonitor.beginTask(text, IProgressMonitor.UNKNOWN);
                                        }
                                        try {
                                            Thread.sleep(500);
                                        } catch (InterruptedException e) {
                                        }
                                    }
                                    if (ti != null) {
                                        importedCallers = ti.getResult();
                                        m_app.getController().addElements(importedCallers);
                                    }
                                }
                                if (importedCallers.size() > 0) {
                                    progressMonitor.done();
                                    String msg = getI18nManager().getString(getNamespace(), "success", "description", getLanguage());
                                    msg = StringUtils.replaceString(msg, "{%1}", Integer.toString(importedCallers.size()));
                                    msg = StringUtils.replaceString(msg, "{%2}", f);
                                    PropagationFactory.getInstance().fire(new Message(Message.INFO, getI18nManager().getString(Editor.NAMESPACE, "title", "label", getLanguage()), new Exception(msg)), "Tray");
                                    new SWTExecuter() {

                                        protected void execute() {
                                            m_app.updateViews(true);
                                        }
                                    }.start();
                                } else {
                                    progressMonitor.done();
                                    PropagationFactory.getInstance().fire(new Message(Message.ERROR, getI18nManager().getString(Editor.NAMESPACE, "title", "label", getLanguage()), new Exception(getI18nManager().getString(getNamespace(), "error", "description", getLanguage()))), "Tray");
                                    new SWTExecuter() {

                                        protected void execute() {
                                            MessageDialog.openError(DisplayManager.getDefaultDisplay().getActiveShell(), getI18nManager().getString(getNamespace(), "error", "label", getLanguage()), getI18nManager().getString(getNamespace(), "error", "description", getLanguage()));
                                            m_logger.warning("Import of data failed.");
                                        }
                                    }.start();
                                }
                            }
                        };
                        pmd.setBlockOnOpen(false);
                        pmd.run(true, false, r);
                    } catch (InterruptedException e) {
                        this.m_logger.log(Level.SEVERE, e.getMessage(), e);
                    } catch (InvocationTargetException e) {
                        this.m_logger.log(Level.SEVERE, e.getMessage(), e);
                    }
                }
            }
        } else {
            // do cpnumber.dat migration
            int style = SWT.APPLICATION_MODAL | SWT.YES | SWT.NO;
            MessageBox messageBox = new MessageBox(new Shell(DisplayManager.getDefaultDisplay()), style);
            messageBox.setMessage(this.getI18nManager().getString(this.getNamespace(), "migrationconfirm", "label", this.getLanguage()));
            if (messageBox.open() == SWT.YES) {
                IImExporter imp = ImExportFactory.getInstance().getImporter("OldDatFileCallerImporter");
                if (imp != null && (imp instanceof OldDatFileCallerImporter)) {
                    ((OldDatFileCallerImporter) imp).setFilename(filename);
                    ICallerList importedCallers = ((OldDatFileCallerImporter) imp).doImport();
                    if (importedCallers != null) {
                        final String f = filename;
                        this.m_app.getController().addElements(importedCallers);
                        String msg = getI18nManager().getString(getNamespace(), "success", "description", getLanguage());
                        msg = StringUtils.replaceString(msg, "{%1}", Integer.toString(importedCallers.size()));
                        msg = StringUtils.replaceString(msg, "{%2}", f);
                        PropagationFactory.getInstance().fire(new Message(Message.INFO, getI18nManager().getString(Editor.NAMESPACE, "title", "label", getLanguage()), new Exception(msg)), "Tray");
                        m_app.updateViews(true);
                    }
                }
            } else {
                return;
            }
        }
    }
}
Also used : Message(de.janrufmonitor.exception.Message) EditorFilterManager(de.janrufmonitor.ui.jface.application.editor.EditorFilterManager) IRunnableWithProgress(org.eclipse.jface.operation.IRunnableWithProgress) Shell(org.eclipse.swt.widgets.Shell) IImExporter(de.janrufmonitor.repository.imexport.IImExporter) Iterator(java.util.Iterator) IAttributeMap(de.janrufmonitor.framework.IAttributeMap) ICallerList(de.janrufmonitor.framework.ICallerList) List(java.util.List) SWTExecuter(de.janrufmonitor.ui.swt.SWTExecuter) ITracker(de.janrufmonitor.repository.imexport.ITracker) ProgressMonitorDialog(org.eclipse.jface.dialogs.ProgressMonitorDialog) InvocationTargetException(java.lang.reflect.InvocationTargetException) InvocationTargetException(java.lang.reflect.InvocationTargetException) MessageBox(org.eclipse.swt.widgets.MessageBox) IProgressMonitor(org.eclipse.core.runtime.IProgressMonitor) ICallerList(de.janrufmonitor.framework.ICallerList) IFilter(de.janrufmonitor.repository.filter.IFilter) IAttribute(de.janrufmonitor.framework.IAttribute) AttributeFilter(de.janrufmonitor.repository.filter.AttributeFilter) OldDatFileCallerImporter(de.janrufmonitor.repository.imexporter.OldDatFileCallerImporter)

Example 82 with IAttribute

use of de.janrufmonitor.framework.IAttribute in project janrufmonitor by tbrandt77.

the class EditorController method updateElement.

public synchronized void updateElement(Object element) {
    if (element != null && element instanceof ICallerList) {
        ICallerManager mgr = this._getRepository();
        if (mgr != null) {
            if (mgr.isSupported(IWriteCallerRepository.class)) {
                for (int i = 0, j = ((ICallerList) element).size(); i < j; i++) {
                    ((IWriteCallerRepository) mgr).updateCaller(((ICallerList) element).get(i));
                }
            }
        }
    }
    if (element != null && element instanceof ICaller) {
        List managers = this.getActiveCallerManagers();
        ICallerManager mgr = null;
        IAttribute att = ((ICaller) element).getAttribute(IJAMConst.ATTRIBUTE_NAME_CALLERMANAGER);
        for (int i = 0; i < managers.size(); i++) {
            mgr = this.getRuntime().getCallerManagerFactory().getCallerManager((String) managers.get(i));
            if (mgr != null) {
                if (mgr.isSupported(IWriteCallerRepository.class)) {
                    if (att == null || att.getValue().equalsIgnoreCase(mgr.getManagerID()))
                        ((IWriteCallerRepository) mgr).updateCaller((ICaller) element);
                }
            }
        }
    }
}
Also used : ICaller(de.janrufmonitor.framework.ICaller) ICallerList(de.janrufmonitor.framework.ICallerList) IWriteCallerRepository(de.janrufmonitor.repository.types.IWriteCallerRepository) IAttribute(de.janrufmonitor.framework.IAttribute) ArrayList(java.util.ArrayList) List(java.util.List) ICallerList(de.janrufmonitor.framework.ICallerList) ICallerManager(de.janrufmonitor.repository.ICallerManager)

Example 83 with IAttribute

use of de.janrufmonitor.framework.IAttribute in project janrufmonitor by tbrandt77.

the class NumberType method renderAsText.

public String renderAsText() {
    if (this.m_o != null) {
        if (this.m_o instanceof ICall) {
            this.m_o = ((ICall) this.m_o).getCaller();
        }
        if (this.m_o instanceof ICaller) {
            this.m_o = new TreeItemCallerData(((ICaller) this.m_o).getAttributes(), ((ICaller) this.m_o).getPhoneNumber());
        }
        if (this.m_o instanceof ITreeItemCallerData) {
            IAttributeMap m = ((ITreeItemCallerData) m_o).getAttributes();
            IPhonenumber pn = ((ITreeItemCallerData) m_o).getPhone();
            if (m.contains(IJAMConst.ATTRIBUTE_NAME_NUMBER_TYPE + pn.getTelephoneNumber())) {
                IAttribute type = m.get(IJAMConst.ATTRIBUTE_NAME_NUMBER_TYPE + pn.getTelephoneNumber());
                if (type != null) {
                    return PIMRuntime.getInstance().getI18nManagerFactory().getI18nManager().getString(NAMESPACE, type.getValue(), "label", getLanguage());
                }
            }
        }
    }
    return "";
}
Also used : ICaller(de.janrufmonitor.framework.ICaller) ICall(de.janrufmonitor.framework.ICall) IAttribute(de.janrufmonitor.framework.IAttribute) IAttributeMap(de.janrufmonitor.framework.IAttributeMap) ITreeItemCallerData(de.janrufmonitor.ui.jface.application.ITreeItemCallerData) ITreeItemCallerData(de.janrufmonitor.ui.jface.application.ITreeItemCallerData) IPhonenumber(de.janrufmonitor.framework.IPhonenumber)

Example 84 with IAttribute

use of de.janrufmonitor.framework.IAttribute in project janrufmonitor by tbrandt77.

the class MacAddressBookProxy method addressBookChanged.

@SuppressWarnings("unchecked")
public void addressBookChanged(AddressBookNotification notification) {
    this.m_logger.info("Mac Address Book update for UID " + notification.getUpdatedRecords());
    Set updates = notification.getUpdatedRecords();
    Iterator i = updates.iterator();
    while (i.hasNext()) {
        String uid = (String) i.next();
        List uids = new ArrayList();
        uids.add(uid);
        List contacts = getRecordsByUIDs(uids);
        if (contacts.size() > 0) {
            final ICallerList callers = getRuntime().getCallerFactory().createCallerList();
            for (Object contact : contacts) {
                if (contact instanceof Map<?, ?>) {
                    ICaller privateCaller = MacAddressBookMappingManager.getInstance().mapToJamCaller((Map<?, ?>) contact, new PrivateMacAddressBookMapping());
                    ICaller businessCaller = MacAddressBookMappingManager.getInstance().mapToJamCaller((Map<?, ?>) contact, new BusinessMacAddressBookMapping());
                    if (privateCaller == null && businessCaller != null) {
                        callers.add(businessCaller);
                    }
                    if (privateCaller != null && businessCaller == null) {
                        callers.add(privateCaller);
                    }
                    if (privateCaller != null && businessCaller != null) {
                        if (((IMultiPhoneCaller) businessCaller).getPhonenumbers().size() == 1) {
                            // only one entry available
                            IPhonenumber pn = (IPhonenumber) ((IMultiPhoneCaller) businessCaller).getPhonenumbers().get(0);
                            IAttribute numbertype = businessCaller.getAttribute(IMacAddressBookNumberMapping.MAPPING_ATTTRIBUTE_ID + pn.getTelephoneNumber());
                            if (numbertype != null && numbertype.getValue().equalsIgnoreCase(IMacAddressBookConst.MOBILE)) {
                                this.m_logger.info("Bussiness caller will be dropped. Only mobile number available, but still in private contact: " + businessCaller);
                                businessCaller = null;
                            }
                        }
                        if (((IMultiPhoneCaller) privateCaller).getPhonenumbers().size() == 1 && businessCaller != null) {
                            // only one entry available
                            IPhonenumber pn = (IPhonenumber) ((IMultiPhoneCaller) privateCaller).getPhonenumbers().get(0);
                            IAttribute numbertype = privateCaller.getAttribute(IMacAddressBookNumberMapping.MAPPING_ATTTRIBUTE_ID + pn.getTelephoneNumber());
                            if (numbertype != null && numbertype.getValue().equalsIgnoreCase(IMacAddressBookConst.MOBILE)) {
                                this.m_logger.info("Private caller will be dropped. Only mobile number available, but still in business contact: " + privateCaller);
                                privateCaller = null;
                            }
                        }
                        if (privateCaller != null) {
                            callers.add(privateCaller);
                        }
                        if (businessCaller != null) {
                            callers.add(businessCaller);
                        }
                    }
                }
            }
            if (callers.size() > 0) {
                Thread updateDbhThread = new Thread() {

                    public void run() {
                        updateProxyDatabase(callers);
                    }
                };
                updateDbhThread.setName("JAM-MacAddressBookSync-Thread-(deamon)");
                updateDbhThread.start();
            }
        }
    }
}
Also used : Set(java.util.Set) PrivateMacAddressBookMapping(de.janrufmonitor.repository.mapping.PrivateMacAddressBookMapping) ArrayList(java.util.ArrayList) ICaller(de.janrufmonitor.framework.ICaller) ICallerList(de.janrufmonitor.framework.ICallerList) Iterator(java.util.Iterator) IAttribute(de.janrufmonitor.framework.IAttribute) ArrayList(java.util.ArrayList) ICallerList(de.janrufmonitor.framework.ICallerList) List(java.util.List) IMultiPhoneCaller(de.janrufmonitor.framework.IMultiPhoneCaller) BusinessMacAddressBookMapping(de.janrufmonitor.repository.mapping.BusinessMacAddressBookMapping) HashMap(java.util.HashMap) Map(java.util.Map) IPhonenumber(de.janrufmonitor.framework.IPhonenumber)

Example 85 with IAttribute

use of de.janrufmonitor.framework.IAttribute in project janrufmonitor by tbrandt77.

the class MacAddressBookProxy method findContact.

@SuppressWarnings("unchecked")
public synchronized ICaller findContact(IPhonenumber pn) throws MacAddressBookProxyException {
    ICaller c = Identifier.identifyDefault(getRuntime(), pn);
    if (c == null && PhonenumberAnalyzer.getInstance(getRuntime()).isInternal(pn)) {
        IPhonenumber p = getRuntime().getCallerFactory().createInternalPhonenumber(pn.getTelephoneNumber());
        c = getRuntime().getCallerFactory().createCaller(p);
    }
    if (c != null) {
        if (PhonenumberAnalyzer.getInstance(getRuntime()).isInternal(pn)) {
            IPhonenumber p = getRuntime().getCallerFactory().createInternalPhonenumber(pn.getTelephoneNumber());
            c.setPhoneNumber(p);
        }
        pn = c.getPhoneNumber();
        try {
            List uuids = this.m_dbh.select(pn.getIntAreaCode(), pn.getAreaCode(), pn.getCallNumber());
            if (this.m_logger.isLoggable(Level.INFO)) {
                this.m_logger.info("List of found UUIDs: " + uuids);
            }
            if (uuids.size() > 0) {
                String uuid = null;
                for (int k = 0; k < uuids.size(); k++) {
                    uuid = (String) uuids.get(k);
                    List uids = new ArrayList();
                    uids.add(uuid);
                    List contacts = getRecordsByUIDs(uids);
                    if (contacts.size() > 0) {
                        Object contact = contacts.get(0);
                        ICallerList cl = getRuntime().getCallerFactory().createCallerList(2);
                        if (contact instanceof Map<?, ?>) {
                            ICaller businessCaller, privateCaller = null;
                            privateCaller = MacAddressBookMappingManager.getInstance().mapToJamCaller((Map<?, ?>) contact, new PrivateMacAddressBookMapping());
                            businessCaller = MacAddressBookMappingManager.getInstance().mapToJamCaller((Map<?, ?>) contact, new BusinessMacAddressBookMapping());
                            if (privateCaller == null && businessCaller != null) {
                                cl.add(businessCaller);
                            }
                            if (privateCaller != null && businessCaller == null) {
                                cl.add(privateCaller);
                            }
                            if (privateCaller != null && businessCaller != null) {
                                if (((IMultiPhoneCaller) businessCaller).getPhonenumbers().size() == 1) {
                                    // only one entry available
                                    IPhonenumber pn1 = (IPhonenumber) ((IMultiPhoneCaller) businessCaller).getPhonenumbers().get(0);
                                    IAttribute numbertype = businessCaller.getAttribute(IMacAddressBookNumberMapping.MAPPING_ATTTRIBUTE_ID + pn1.getTelephoneNumber());
                                    if (numbertype != null && numbertype.getValue().equalsIgnoreCase(IMacAddressBookConst.MOBILE)) {
                                        this.m_logger.info("Bussiness caller will be dropped. Only mobile number available, but still in private contact: " + businessCaller);
                                        businessCaller = null;
                                    }
                                }
                                if (((IMultiPhoneCaller) privateCaller).getPhonenumbers().size() == 1 && businessCaller != null) {
                                    // only one entry available
                                    IPhonenumber pn1 = (IPhonenumber) ((IMultiPhoneCaller) privateCaller).getPhonenumbers().get(0);
                                    IAttribute numbertype = privateCaller.getAttribute(IMacAddressBookNumberMapping.MAPPING_ATTTRIBUTE_ID + pn1.getTelephoneNumber());
                                    if (numbertype != null && numbertype.getValue().equalsIgnoreCase(IMacAddressBookConst.MOBILE)) {
                                        this.m_logger.info("Private caller will be dropped. Only mobile number available, but still in business contact: " + privateCaller);
                                        privateCaller = null;
                                    }
                                }
                                if (privateCaller != null) {
                                    cl.add(privateCaller);
                                }
                                if (businessCaller != null) {
                                    cl.add(businessCaller);
                                }
                            }
                        }
                        if (cl.size() == 1) {
                            ICaller rc = cl.get(0);
                            rc.setUUID(new UUID().toString());
                            if (rc instanceof IMultiPhoneCaller) {
                                ((IMultiPhoneCaller) rc).getPhonenumbers().clear();
                            }
                            rc.setPhoneNumber(pn);
                            IAttribute att = getRuntime().getCallerFactory().createAttribute(IJAMConst.ATTRIBUTE_NAME_CENTRAL_NUMBER_OF_EXTENSION, pn.getTelephoneNumber());
                            rc.setAttribute(att);
                            if (this.m_logger.isLoggable(Level.INFO)) {
                                this.m_logger.info("Exact caller match: " + rc.toString());
                            }
                            return rc;
                        }
                        if (cl.size() == 2) {
                            ICaller rc = null;
                            for (int x = 0; x < cl.size(); x++) {
                                rc = cl.get(x);
                                if (rc instanceof IMultiPhoneCaller) {
                                    List phones = ((IMultiPhoneCaller) rc).getPhonenumbers();
                                    IPhonenumber p = null;
                                    for (int z = 0; z < phones.size(); z++) {
                                        p = (IPhonenumber) phones.get(z);
                                        if (p.getIntAreaCode().equalsIgnoreCase(pn.getIntAreaCode()) && p.getAreaCode().equalsIgnoreCase(pn.getAreaCode()) && pn.getCallNumber().startsWith(p.getCallNumber())) {
                                            if (this.m_logger.isLoggable(Level.INFO)) {
                                                this.m_logger.info("Caller match (IMultiPhoneCaller): " + rc.toString());
                                            }
                                            rc.setUUID(new UUID().toString());
                                            if (rc instanceof IMultiPhoneCaller) {
                                                ((IMultiPhoneCaller) rc).getPhonenumbers().clear();
                                            }
                                            rc.setPhoneNumber(p);
                                            return rc;
                                        }
                                    }
                                } else {
                                    if (rc.getPhoneNumber().getIntAreaCode().equalsIgnoreCase(pn.getIntAreaCode()) && rc.getPhoneNumber().getAreaCode().equalsIgnoreCase(pn.getAreaCode()) && pn.getCallNumber().startsWith(rc.getPhoneNumber().getCallNumber())) {
                                        if (this.m_logger.isLoggable(Level.INFO)) {
                                            this.m_logger.info("Caller match (ICaller): " + rc.toString());
                                        }
                                        return rc;
                                    }
                                }
                            }
                        }
                    }
                }
            } else {
                Properties config = this.getRuntime().getConfigManagerFactory().getConfigManager().getProperties(NAMESPACE);
                if (config.getProperty("keepextension", "false").equalsIgnoreCase("true")) {
                    // iterate down
                    String callnumber = pn.getCallNumber();
                    if (callnumber.length() > 1) {
                        pn.setCallNumber(callnumber.substring(0, callnumber.length() - 1));
                        ICaller ca = this.findContact(pn);
                        if (ca != null) {
                            pn.setCallNumber(callnumber);
                            if (ca instanceof IMultiPhoneCaller) {
                                ((IMultiPhoneCaller) ca).getPhonenumbers().clear();
                            }
                            ca.setPhoneNumber(pn);
                            // set extension
                            if (ca.getAttributes().contains(IJAMConst.ATTRIBUTE_NAME_CENTRAL_NUMBER_OF_EXTENSION)) {
                                String centralnumber = ca.getAttribute(IJAMConst.ATTRIBUTE_NAME_CENTRAL_NUMBER_OF_EXTENSION).getValue();
                                if (pn.getTelephoneNumber().length() > centralnumber.length()) {
                                    IAttribute att = getRuntime().getCallerFactory().createAttribute(IJAMConst.ATTRIBUTE_NAME_EXTENSION, pn.getTelephoneNumber().substring(centralnumber.length()));
                                    ca.setAttribute(att);
                                }
                            }
                            if (this.m_logger.isLoggable(Level.INFO)) {
                                this.m_logger.info("Caller match by central number: " + ca.toString());
                            }
                            return ca;
                        }
                    }
                }
            }
        } catch (SQLException e) {
            this.m_logger.log(Level.SEVERE, e.toString(), e);
        }
    }
    this.m_logger.info("Caller not identified: " + pn.getTelephoneNumber());
    return null;
}
Also used : PrivateMacAddressBookMapping(de.janrufmonitor.repository.mapping.PrivateMacAddressBookMapping) SQLException(java.sql.SQLException) ArrayList(java.util.ArrayList) Properties(java.util.Properties) ICaller(de.janrufmonitor.framework.ICaller) ICallerList(de.janrufmonitor.framework.ICallerList) IAttribute(de.janrufmonitor.framework.IAttribute) ArrayList(java.util.ArrayList) ICallerList(de.janrufmonitor.framework.ICallerList) List(java.util.List) IMultiPhoneCaller(de.janrufmonitor.framework.IMultiPhoneCaller) BusinessMacAddressBookMapping(de.janrufmonitor.repository.mapping.BusinessMacAddressBookMapping) UUID(de.janrufmonitor.util.uuid.UUID) HashMap(java.util.HashMap) Map(java.util.Map) IPhonenumber(de.janrufmonitor.framework.IPhonenumber)

Aggregations

IAttribute (de.janrufmonitor.framework.IAttribute)111 ICaller (de.janrufmonitor.framework.ICaller)44 IAttributeMap (de.janrufmonitor.framework.IAttributeMap)40 IPhonenumber (de.janrufmonitor.framework.IPhonenumber)39 List (java.util.List)34 ICallerList (de.janrufmonitor.framework.ICallerList)31 ArrayList (java.util.ArrayList)29 Iterator (java.util.Iterator)25 ICall (de.janrufmonitor.framework.ICall)19 IMultiPhoneCaller (de.janrufmonitor.framework.IMultiPhoneCaller)15 SQLException (java.sql.SQLException)15 File (java.io.File)14 AttributeFilter (de.janrufmonitor.repository.filter.AttributeFilter)12 IOException (java.io.IOException)12 Message (de.janrufmonitor.exception.Message)11 ComFailException (com.jacob.com.ComFailException)10 Date (java.util.Date)10 IMsn (de.janrufmonitor.framework.IMsn)9 Dispatch (com.jacob.com.Dispatch)8 UUID (de.janrufmonitor.util.uuid.UUID)8