Package com.gcrm.domain

Examples of com.gcrm.domain.CallDirection


            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();
            }
            ReminderOption reminderOptionEmail = call
                    .getReminder_option_email();
            if (reminderOptionEmail != null) {
                reminderOptionEmailID = reminderOptionEmail.getId();
View Full Code Here


            call.setUsers(originalCall.getUsers());
            call.setCreated_on(originalCall.getCreated_on());
            call.setCreated_by(originalCall.getCreated_by());
        }

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

        String directionName = null;
        String assignedTo = null;
        while (calls.hasNext()) {
            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(
View Full Code Here

                            Integer.parseInt(id));
                    final HashMap<String, ? super Object> data1 = new HashMap<String, Object>();
                    data1.put(header[0], call.getId());
                    data1.put(header[1],
                            CommonUtil.fromNullToEmpty(call.getSubject()));
                    CallDirection callDirection = call.getDirection();
                    if (callDirection != null) {
                        data1.put(header[2], callDirection.getId());
                    } else {
                        data1.put(header[2], "");
                    }
                    data1.put(header[3],
                            CommonUtil.getOptionLabel(callDirection));
View Full Code Here

                    String directionID = row
                            .get(getText("call.direction_id.label"));
                    if (CommonUtil.isNullOrEmpty(directionID)) {
                        call.setDirection(null);
                    } else {
                        CallDirection callDirection = callDirectionService
                                .getEntityById(CallDirection.class,
                                        Integer.parseInt(directionID));
                        call.setDirection(callDirection);
                    }
                    String statusID = row
View Full Code Here

TOP

Related Classes of com.gcrm.domain.CallDirection

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.