| 517 |
rajveer |
1 |
package in.shop2020.serving.controllers;
|
|
|
2 |
|
|
|
3 |
import in.shop2020.serving.controllers.BaseController;
|
|
|
4 |
import in.shop2020.serving.pages.PageContentKeys;
|
|
|
5 |
import in.shop2020.serving.services.AramaxTrackingService;
|
|
|
6 |
|
|
|
7 |
import java.util.*;
|
|
|
8 |
|
|
|
9 |
import org.apache.juli.logging.Log;
|
|
|
10 |
import org.apache.juli.logging.LogFactory;
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
public class AramaxUpdatesController extends BaseController{
|
|
|
14 |
|
|
|
15 |
private static final long serialVersionUID = 1L;
|
|
|
16 |
private static Log log = LogFactory.getLog(AramaxUpdatesController.class);
|
|
|
17 |
private String id;
|
|
|
18 |
private List<Map<String, String>> updates;
|
|
|
19 |
|
|
|
20 |
public AramaxUpdatesController(){
|
|
|
21 |
super();
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
public String show() {
|
|
|
26 |
log.info("AramaxUpdatesController.show");
|
|
|
27 |
updates = AramaxTrackingService.getUpdates(id);
|
|
|
28 |
return "show";
|
|
|
29 |
}
|
|
|
30 |
|
|
|
31 |
public String getId(){
|
|
|
32 |
return id;
|
|
|
33 |
}
|
|
|
34 |
|
|
|
35 |
public void setId(String id){
|
|
|
36 |
this.id = id;
|
|
|
37 |
}
|
|
|
38 |
public List<Map<String, String>> getUpdates(){
|
|
|
39 |
return updates;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
}
|