protected function _afterSave(\Magento\Framework\Model\AbstractModel $object)
    {
        parent::_afterSave($object);

        $this->saveStoreRelation($object);
        $this->saveTermsRelation($object);

        return $this;
    }
protected function _afterSave(\Magento\Framework\Model\AbstractModel $object)
    {
        parent::_afterSave($object);

        $this->saveStoreRelation($object);
        $this->saveTermsRelation($object);

        return $this;
    }
protected function _afterSave ( \ Magento \ Framework \ Model \ AbstractModel $ object ) { parent :: _afterSave ( $ object ) ; $ this -> saveStoreRelation ( $ object ) ; $ this -> saveTermsRelation ( $ object ) ; return $ this ; }
Saves thesaurus linking to terms and stores after save

@SuppressWarnings(PHPMD.CamelCaseMethodName)

@param \Magento\Framework\Model\AbstractModel $object Thesaurus to save

@return $this
Saves thesaurus linking to terms and stores after save