Adding Override Methods to Adapter Bpmn->Workflow Projects

This commit is contained in:
Erik Amaru Ortiz
2014-02-05 14:09:48 -04:00
parent 0063597e08
commit aa399794f3
7 changed files with 168 additions and 21 deletions

View File

@@ -73,9 +73,19 @@ class Workflow extends Handler
$this->deleteProcess($this->proUid);
}
public static function getList($start = null, $limit = null, $filter = "", $changeCaseTo = CASE_UPPER)
{
//return Project::getAll($start, $limit, $filter, $changeCaseTo);
$process = new Process();
$processes = $process->getAllProcesses( $start, $limit, "", "");
//$processes = $process->getAll();
return $processes;
}
public function getUid()
{
if (empty($this->project)) {
if (empty($this->proUid)) {
throw new \RuntimeException("Error: There is not an initialized project.");
}