Subversion Repositories SmartDukaan

Rev

Rev 6057 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6050 anupam.sin 1
package in.shop2020.serving.controllers;
2
 
3
import java.util.HashMap;
4
import java.util.List;
5
import java.util.Map;
6
 
7
import org.apache.log4j.Logger;
8
import org.apache.thrift.TException;
9
import org.apache.thrift.transport.TTransportException;
10
 
11
import in.shop2020.thrift.clients.HelperClient;
12
import in.shop2020.utils.HelperServiceException;
13
import in.shop2020.utils.QuickLink;
14
 
15
public class RechargeController extends BaseController {
16
 
17
    /**
18
     * 
19
     */
20
    private String serviceType = "";
21
    private String form = "";
22
 
23
    private static final long serialVersionUID = 2079308723099307749L;
24
 
25
    private static Logger log = Logger.getLogger(Class.class);
26
 
27
    public String index() {
28
        return "index";
29
    }
30
 
31
    public String create() {
32
        if(form.equals("serviceSelect")) {
33
            return index();
34
        }
35
        return "hello";
36
    }
37
 
38
    public void setServiceType(String serviceType) {
39
        this.serviceType = serviceType;
40
    }
41
 
42
    public String getServiceType() {
43
        return serviceType;
44
    }
45
 
46
    public String getForm() {
47
        return form;
48
    }
49
 
50
    public void setForm(String form) {
51
        this.form = form;
52
    }
53
}