Package com.gcrm.domain

Examples of com.gcrm.domain.CaseOrigin


                        data1.put(header[5], caseType.getId());
                    } else {
                        data1.put(header[5], "");
                    }
                    data1.put(header[6], CommonUtil.getOptionLabel(caseType));
                    CaseOrigin caseOrigin = caseInstance.getOrigin();
                    if (caseOrigin != null) {
                        data1.put(header[7], caseOrigin.getId());
                    } else {
                        data1.put(header[7], "");
                    }
                    data1.put(header[8], CommonUtil.getOptionLabel(caseOrigin));
                    CaseReason caseReason = caseInstance.getReason();
View Full Code Here


                    }
                    String originID = row.get(getText("case.origin_id.label"));
                    if (CommonUtil.isNullOrEmpty(originID)) {
                        caseInstance.setOrigin(null);
                    } else {
                        CaseOrigin origin = caseOriginService.getEntityById(
                                CaseOrigin.class, Integer.parseInt(originID));
                        caseInstance.setOrigin(origin);
                    }
                    String reasonID = row.get(getText("case.reason_id.label"));
                    if (CommonUtil.isNullOrEmpty(reasonID)) {
View Full Code Here

            }
            CaseType type = caseInstance.getType();
            if (type != null) {
                typeID = type.getId();
            }
            CaseOrigin origin = caseInstance.getOrigin();
            if (origin != null) {
                originID = origin.getId();
            }
            CaseReason reason = caseInstance.getReason();
            if (reason != null) {
                reasonID = reason.getId();
            }
View Full Code Here

        CaseType type = null;
        if (typeID != null) {
            type = caseTypeService.getEntityById(CaseType.class, typeID);
        }
        caseInstance.setType(type);
        CaseOrigin origin = null;
        if (originID != null) {
            origin = caseOriginService
                    .getEntityById(CaseOrigin.class, originID);
        }
        caseInstance.setOrigin(origin);
View Full Code Here

TOP

Related Classes of com.gcrm.domain.CaseOrigin

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.