Package com.gcrm.domain

Examples of com.gcrm.domain.LeadSource


            }
            SalesStage slesStage = opportunity.getSales_stage();
            if (slesStage != null) {
                salesStageID = slesStage.getId();
            }
            LeadSource leadSource = opportunity.getLead_source();
            if (leadSource != null) {
                sourceID = leadSource.getId();
            }
            OpportunityType type = opportunity.getType();
            if (type != null) {
                typeID = type.getId();
            }
View Full Code Here


            slesStage = salesStageService.getEntityById(SalesStage.class,
                    salesStageID);
        }
        opportunity.setSales_stage(slesStage);

        LeadSource leadSource = null;
        if (sourceID != null) {
            leadSource = leadSourceService.getEntityById(LeadSource.class,
                    sourceID);
        }
        opportunity.setLead_source(leadSource);
View Full Code Here

                        data1.put(header[10], salesStage.getId());
                    } else {
                        data1.put(header[10], "");
                    }
                    data1.put(header[11], CommonUtil.getOptionLabel(salesStage));
                    LeadSource leadSource = opportunity.getLead_source();
                    if (leadSource != null) {
                        data1.put(header[12], leadSource.getId());
                    } else {
                        data1.put(header[12], "");
                    }
                    data1.put(header[13], CommonUtil.getOptionLabel(leadSource));
                    data1.put(header[14], opportunity.getProbability());
View Full Code Here

                    String leadSourceID = row
                            .get(getText("entity.leadSource_id.label"));
                    if (CommonUtil.isNullOrEmpty(leadSourceID)) {
                        opportunity.setLead_source(null);
                    } else {
                        LeadSource leadSource = leadSourceService
                                .getEntityById(LeadSource.class,
                                        Integer.parseInt(leadSourceID));
                        opportunity.setLead_source(leadSource);
                    }
                    String probability = row
View Full Code Here

            if (report_to != null) {
                reportToID = report_to.getId();
                reportToText = report_to.getName();
            }

            LeadSource leadSource = contact.getLeadSource();
            if (leadSource != null) {
                leadSourceID = leadSource.getId();
            }

            Religious religious = contact.getReligious();
            if (religious != null) {
                religiousID = religious.getId();
View Full Code Here

        if (reportToID != null) {
            reportTo = baseService.getEntityById(Contact.class, reportToID);
        }
        contact.setReport_to(reportTo);

        LeadSource leadSource = null;
        if (leadSourceID != null) {
            leadSource = leadSourceService.getEntityById(LeadSource.class,
                    leadSourceID);
        }
        contact.setLeadSource(leadSource);
View Full Code Here

        ActionContext context = ActionContext.getContext();
        Map<String, Object> session = context.getSession();
        String local = (String) session.get("locale");
        list = new ArrayList<ChartVO>();
        ChartVO chartVO = null;
        LeadSource leadSource = null;
        while (it.hasNext()) {
            Object[] row = (Object[]) it.next();

            leadSource = (LeadSource) row[0];
            String IndustryLabel = "";
            if (leadSource != null) {
                if ("zh_CN".equals(local)) {
                    IndustryLabel = leadSource.getLabel_zh_CN();
                } else {
                    IndustryLabel = leadSource.getLabel_en_US();
                }
            }
            Long number = (Long) row[1];
            chartVO = new ChartVO();
            chartVO.setLabel(IndustryLabel);
View Full Code Here

        ActionContext context = ActionContext.getContext();
        Map<String, Object> session = context.getSession();
        String local = (String) session.get("locale");
        list = new ArrayList<ChartVO>();
        ChartVO chartVO = null;
        LeadSource leadSource = null;
        while (it.hasNext()) {
            Object[] row = (Object[]) it.next();

            leadSource = (LeadSource) row[0];
            String IndustryLabel = "";
            if (leadSource != null) {
                if ("zh_CN".equals(local)) {
                    IndustryLabel = leadSource.getLabel_zh_CN();
                } else {
                    IndustryLabel = leadSource.getLabel_en_US();
                }
            }
            Long number = (Long) row[1];
            chartVO = new ChartVO();
            chartVO.setLabel(IndustryLabel);
View Full Code Here

                    } else {
                        data1.put(header[37], "");
                        data1.put(header[38], "");
                    }
                    data1.put(header[39], contact.isNot_call());
                    LeadSource leadSource = contact.getLeadSource();
                    if (leadSource != null) {
                        data1.put(header[40], leadSource.getId());
                    } else {
                        data1.put(header[40], "");
                    }
                    data1.put(header[41], CommonUtil.getOptionLabel(leadSource));
                    if (contact.getCampaign() != null) {
View Full Code Here

                    String leadSourceID = row
                            .get(getText("entity.leadSource_id.label"));
                    if (CommonUtil.isNullOrEmpty(leadSourceID)) {
                        contact.setLeadSource(null);
                    } else {
                        LeadSource leadSource = leadSourceService
                                .getEntityById(LeadSource.class,
                                        Integer.parseInt(leadSourceID));
                        contact.setLeadSource(leadSource);
                    }
                    String campaignID = row
View Full Code Here

TOP

Related Classes of com.gcrm.domain.LeadSource

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.