/**
  * Página de resultado da pesquisa
  *
  * @return void
  */
 public function listGeneratedAction()
 {
     $this->_fnConfigList = "_getConfigListGenerated";
     $this->_fnListGrid = "listGridGenerated";
     parent::listAction();
     $this->view->params = $this->_getAllParams();
 }
Example #2
0
 public function listAction()
 {
     $dto = Core_Dto::factoryFromData($this->_getAllParams(), 'search');
     $sqArtefato = $dto->getSqArtefato();
     $this->view->lastVolume = $this->getService()->getLastVolume($sqArtefato);
     $this->view->hasTramiteEfetivo = $this->getService('Artefato')->hasTramiteEfetivo($dto);
     $this->view->limitComment = self::T_ARTEFATO_VOLUME_LIMIT_COMMENT_GRID;
     $this->view->hasPermission = $this->getService()->checkPermisionArtefato($sqArtefato);
     $this->view->notTheOnlyVolume = $this->getService()->checkIfVolumeCanBeDeleted($sqArtefato);
     $this->view->hasDemandaVolumeDeProcesso = $this->getServiceLocator()->getService('Solicitacao')->hasDemandaAbertaByAssuntoPessoaResponsavel(\Core_Dto::factoryFromData(array('sqArtefato' => $sqArtefato, 'sqTipoAssuntoSolicitacao' => \Core_Configuration::getSgdoceTipoAssuntoSolicitacaoVolumeDeProcesso()), 'search'));
     parent::listAction();
     $this->getMessaging()->dispatchPackets();
 }
 /**
  * @return void
  */
 public function listAction()
 {
     $params = $this->_getAllParams();
     if (isset($params['dtSolicitacao']) && $params['dtSolicitacao'] != '') {
         $this->getRequest()->setParam('dtInicial', $params['dtSolicitacao']);
         $this->getRequest()->setParam('dtFinal', $params['dtSolicitacao']);
     }
     parent::listAction();
     $this->view->params = $params;
 }