diff options
Diffstat (limited to 'common/store.h')
-rw-r--r-- | common/store.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/common/store.h b/common/store.h index d2ab9b5..f787a3e 100644 --- a/common/store.h +++ b/common/store.h | |||
@@ -76,12 +76,24 @@ template <class DomainType> | |||
76 | KAsync::Job<void> SINK_EXPORT modify(const DomainType &domainObject); | 76 | KAsync::Job<void> SINK_EXPORT modify(const DomainType &domainObject); |
77 | 77 | ||
78 | /** | 78 | /** |
79 | * Modify a set of entities identified by @param query. | ||
80 | */ | ||
81 | template <class DomainType> | ||
82 | KAsync::Job<void> SINK_EXPORT modify(const Query &query, const DomainType &domainObject); | ||
83 | |||
84 | /** | ||
79 | * Remove an entity. | 85 | * Remove an entity. |
80 | */ | 86 | */ |
81 | template <class DomainType> | 87 | template <class DomainType> |
82 | KAsync::Job<void> SINK_EXPORT remove(const DomainType &domainObject); | 88 | KAsync::Job<void> SINK_EXPORT remove(const DomainType &domainObject); |
83 | 89 | ||
84 | /** | 90 | /** |
91 | * Remove a set of entities identified by @param query. | ||
92 | */ | ||
93 | template <class DomainType> | ||
94 | KAsync::Job<void> SINK_EXPORT remove(const Query &query); | ||
95 | |||
96 | /** | ||
85 | * Move an entity to a new resource. | 97 | * Move an entity to a new resource. |
86 | */ | 98 | */ |
87 | template <class DomainType> | 99 | template <class DomainType> |