예제 #1
0
        public static UserHandler CreatUserHandler(ForumSystemImpl s, String forumname) // represent the entry use case
        {
            User g = null;

            g = s.entry(forumname);
            if (g != null)
            {
                return(new UserHandler(s, g));
            }
            return(null);
        }
예제 #2
0
 private UserHandler(ForumSystemImpl s, User u)
 {
     this.system = s;
     this.user   = u;
 }