public function getAffectedEntityIds()
    {
        $categoryIds = [];
        while ($bunch = $this->_dataSourceModel->getNextBunch()) {
            foreach ($bunch as $rowNum => $rowData) {
                $this->filterRowData($rowData);
                if (!$this->isRowAllowedToImport($rowData, $rowNum)) {
                    continue;
                }
                if (!isset($this->newCategory[$rowData[self::COL_ROOT]][$rowData[self::COL_CATEGORY]]['entity_id'])) {
                    continue;
                }
                $categoryIds[] = $this->newCategory[$rowData[self::COL_ROOT]][$rowData[self::COL_CATEGORY]]['entity_id'];
            }
        }
        return $categoryIds;
    }
public function getAffectedEntityIds()
    {
        $categoryIds = [];
        while ($bunch = $this->_dataSourceModel->getNextBunch()) {
            foreach ($bunch as $rowNum => $rowData) {
                $this->filterRowData($rowData);
                if (!$this->isRowAllowedToImport($rowData, $rowNum)) {
                    continue;
                }
                if (!isset($this->newCategory[$rowData[self::COL_ROOT]][$rowData[self::COL_CATEGORY]]['entity_id'])) {
                    continue;
                }
                $categoryIds[] = $this->newCategory[$rowData[self::COL_ROOT]][$rowData[self::COL_CATEGORY]]['entity_id'];
            }
        }
        return $categoryIds;
    }
public function getAffectedEntityIds ( ) { $ categoryIds = [ ] ; while ( $ bunch = $ this -> _dataSourceModel -> getNextBunch ( ) ) { foreach ( $ bunch as $ rowNum => $ rowData ) { $ this -> filterRowData ( $ rowData ) ; if ( ! $ this -> isRowAllowedToImport ( $ rowData , $ rowNum ) ) { continue ; } if ( ! isset ( $ this -> newCategory [ $ rowData [ self :: COL_ROOT ] ] [ $ rowData [ self :: COL_CATEGORY ] ] [ 'entity_id' ] ) ) { continue ; } $ categoryIds [ ] = $ this -> newCategory [ $ rowData [ self :: COL_ROOT ] ] [ $ rowData [ self :: COL_CATEGORY ] ] [ 'entity_id' ] ; } } return $ categoryIds ; }
Get array of affected Categories

@return array
Get array of affected Categories