public function getStoreIds()
{
if ($this->getStores()) {
$this->setStoreIds($this->getStores());
}
if (empty($this->storeIds)) {
$this->storeIds = $this->getResource()->getStoreIdsFromThesaurusId($this->getThesaurusId());
}
return $this->storeIds;
}