| 2257 |
varun.gupt |
1 |
package in.shop2020.serving.controllers;
|
|
|
2 |
|
|
|
3 |
public class FblikeTestController extends BaseController {
|
|
|
4 |
|
|
|
5 |
private String id;
|
|
|
6 |
private String entityId;
|
|
|
7 |
private String title;
|
|
|
8 |
private String ogDesc;
|
|
|
9 |
private String desc;
|
|
|
10 |
|
|
|
11 |
public FblikeTestController() {
|
|
|
12 |
super();
|
|
|
13 |
}
|
|
|
14 |
|
|
|
15 |
public String show() {
|
|
|
16 |
System.out.println(id);
|
|
|
17 |
|
|
|
18 |
if (id.equals("1")) {
|
|
|
19 |
this.entityId = "1001665";
|
|
|
20 |
this.title = "Apple iPhone 4 16GB";
|
|
|
21 |
this.ogDesc = "Best Price Apple iPhone 4 16GB . Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews.";
|
|
|
22 |
this.desc = "iPhone 4 comes with a 3.5 inch capacitive touchscreen with multi-touch feature and Retina Display "
|
|
|
23 |
+ "that provides smooth and continuous text & graphic display. "
|
|
|
24 |
+ "The phone has 1GHz ARM Cortex A8 processor, iOS 4, and Safari browser. "
|
|
|
25 |
+ "It has 5MP camera with LED flash, VGA secondary camera for video calling, and features such as geotagging "
|
|
|
26 |
+ "and HD video recording. Other features include A-GPS with digital compass, access to multiple email accounts,"
|
|
|
27 |
+ "11 customizable home screens, multitasking, and 16GB internal memory.";
|
|
|
28 |
}
|
|
|
29 |
else if (id.equals("2")) {
|
|
|
30 |
this.entityId = "1000147";
|
|
|
31 |
this.title = "Nokia N8";
|
|
|
32 |
this.ogDesc = "Best Price Nokia N8 . Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews.";
|
|
|
33 |
this.desc = "Nokia N8 is a Symbian^3 phone with 12MP camera featuring Carl Zeiss optics and xenon flash. "
|
|
|
34 |
+ "The 3.5 inch AMOLED capacitive touchscreen of phone delivers better viewing experience. "
|
|
|
35 |
+ "It has Dolby Digital Plus technology for enhanced audio experience, video editing software, and on demand Web TV. "
|
|
|
36 |
+ "Other features include pentaband 3G connectivity, Wi-Fi b/g/n, Bluetooth 3.0, A-GPS with digital compass, "
|
|
|
37 |
+ "multiple email and IM accounts set-up, social networking widgets, Quickoffice app, and an expandable memory of up to 32GB. ";
|
|
|
38 |
}
|
|
|
39 |
else if (id.equals("3")) {
|
|
|
40 |
this.entityId = "1000119";
|
|
|
41 |
this.title = "HTC Desire A8181";
|
|
|
42 |
this.ogDesc = "Best Price HTC Desire A8181 . Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews.";
|
|
|
43 |
this.desc = "HTC Desire A8181 is an Android phone with 3.7 inch Super LCD screen for brighter display. "
|
|
|
44 |
+ "It has 3G and Wi-Fi connectivity. The phone comes with 5MP camera, LED flash, video recording, and geotagging app. "
|
|
|
45 |
+ "Other features include 1GHz Snapdragon processor, AGPS with digital compass, MS Office support, "
|
|
|
46 |
+ "PDF file viewer, social networking apps, and 32GB expandable memory.";
|
|
|
47 |
}
|
|
|
48 |
else if (id.equals("4")) {
|
|
|
49 |
this.entityId = "1001217";
|
|
|
50 |
this.title = "Sony Ericsson Xperia Arc LT15i";
|
|
|
51 |
this.ogDesc = "Best Price Sony Ericsson Xperia Arc LT15i . Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews.";
|
|
|
52 |
this.desc = "Sony Ericsson Xperia Arc LT15i is a sleek touchscreen phone with Android Gingerbread OS. "
|
|
|
53 |
+ "It has a 4.2\" TFT LCD screen with LED backlighting and capacitive touch. "
|
|
|
54 |
+ "The phone has 8.1MP camera with LED flash, Sony Mobile Bravia Engine for enhanced video viewing experience, "
|
|
|
55 |
+ "and HDMI connectivity support. It has 3G, Wi-Fi b/g/n, and Bluetooth connectivity. "
|
|
|
56 |
+ "Other features include 1GHz processor, GPS/A-GPS, direct access to social networking sites, 3D games, and 32GB expandable memory.";
|
|
|
57 |
}
|
|
|
58 |
else if (id.equals("5")) {
|
|
|
59 |
this.entityId = "1001674";
|
|
|
60 |
this.title = "Samsung Galaxy S II I9100";
|
|
|
61 |
this.ogDesc = "Best Price Samsung Galaxy S II I9100 . Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews.";
|
|
|
62 |
this.desc = "Samsung Galaxy S II I9100 is an Android Gingerbread phone with 4.27 inch Super AMOLED Plus display. "
|
|
|
63 |
+ "It has 3G, Wi-Fi b/g/n connectivity and 1.2 GHz dual core processor. "
|
|
|
64 |
+ "The phone has 8MP primary camera with LED flash and 2MP secondary camera for video calling. "
|
|
|
65 |
+ "Other features include TouchWiz UI 4.0, Adobe Flash 10.1 support, Social Hub, "
|
|
|
66 |
+ "IM & email app, document viewer, and 32GB expandable memory" ;
|
|
|
67 |
}
|
|
|
68 |
return "show";
|
|
|
69 |
}
|
|
|
70 |
|
|
|
71 |
public void setId(String id) {
|
|
|
72 |
this.id = id;
|
|
|
73 |
}
|
|
|
74 |
|
|
|
75 |
public String getId() {
|
|
|
76 |
return this.id;
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
public String getEntityId() {
|
|
|
80 |
return this.entityId;
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
public String getTitle() {
|
|
|
84 |
return this.title;
|
|
|
85 |
}
|
|
|
86 |
|
|
|
87 |
public String getOgDesc() {
|
|
|
88 |
return this.ogDesc;
|
|
|
89 |
}
|
|
|
90 |
|
|
|
91 |
public String getDesc() {
|
|
|
92 |
return this.desc;
|
|
|
93 |
}
|
|
|
94 |
}
|