Package com.gcrm.domain

Examples of com.gcrm.domain.CampaignType


            campaign = baseService.getEntityById(Campaign.class, this.getId());
            CampaignStatus status = campaign.getStatus();
            if (status != null) {
                statusID = status.getId();
            }
            CampaignType type = campaign.getType();
            if (type != null) {
                typeID = type.getId();
            }
            Currency currency = campaign.getCurrency();
            if (currency != null) {
                currencyID = currency.getId();
            }
View Full Code Here


        if (statusID != null) {
            status = campaignStatusService.getEntityById(CampaignStatus.class,
                    statusID);
        }
        campaign.setStatus(status);
        CampaignType type = null;
        if (typeID != null) {
            type = campaignTypeService
                    .getEntityById(CampaignType.class, typeID);
        }
        campaign.setType(type);
View Full Code Here

            Campaign instance = campaigns.next();
            int id = instance.getId();
            String name = CommonUtil.fromNullToEmpty(instance.getName());
            CampaignStatus status = instance.getStatus();
            statusName = CommonUtil.getOptionLabel(status);
            CampaignType type = instance.getType();
            typeName = CommonUtil.getOptionLabel(type);

            SimpleDateFormat dateFormat = new SimpleDateFormat(
                    Constant.DATE_FORMAT);
            String startDateString = "";
View Full Code Here

                    } else {
                        data1.put(header[2], "");
                    }
                    data1.put(header[3],
                            CommonUtil.getOptionLabel(campaignStatus));
                    CampaignType campaignType = campaign.getType();
                    if (campaignType != null) {
                        data1.put(header[4], campaignType.getId());
                    } else {
                        data1.put(header[4], "");
                    }
                    data1.put(header[5],
                            CommonUtil.getOptionLabel(campaignType));
View Full Code Here

                    }
                    String typeID = row.get(getText("entity.type_id.label"));
                    if (CommonUtil.isNullOrEmpty(typeID)) {
                        campaign.setType(null);
                    } else {
                        CampaignType type = campaignTypeService.getEntityById(
                                CampaignType.class, Integer.parseInt(typeID));
                        campaign.setType(type);
                    }
                    SimpleDateFormat dateFormat = new SimpleDateFormat(
                            Constant.DATE_EDIT_FORMAT);
View Full Code Here

TOP

Related Classes of com.gcrm.domain.CampaignType

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.