Package it.pdor.commonLayer.hibernate.searchutils

Examples of it.pdor.commonLayer.hibernate.searchutils.PagedSearchResult


//    if (conti.size() == 0)
//      throw new NoDataFoundException();
//    for (Conto conto : conti) {
//      rowConti.add(new RowConto(conto, Boolean.FALSE));
//    }
    PagedSearchResult pagedResult = contabilitaFacade.pagedCercaContoByCriteria(listaCriteriConvertiti, getStartingIndex(), getPageSize());
    setRisultatiSuccessiviPresenti(pagedResult.hasMore());
    List<Object> oggetti = pagedResult.getResult();
    if (oggetti.size() == 0) {
      throw new NoDataFoundException();
    }
    for (Object oggetto : oggetti)
      rowConti.add(new RowConto((Conto) oggetto, Boolean.FALSE));
View Full Code Here


   
    if (soloUnaRigaVuota) {
      throw new NoSearchParameterException();
    }
   
    PagedSearchResult pagedResult = contabilitaFacade.pagedCercaInterfacciaAntiMafiaByCriteria(listaCriteriConvertiti, getStartingIndex(), getPageSize());
    setRisultatiSuccessiviPresenti(pagedResult.hasMore());
   
    List<Object> oggetti = pagedResult.getResult();
    if (oggetti.size() == 0) {
      throw new NoDataFoundException();
    }
   
    List<RowInterfacciaAntiMafia> result = new ArrayList<RowInterfacciaAntiMafia>();
View Full Code Here

    if (soloUnaRigaVuota)
      throw new NoSearchParameterException();

    aggiungiCondizioneObbligatoria(listaCriteriConvertiti);

    PagedSearchResult pagedResult = contabilitaFacade.pagedCercaContoMastroByCriteria(listaCriteriConvertiti, getStartingIndex(), getPageSize());
    setRisultatiSuccessiviPresenti(pagedResult.hasMore());
    List<Object> oggetti = pagedResult.getResult();

    if (oggetti.size() == 0) {
      throw new NoDataFoundException();
    }
   
View Full Code Here

      throw new NoSearchParameterException();
    }
   
    List<RowPartita> listaRowPartita = new ArrayList<RowPartita>();
    try {
      PagedSearchResult pagedResult = contabilitaFacade.pagedCercaPartitaByCriteria(listaCriteriConvertiti,
          getStartingIndex(), getPageSize());
      setRisultatiSuccessiviPresenti(pagedResult.hasMore());
      List<Object> oggetti = pagedResult.getResult();
      if (oggetti.size() == 0) {
        throw new NoDataFoundException();
      }
      for (Object oggetto : oggetti) {
        Partita partita = (Partita) oggetto;
View Full Code Here

    if (soloUnaRigaVuota) {
      throw new NoSearchParameterException();
    }
   
    PagedSearchResult pagedResult = contabilitaFacade.pagedFindFattureByCriteria(listaCriteriConvertiti, getStartingIndex(), getPageSize());
    setRisultatiSuccessiviPresenti(pagedResult.hasMore());
    List<Object> oggetti = pagedResult.getResult();

    if (oggetti.size() == 0) {
      throw new NoDataFoundException();
    }
   
View Full Code Here

    if (soloUnaRigaVuota) {
      throw new NoSearchParameterException();
    }
   
    PagedSearchResult pagedResult = contabilitaFacade.pagedFindMovimentiContabiliByCriteria(listaCriteriConvertiti, getStartingIndex(), getPageSize());
    setRisultatiSuccessiviPresenti(pagedResult.hasMore());
    List<Object> oggetti = pagedResult.getResult();

    if (oggetti.size() == 0) {
      throw new NoDataFoundException();
    }
   
View Full Code Here

    setPageSize(PAGESIZE_EXPORT);
   
    // eseguo la ricerca
    List<SearchCriteriaLogicProduct> listaCriteriConvertiti = gestoreParametriRicerca
        .getListaCriteriConvertiti();
    PagedSearchResult pagedResult = contabilitaFacade.pagedFindMovimentiContabiliByCriteria(listaCriteriConvertiti, 0, getPageSize());
    if (pagedResult.hasMore()) {
      setPageSize(pageSizeOrig);
      getAlertMsgPopup().setMessage(messageBundle.getMessage("AlertMsgImpossibileEsportare"));
      getAlertMsgPopup().openPopup();
      return;
    }
    List<Object> oggetti = pagedResult.getResult();
    resultForExport.clear();
    for (Object oggetto : oggetti) {
      MovimentoContabile movimentoContabile = (MovimentoContabile) oggetto;
      RowMovimentoContabile rowMovimentoContabile = new RowMovimentoContabile(movimentoContabile, Boolean.FALSE);
      resultForExport.add(rowMovimentoContabile);
View Full Code Here

  }

  @Override
  public PagedSearchResult pagedFindMutuiByCriteria(List<SearchCriteriaLogicProduct> andCriteriaList,
      int startingIndex, int pageSize) {
    PagedSearchResult pagedSearchResult = gestionePraticaService.pagedFindMutuiByCriteria(andCriteriaList,
        startingIndex, pageSize);
    for (Object oggetto : pagedSearchResult.getResult()) {
      oggetto = gestionePraticaResultFactory.makeMutuoDatiFinanziariAttuali((Mutuo) oggetto);
    }
    return pagedSearchResult;
  }
View Full Code Here

TOP

Related Classes of it.pdor.commonLayer.hibernate.searchutils.PagedSearchResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.