diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-11 15:16:26 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-11 15:16:26 +0200 |
commit | f6c3c144e60611d2da7ba7aa5b115affe92a57a4 (patch) | |
tree | 4e4b01382d7c2893d4d1d14489506e3b0066fce9 /common/storage/entitystore.h | |
parent | adb11fd81404b9ab3b01975ed93babe12a22dee4 (diff) | |
download | sink-f6c3c144e60611d2da7ba7aa5b115affe92a57a4.tar.gz sink-f6c3c144e60611d2da7ba7aa5b115affe92a57a4.zip |
Move the preprocssing back out of entitystore into the pipeline.
This is where this really belongs, only the indexing is part of storage.
This is necessary so preprocessors can move entities as well.
Diffstat (limited to 'common/storage/entitystore.h')
-rw-r--r-- | common/storage/entitystore.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/storage/entitystore.h b/common/storage/entitystore.h index 46410cd..ddb4ef9 100644 --- a/common/storage/entitystore.h +++ b/common/storage/entitystore.h | |||
@@ -44,9 +44,11 @@ public: | |||
44 | 44 | ||
45 | //Only the pipeline may call the following functions outside of tests | 45 | //Only the pipeline may call the following functions outside of tests |
46 | bool add(const QByteArray &type, const ApplicationDomain::ApplicationDomainType &, bool replayToSource, const PreprocessCreation &); | 46 | bool add(const QByteArray &type, const ApplicationDomain::ApplicationDomainType &, bool replayToSource, const PreprocessCreation &); |
47 | bool modify(const QByteArray &type, const ApplicationDomain::ApplicationDomainType &, const QByteArrayList &deletions, bool replayToSource, const PreprocessModification &); | 47 | bool modify(const QByteArray &type, const ApplicationDomain::ApplicationDomainType &diff, const QByteArrayList &deletions, bool replayToSource); |
48 | bool modify(const QByteArray &type, const ApplicationDomain::ApplicationDomainType ¤t, ApplicationDomain::ApplicationDomainType newEntity, bool replayToSource); | ||
48 | bool remove(const QByteArray &type, const QByteArray &uid, bool replayToSource, const PreprocessRemoval &); | 49 | bool remove(const QByteArray &type, const QByteArray &uid, bool replayToSource, const PreprocessRemoval &); |
49 | bool cleanupRevisions(qint64 revision); | 50 | bool cleanupRevisions(qint64 revision); |
51 | ApplicationDomain::ApplicationDomainType applyDiff(const QByteArray &type, const ApplicationDomain::ApplicationDomainType ¤t, const ApplicationDomain::ApplicationDomainType &diff, const QByteArrayList &deletions) const; | ||
50 | 52 | ||
51 | void startTransaction(Sink::Storage::DataStore::AccessMode); | 53 | void startTransaction(Sink::Storage::DataStore::AccessMode); |
52 | void commitTransaction(); | 54 | void commitTransaction(); |