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 136791e..5d12360 100644
--- a/common/facadeinterface.h
+++ b/common/facadeinterface.h
@@ -70,6 +70,13 @@ public:
70 virtual KAsync::Job<void> move(const DomainType &domainObject, const QByteArray &newResource) = 0; 70 virtual KAsync::Job<void> move(const DomainType &domainObject, const QByteArray &newResource) = 0;
71 71
72 /** 72 /**
73 * Copy an entity to a new resource.
74 *
75 * The job returns succefully once the task has been successfully placed in the queue
76 */
77 virtual KAsync::Job<void> copy(const DomainType &domainObject, const QByteArray &newResource) = 0;
78
79 /**
73 * Remove an entity from the store. 80 * Remove an entity from the store.
74 * 81 *
75 * The job returns succefully once the task has been successfully placed in the queue 82 * The job returns succefully once the task has been successfully placed in the queue
@@ -102,6 +109,11 @@ public:
102 return KAsync::error<void>(-1, "Failed to create a facade"); 109 return KAsync::error<void>(-1, "Failed to create a facade");
103 } 110 }
104 111
112 KAsync::Job<void> copy(const DomainType &domainObject, const QByteArray &newResource)
113 {
114 return KAsync::error<void>(-1, "Failed to create a facade");
115 }
116
105 KAsync::Job<void> remove(const DomainType &domainObject) 117 KAsync::Job<void> remove(const DomainType &domainObject)
106 { 118 {
107 return KAsync::error<void>(-1, "Failed to create a facade"); 119 return KAsync::error<void>(-1, "Failed to create a facade");