Subversion Repositories SmartDukaan

Rev

Rev 2468 | Rev 3298 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2468 Rev 2778
Line 1... Line 1...
1
package in.shop2020.social.controllers;
1
package in.shop2020.social.controllers;
2
 
2
 
-
 
3
import in.shop2020.datalogger.SocialEventType;
-
 
4
import in.shop2020.utils.DataLogger;
-
 
5
 
3
import java.util.Map;
6
import java.util.Map;
4
import javax.servlet.ServletContext;
7
import javax.servlet.ServletContext;
5
import org.apache.struts2.interceptor.ParameterAware;
8
import org.apache.struts2.interceptor.ParameterAware;
6
import org.apache.struts2.util.ServletContextAware;
9
import org.apache.struts2.util.ServletContextAware;
7
import com.thoughtworks.xstream.core.util.Base64Encoder;
10
import com.thoughtworks.xstream.core.util.Base64Encoder;
Line 13... Line 16...
13
    
16
    
14
    public CommunityPromotionController() {
17
    public CommunityPromotionController() {
15
    }
18
    }
16
 
19
 
17
    public String index()  {
20
    public String index()  {
-
 
21
    	DataLogger.logSocialData(SocialEventType.COMMUNITY_PROMOTION_VIEWED, "1000");
18
        return "success";
22
        return "success";
19
    }
23
    }
20
    
24
    
21
    public String create()  {
25
    public String create()  {
-
 
26
    	DataLogger.logSocialData(SocialEventType.COMMUNITY_PROMOTION_VIEWED, "1000");
22
        return "success";
27
        return "success";
23
    }
28
    }
24
 
29
 
25
    @Override
30
    @Override
26
    public void setParameters(Map<String, String[]> parameters) {
31
    public void setParameters(Map<String, String[]> parameters) {