Package com.gcrm.domain

Examples of com.gcrm.domain.CallStatus


    public String get() throws Exception {
        if (this.getId() != null) {
            UserUtil.permissionCheck("view_call");
            call = baseService.getEntityById(Call.class, this.getId());
            UserUtil.scopeCheck(call, "scope_call");
            CallStatus status = call.getStatus();
            if (status != null) {
                statusID = status.getId();
            }
            CallDirection direction = call.getDirection();
            if (direction != null) {
                directionID = direction.getId();
            }
View Full Code Here


        if (directionID != null) {
            direction = callDirectionService.getEntityById(CallDirection.class,
                    directionID);
        }
        call.setDirection(direction);
        CallStatus status = null;
        if (statusID != null) {
            status = callStatusService
                    .getEntityById(CallStatus.class, statusID);
        }
        call.setStatus(status);
View Full Code Here

            Call instance = calls.next();
            int id = instance.getId();
            CallDirection direction = instance.getDirection();
            directionName = CommonUtil.getOptionLabel(direction);
            String subject = CommonUtil.fromNullToEmpty(instance.getSubject());
            CallStatus status = instance.getStatus();
            statusName = CommonUtil.getOptionLabel(status);
            SimpleDateFormat dateFormat = new SimpleDateFormat(
                    Constant.DATE_TIME_FORMAT);
            Date startDate = instance.getStart_date();
            String startDateString = "";
View Full Code Here

                    } else {
                        data1.put(header[2], "");
                    }
                    data1.put(header[3],
                            CommonUtil.getOptionLabel(callDirection));
                    CallStatus callStatus = call.getStatus();
                    if (call.getStatus() != null) {
                        data1.put(header[4], callStatus.getId());
                    } else {
                        data1.put(header[4], "");
                    }
                    data1.put(header[5], CommonUtil.getOptionLabel(callStatus));
                    SimpleDateFormat dateFormat = new SimpleDateFormat(
View Full Code Here

                    String statusID = row
                            .get(getText("entity.status_id.label"));
                    if (CommonUtil.isNullOrEmpty(statusID)) {
                        call.setStatus(null);
                    } else {
                        CallStatus status = callStatusService.getEntityById(
                                CallStatus.class, Integer.parseInt(statusID));
                        call.setStatus(status);
                    }
                    SimpleDateFormat dateFormat = new SimpleDateFormat(
                            Constant.DATE_TIME_FORMAT);
View Full Code Here

TOP

Related Classes of com.gcrm.domain.CallStatus

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.