summaryrefslogtreecommitdiffstats
path: root/common/facadeinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/facadeinterface.h')
-rw-r--r--common/facadeinterface.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/facadeinterface.h b/common/facadeinterface.h
index 7d5dd7d..136791e 100644
--- a/common/facadeinterface.h
+++ b/common/facadeinterface.h
@@ -63,6 +63,13 @@ public:
63 virtual KAsync::Job<void> modify(const DomainType &domainObject) = 0; 63 virtual KAsync::Job<void> modify(const DomainType &domainObject) = 0;
64 64
65 /** 65 /**
66 * Move an entity to a new resource.
67 *
68 * The job returns succefully once the task has been successfully placed in the queue
69 */
70 virtual KAsync::Job<void> move(const DomainType &domainObject, const QByteArray &newResource) = 0;
71
72 /**
66 * Remove an entity from the store. 73 * Remove an entity from the store.
67 * 74 *
68 * The job returns succefully once the task has been successfully placed in the queue 75 * The job returns succefully once the task has been successfully placed in the queue
@@ -90,6 +97,11 @@ public:
90 return KAsync::error<void>(-1, "Failed to create a facade"); 97 return KAsync::error<void>(-1, "Failed to create a facade");
91 } 98 }
92 99
100 KAsync::Job<void> move(const DomainType &domainObject, const QByteArray &newResource)
101 {
102 return KAsync::error<void>(-1, "Failed to create a facade");
103 }
104
93 KAsync::Job<void> remove(const DomainType &domainObject) 105 KAsync::Job<void> remove(const DomainType &domainObject)
94 { 106 {
95 return KAsync::error<void>(-1, "Failed to create a facade"); 107 return KAsync::error<void>(-1, "Failed to create a facade");