summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/ExternalTask/ExternalTaskProviderInterface.php23
1 files changed, 20 insertions, 3 deletions
diff --git a/app/Core/ExternalTask/ExternalTaskProviderInterface.php b/app/Core/ExternalTask/ExternalTaskProviderInterface.php
index 7706a773..932912d9 100644
--- a/app/Core/ExternalTask/ExternalTaskProviderInterface.php
+++ b/app/Core/ExternalTask/ExternalTaskProviderInterface.php
@@ -22,12 +22,22 @@ interface ExternalTaskProviderInterface
* Retrieve task from external system or cache
*
* @access public
- * @throws \Kanboard\Core\ExternalTask\AccessForbiddenException
- * @throws \Kanboard\Core\ExternalTask\NotFoundException
+ * @throws \Kanboard\Core\ExternalTask\ExternalTaskException
* @param string $uri
* @return ExternalTaskInterface
*/
- public function retrieve($uri);
+ public function fetch($uri);
+
+ /**
+ * Save external task to another system
+ *
+ * @throws \Kanboard\Core\ExternalTask\ExternalTaskException
+ * @param string $uri
+ * @param array $formValues
+ * @param array $formErrors
+ * @return bool
+ */
+ public function save($uri, array $formValues, array &$formErrors);
/**
* Get task import template name
@@ -44,6 +54,13 @@ interface ExternalTaskProviderInterface
public function getCreationFormTemplate();
/**
+ * Get modification form template
+ *
+ * @return string
+ */
+ public function getModificationFormTemplate();
+
+ /**
* Get task view template name
*
* @return string