protected function _fecthPageEricssonProto(\App_ListFilter $filterList, Paging $paging) { $methodName = static::METHOD_NAME_FETCH_PAGE; if (empty($methodName)) { return false; } try { if ($filterList->getCursor() === null || $filterList->getCursor() === false) { return false; } \App::log()->debug("[ListFromCursor] Trying to use a cursor to fetch page."); $proto = $this->_createProto($methodName); $proto->setQueryPaging($paging); $proto->setHandler($filterList->getCursor()); $response = $this->_sendRequest($methodName, array('protoMessage' => $proto)); $this->_checkGetResponse($response); switch ($response->getResult()->getCode()) { case 0: return $response->getRowsList(); default: $filterList->cleanCursor(); \App::log()->debug("[ListFromCursor] Error trying to fetch page from cursor."); return false; } } catch (\Exception $e) { \App::log()->debug("[ListFromCursor] Error trying to fetch page from cursor."); \App::log()->warn($e); return false; } }