Subversion Repositories SmartDukaan

Rev

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

Rev 3298 Rev 3336
Line 22... Line 22...
22
    	DataLogger.logSocialData(SocialEventType.COMMUNITY_PROMOTION_VIEWED, "1000");
22
    	DataLogger.logSocialData(SocialEventType.COMMUNITY_PROMOTION_VIEWED, "1000");
23
        return "success";
23
        return "success";
24
    }
24
    }
25
    
25
    
26
    public String create()  {
26
    public String create()  {
27
    	DataLogger.logSocialData(SocialEventType.COMMUNITY_PROMOTION_VIEWED, "1000");
-
 
28
    	
27
    	
29
    	if (pid != null && pid.equals("bb"))	{
28
    	if (pid != null && pid.equals("bb"))	{
-
 
29
        	DataLogger.logSocialData(SocialEventType.BLACKBERRY_PROMOTION_VIEWED , "1000");
30
    		return "bb-promo";
30
    		return "bb-promo";
31
    	} else	{
31
    	} else	{
-
 
32
        	DataLogger.logSocialData(SocialEventType.COMMUNITY_PROMOTION_VIEWED, "1000");
-
 
33
        	
32
            return "success";
34
            return "success";
33
    	}
35
    	}
34
    }
36
    }
35
    
37
    
36
    public void setPid(String pid) {
38
    public void setPid(String pid) {