summaryrefslogtreecommitdiffstats
path: root/common/store.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-27 16:00:50 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-27 16:00:50 -0600
commit5275b0f173579162176e2340cbb9eaedafe8334a (patch)
treebc0d47d4609c39950a44f0346f6231500b9bc1b0 /common/store.h
parent4333b8fe03d50ae9cfd5dfb5c656cc48302dc072 (diff)
downloadsink-5275b0f173579162176e2340cbb9eaedafe8334a.tar.gz
sink-5275b0f173579162176e2340cbb9eaedafe8334a.zip
Adjusted docs and test.
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);