Examples of Capital


Examples of com.gcrm.domain.Capital

                        data1.put(header[5], account.getCurrency().getName());
                    } else {
                        data1.put(header[4], "");
                        data1.put(header[5], "");
                    }
                    Capital capital = account.getCapital();
                    if (capital != null) {
                        data1.put(header[6], capital.getId());
                    } else {
                        data1.put(header[6], "");
                    }
                    data1.put(header[7], CommonUtil.getOptionLabel(capital));
                    AnnualRevenue annualRevenue = account.getAnnual_revenue();
View Full Code Here

Examples of com.gcrm.domain.Capital

                    String capitalID = row
                            .get(getText("entity.capital_id.label"));
                    if (CommonUtil.isNullOrEmpty(capitalID)) {
                        account.setCapital(null);
                    } else {
                        Capital capital = capitalService.getEntityById(
                                Capital.class, Integer.parseInt(capitalID));
                        account.setCapital(capital);
                    }
                    String annualRevenueID = row
                            .get(getText("entity.annual_revenue_id.label"));
View Full Code Here

Examples of com.gcrm.domain.Capital

            currency = currencyService
                    .getEntityById(Currency.class, currencyID);
        }
        account.setCurrency(currency);

        Capital capital = null;
        if (capitalID != null) {
            capital = capitalService.getOptionById(Capital.class, capitalID);
        }
        account.setCapital(capital);
View Full Code Here

Examples of com.gcrm.domain.Capital

            }
            AnnualRevenue annualRevenue = account.getAnnual_revenue();
            if (annualRevenue != null) {
                annualRevenueID = annualRevenue.getId();
            }
            Capital capital = account.getCapital();
            if (capital != null) {
                capitalID = capital.getId();
            }
            CompanySize companySize = account.getCompany_size();
            if (companySize != null) {
                companySizeID = companySize.getId();
            }
View Full Code Here

Examples of org.richfaces.demo.capitals.Capital

  private String filterZone = "5";
  private String filterValue="";
  private ArrayList<SelectItem> filterZones = new ArrayList<SelectItem>();

  public boolean filterStates(Object current) {
    Capital currentCapital = (Capital)current;
    if (filterValue.length()==0) {
      return true;
    }
    if (currentCapital.getState().toLowerCase().startsWith(filterValue.toLowerCase())) {
      return true;
    }else {
      return false;
    }
  }
View Full Code Here

Examples of org.richfaces.demo.tables.model.capitals.Capital

                result.add(capitals.get(i).getState());
            }
        } else {
            Iterator<Capital> iterator = capitals.iterator();
            while (iterator.hasNext()) {
                Capital elem = ((Capital) iterator.next());
                if ((elem.getState() != null && elem.getState().toLowerCase().indexOf(prefix.toLowerCase()) == 0)
                    || "".equals(prefix)) {
                    result.add(elem.getState());
                }
            }
        }

        return result;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.