diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-19 15:28:42 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-21 09:18:49 +0200 |
commit | ba7c8b890c45d735216888204ec88882ef58c918 (patch) | |
tree | cb00c9b51e5353ba3726216679c81c0e2fe9ac35 /common/domain/mail.cpp | |
parent | da1c86b80f230c3a2023f97c0048020a12e38de4 (diff) | |
download | sink-ba7c8b890c45d735216888204ec88882ef58c918.tar.gz sink-ba7c8b890c45d735216888204ec88882ef58c918.zip |
Ported the pipeline to the entitystore
Diffstat (limited to 'common/domain/mail.cpp')
-rw-r--r-- | common/domain/mail.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/domain/mail.cpp b/common/domain/mail.cpp index b0a3aae..9d58767 100644 --- a/common/domain/mail.cpp +++ b/common/domain/mail.cpp | |||
@@ -170,19 +170,6 @@ static void updateThreadingIndex(const QByteArray &identifier, const BufferAdapt | |||
170 | } | 170 | } |
171 | } | 171 | } |
172 | 172 | ||
173 | void TypeImplementation<Mail>::index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction) | ||
174 | { | ||
175 | SinkTrace() << "Indexing " << identifier; | ||
176 | getIndex().add(identifier, bufferAdaptor, transaction); | ||
177 | updateThreadingIndex(identifier, bufferAdaptor, transaction); | ||
178 | } | ||
179 | |||
180 | void TypeImplementation<Mail>::removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::DataStore::Transaction &transaction) | ||
181 | { | ||
182 | getIndex().remove(identifier, bufferAdaptor, transaction); | ||
183 | //TODO cleanup threading index | ||
184 | } | ||
185 | |||
186 | QSharedPointer<ReadPropertyMapper<TypeImplementation<Mail>::Buffer> > TypeImplementation<Mail>::initializeReadPropertyMapper() | 173 | QSharedPointer<ReadPropertyMapper<TypeImplementation<Mail>::Buffer> > TypeImplementation<Mail>::initializeReadPropertyMapper() |
187 | { | 174 | { |
188 | auto propertyMapper = QSharedPointer<ReadPropertyMapper<Buffer> >::create(); | 175 | auto propertyMapper = QSharedPointer<ReadPropertyMapper<Buffer> >::create(); |