summaryrefslogtreecommitdiffstats
path: root/common/storage/entitystore.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage/entitystore.h')
-rw-r--r--common/storage/entitystore.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/storage/entitystore.h b/common/storage/entitystore.h
index b8e1065..fe75a02 100644
--- a/common/storage/entitystore.h
+++ b/common/storage/entitystore.h
@@ -46,7 +46,6 @@ public:
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 &, const QByteArrayList &deletions, bool replayToSource, const PreprocessModification &);
48 bool remove(const QByteArray &type, const QByteArray &uid, bool replayToSource, const PreprocessRemoval &); 48 bool remove(const QByteArray &type, const QByteArray &uid, bool replayToSource, const PreprocessRemoval &);
49 void cleanupRevision(qint64 revision);
50 bool cleanupRevisions(qint64 revision); 49 bool cleanupRevisions(qint64 revision);
51 50
52 void startTransaction(Sink::Storage::DataStore::AccessMode); 51 void startTransaction(Sink::Storage::DataStore::AccessMode);
@@ -112,6 +111,10 @@ public:
112 Sink::Log::Context logContext() const; 111 Sink::Log::Context logContext() const;
113 112
114private: 113private:
114 /*
115 * Remove any old revisions of the same entity up until @param revision
116 */
117 void cleanupEntityRevisionsUntil(qint64 revision);
115 void copyBlobs(ApplicationDomain::ApplicationDomainType &entity, qint64 newRevision); 118 void copyBlobs(ApplicationDomain::ApplicationDomainType &entity, qint64 newRevision);
116 class Private; 119 class Private;
117 const QSharedPointer<Private> d; 120 const QSharedPointer<Private> d;