summaryrefslogtreecommitdiffstats
path: root/common/store.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-02 21:32:56 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-02 21:32:56 +0100
commit41006b5cab7b0260f8abc42aa2d2e959a013764e (patch)
treefe8be353228233f45119964cbab4b578b496ac85 /common/store.h
parent222cd83d659c3ff12380ecc5afd3cb29283e9ccd (diff)
downloadsink-41006b5cab7b0260f8abc42aa2d2e959a013764e.tar.gz
sink-41006b5cab7b0260f8abc42aa2d2e959a013764e.zip
interresource move
Diffstat (limited to 'common/store.h')
-rw-r--r--common/store.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/store.h b/common/store.h
index c9bd9cf..7c7d2fe 100644
--- a/common/store.h
+++ b/common/store.h
@@ -82,6 +82,12 @@ template <class DomainType>
82KAsync::Job<void> SINK_EXPORT remove(const DomainType &domainObject); 82KAsync::Job<void> SINK_EXPORT remove(const DomainType &domainObject);
83 83
84/** 84/**
85 * Move an entity to a new resource.
86 */
87template <class DomainType>
88KAsync::Job<void> SINK_EXPORT move(const DomainType &domainObject, const QByteArray &newResource);
89
90/**
85 * Synchronize data to local cache. 91 * Synchronize data to local cache.
86 */ 92 */
87KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); 93KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query);