KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > wsrp > consumer > User


1 package org.exoplatform.services.wsrp.consumer;
2
3 import org.exoplatform.services.wsrp.type.UserContext;
4
5 /**
6  * This interface defines a user with a certain
7  * user id and a user context.
8  *
9  * @author Stephan Laertz
10  * @author Benjamin Mestrallet
11  */

12 public interface User {
13
14   /**
15    * Returns the userID
16    *
17    * @return _userID
18    */

19   public String JavaDoc getUserID();
20
21   /**
22    * Sets the userID
23    *
24    * @param userID as String
25    */

26   public void setUserID(String JavaDoc userID);
27
28   /**
29    * Returns the UserContext for this userid
30    *
31    * @return _userContext
32    */

33   public UserContext getUserContext();
34
35   /**
36    * Sets the UserContext for this userID
37    */

38   public void setUserContext(UserContext userContext);
39 }
40
Popular Tags