use of de.janrufmonitor.repository.types.IWriteCallRepository in project janrufmonitor by tbrandt77.
the class JournalController method deleteElements.
public synchronized void deleteElements(Object list) {
if (list instanceof ICallList) {
ICallManager cm = this._getRepository();
if (cm != null && cm.isActive() && cm.isSupported(IWriteCallRepository.class)) {
((IWriteCallRepository) cm).removeCalls((ICallList) list);
this.m_data = null;
}
}
}
use of de.janrufmonitor.repository.types.IWriteCallRepository in project janrufmonitor by tbrandt77.
the class JournalController method addElements.
public synchronized void addElements(Object list) {
if (list instanceof ICallList) {
ICallManager cm = this._getRepository();
if (cm != null && list != null && cm.isActive() && cm.isSupported(IWriteCallRepository.class)) {
((IWriteCallRepository) cm).setCalls((ICallList) list);
this.m_data = null;
}
}
}
Aggregations