Subversion Repositories SmartDukaan

Rev

Rev 3546 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3546 Rev 4241
Line 42... Line 42...
42
 
42
 
43
    // fields for unregistered users
43
    // fields for unregistered users
44
    private String         customerEmailId;
44
    private String         customerEmailId;
45
    private String         customerName;
45
    private String         customerName;
46
    private String         customerMobileNumber;
46
    private String         customerMobileNumber;
-
 
47
    private String         attachments;
47
 
48
 
48
    /**
49
    /**
49
     * Converts a thrift activity object to our domain object for activity
50
     * Converts a thrift activity object to our domain object for activity
50
     * 
51
     * 
51
     * @param tactivity
52
     * @param tactivity
Line 96... Line 97...
96
 
97
 
97
        if (tactivity.isSetTicketAssigneeId()) {
98
        if (tactivity.isSetTicketAssigneeId()) {
98
            activity.ticketAssigneeId = tactivity.getTicketAssigneeId();
99
            activity.ticketAssigneeId = tactivity.getTicketAssigneeId();
99
        }
100
        }
100
 
101
 
-
 
102
        if (tactivity.isSetAttachments()) {
-
 
103
            activity.attachments = tactivity.getAttachments();
-
 
104
        }
-
 
105
 
101
        return activity;
106
        return activity;
102
    }
107
    }
103
 
108
 
104
    /**
109
    /**
105
     * Converts our domain object to its corresponding thrift model object.
110
     * Converts our domain object to its corresponding thrift model object.
Line 145... Line 150...
145
 
150
 
146
        if (customerEmailId != null) {
151
        if (customerEmailId != null) {
147
            tactivity.setCustomerEmailId(customerEmailId);
152
            tactivity.setCustomerEmailId(customerEmailId);
148
        }
153
        }
149
 
154
 
-
 
155
        if (attachments != null) {
-
 
156
            tactivity.setAttachments(attachments);
-
 
157
        }
-
 
158
 
150
        return tactivity;
159
        return tactivity;
151
    }
160
    }
152
 
161
 
153
    public long getId() {
162
    public long getId() {
154
        return id;
163
        return id;
Line 283... Line 292...
283
    }
292
    }
284
 
293
 
285
    public void setCustomerName(String customerName) {
294
    public void setCustomerName(String customerName) {
286
        this.customerName = customerName;
295
        this.customerName = customerName;
287
    }
296
    }
-
 
297
 
-
 
298
    public String getAttachments() {
-
 
299
        return attachments;
-
 
300
    }
-
 
301
 
-
 
302
    public void setAttachments(String attachments) {
-
 
303
        this.attachments = attachments;
-
 
304
    }
-
 
305
 
288
}
306
}