Subversion Repositories SmartDukaan

Rev

Rev 555 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 555 Rev 650
Line 27... Line 27...
27
 
27
 
28
	
28
	
29
	/**
29
	/**
30
	 * 
30
	 * 
31
	 */
31
	 */
-
 
32
	private static final long serialVersionUID = 1L;
-
 
33
	/**
-
 
34
	 * 
-
 
35
	 */
32
	private static Log log = LogFactory.getLog(LogoutController.class);
36
	private static Log log = LogFactory.getLog(LogoutController.class);
33
	
37
	
34
	private String id;
-
 
35
	
-
 
36
	
-
 
37
	
-
 
38
	public LogoutController() {
38
	public LogoutController() {
39
		super();
39
		super();
40
		
40
		
41
	}
41
	}
42
    
42
    
Line 51... Line 51...
51
		}	
51
		}	
52
		return "success";
52
		return "success";
53
    	
53
    	
54
    }
54
    }
55
        
55
        
56
    /**
-
 
57
     * 
-
 
58
     * @param id
-
 
59
     */
-
 
60
    public void setId(String id) {
-
 
61
        this.id = id;
-
 
62
    }
-
 
63
 
56
 
64
    public boolean logoutUser(long userId) throws Exception{
57
    public boolean logoutUser(long userId) throws Exception{
65
		UserContextServiceClient userContextServiceClient =new UserContextServiceClient();
58
		UserContextServiceClient userContextServiceClient =new UserContextServiceClient();
66
		in.shop2020.model.v1.user.UserContextService.Client userClient = userContextServiceClient.getClient();
59
		in.shop2020.model.v1.user.UserContextService.Client userClient = userContextServiceClient.getClient();
67
		
60