public function indexAction()
 {
     $dumpOrg = new OrgAggregatorModel();
     $this->_helper->allowed('list', $dumpOrg);
     $params = $this->_getPaginatorParams();
     $filters = $this->_getFilterParams();
     $this->_checkFilterParams($filters, AggregatorFilterFields::getWhiteList());
     $filters['type'] = OrgAggregatorModel::ORG_TYPE;
     $filterList = $this->_orgSrv->buildFilterList($filters);
     $filterHelper = $this->_helper->getHelper('filterNotAllowedFilters');
     $filterHelper->setThrowExOnNotAllowed(true);
     $filterHelper->direct('filter_by', $filterList);
     $aggregatorList = $this->_orgSrv->listAll(OrgAggregatorModel::ORG_TYPE, $params);
     $orgs = array();
     if (!$aggregatorList instanceof Application\Model\ListResultModel) {
         throw new AppEx\UnexpectedException('No list returned');
     }
     $items = $aggregatorList->getItems();
     // Pagination
     $items = array_slice($items, $params['startIndex'], $params['maxBatchSize']);
     foreach ($items as $item) {
         $this->_helper->filterNotAllowedFields('read_field', $item);
         $org = $this->_mapToSdp($item->exportData());
         $orgs[] = array('status' => $org['status'], 'name' => $org['name'], 'endCustomerID' => $org['endCustomerID']);
     }
     // Make data available on the view
     $this->view->endCustomerData = $orgs;
 }