/** * Moves barcodes * * @param RM_Barcode_Entity $obDestination * @param array $restriction * @return bool **/ public function move(RM_Barcode_Entity $obDestination, $restriction = array()) { if ($obDestination->id() == $this->id()) { return FALSE; } if ($this->stoplist) { if ($this->type() == 'generaltype') { throw new RM_Base_Exception_BadUsage(__METHOD__ . "(): Cannot move generaltype generaltype allocated in the stoplist!"); } } return $this->_mapper->moveBarcodes($this, $obDestination, $restriction); }
public function getDependencyList($entity, $restriction = array()) { return $this->_mapper->getDependencyList($entity, $restriction); }
public function getContentList() { return $this->_mapper->storage('barcode')->getObjectList()->filter('barcode_family_id=?', $this->id()); }
public function getHistory($idState) { return $this->_mapper->getBarcodeHistory($this, $idState); }