diff --git a/library/Businessprocess/BusinessProcess.php b/library/Businessprocess/BusinessProcess.php index 8d4aa1d..cc11954 100644 --- a/library/Businessprocess/BusinessProcess.php +++ b/library/Businessprocess/BusinessProcess.php @@ -109,8 +109,6 @@ class BusinessProcess */ protected $simulation; - protected $locked = true; - protected $changeCount = 0; protected $simulationCount = 0; @@ -249,22 +247,6 @@ class BusinessProcess return false; } - public function isLocked() - { - return $this->locked; - } - - public function lock($lock = true) - { - $this->locked = (bool) $lock; - return $this; - } - - public function unlock() - { - return $this->lock(false); - } - public function hasSimulations() { return $this->countSimulations() > 0; @@ -441,6 +423,9 @@ class BusinessProcess return count($this->root_nodes); } + /** + * @return BpNode[] + */ public function getRootNodes() { ksort($this->root_nodes);