Handle modification of external tasks

This commit is contained in:
Frederic Guillot
2016-11-07 21:26:55 -05:00
parent e5c63f4ecc
commit 83f529008a
5 changed files with 97 additions and 9 deletions

View File

@@ -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
@@ -43,6 +53,13 @@ interface ExternalTaskProviderInterface
*/
public function getCreationFormTemplate();
/**
* Get modification form template
*
* @return string
*/
public function getModificationFormTemplate();
/**
* Get task view template name
*