summaryrefslogtreecommitdiffstats
path: root/common/store.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-13 12:42:31 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-13 12:42:31 +0200
commitc12a9a09da59b9e418316dba02e6215cb55e47ee (patch)
tree05498d9a42e399bcca787f40c1fc473fb09e680e /common/store.h
parent55fe06979ceebe67553135b43aa47e70d931304b (diff)
parentebdb89b8bb482bbb5ecd544c3d38bef35fc7d820 (diff)
downloadsink-0.4.0.tar.gz
sink-0.4.0.zip
Merge commit 'ebdb89b8bb482bbb5ecd544c3d38bef35fc7d820'v0.4.0
Diffstat (limited to 'common/store.h')
-rw-r--r--common/store.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/store.h b/common/store.h
index 34e14df..3ad547e 100644
--- a/common/store.h
+++ b/common/store.h
@@ -75,12 +75,15 @@ KAsync::Job<void> SINK_EXPORT create(const DomainType &domainObject);
75 * Modify an entity. 75 * Modify an entity.
76 * 76 *
77 * This includes moving etc. since these are also simple settings on a property. 77 * This includes moving etc. since these are also simple settings on a property.
78 * Note that the modification will be dropped if there is no changedProperty on the domain object.
78 */ 79 */
79template <class DomainType> 80template <class DomainType>
80KAsync::Job<void> SINK_EXPORT modify(const DomainType &domainObject); 81KAsync::Job<void> SINK_EXPORT modify(const DomainType &domainObject);
81 82
82/** 83/**
83 * Modify a set of entities identified by @param query. 84 * Modify a set of entities identified by @param query.
85 *
86 * Note that the modification will be dropped if there is no changedProperty on the domain object.
84 */ 87 */
85template <class DomainType> 88template <class DomainType>
86KAsync::Job<void> SINK_EXPORT modify(const Query &query, const DomainType &domainObject); 89KAsync::Job<void> SINK_EXPORT modify(const Query &query, const DomainType &domainObject);