View Javadoc

1   /***
2    Copyright (C) 2005 The Java Community
3   
4    This program is free software; you can redistribute it and/or modify  it under
5    the terms of the GNU General Public License as published by  the Free Software
6    Foundation; either version 2 of the License, or  (at your option) any later
7    version.
8   
9    This program is distributed in the hope that it will be useful,  but WITHOUT
10   ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS
11   FOR A PARTICULAR PURPOSE. See the  GNU General Public License for more details.
12  
13   You should have received a copy of the GNU General Public License  along with
14   this program; if not, write to the Free Software  Foundation, Inc., 59 Temple
15   Place, Suite 330, Boston, MA 02111-1307 USA.
16  
17   */
18  package org.bejug.javacareers.jobs.view.jsf.model;
19  
20  import org.bejug.javacareers.jobs.model.User;
21  
22  /***
23   * The class has been created as a patch for the not working sessionScope
24   * problem with JSF-Spring.
25   *
26   * @author Stephan Janssen (last modified by $Author: bejug_cc $)
27   * @version $Revision: 1.2 $ - $Date: 2005/06/09 08:18:53 $
28   */
29  public class CurrentUser {
30  
31      /***
32       * The current user.
33       */
34      private User user;
35      /***
36       * @return Returns the user.
37       */
38      public User getUser() {
39          return user;
40      }
41      /***
42       * @param user The user to set.
43       */
44      public void setUser(User user) {
45          this.user = user;
46      }
47  }
48  /***
49   * $Log: CurrentUser.java,v $
50   * Revision 1.2  2005/06/09 08:18:53  bejug_cc
51   * Fix initial import
52   *
53   * Revision 1.1  2005/06/07 14:07:57  kva
54   * added confirmation prior to deleting user, profile, organisation type and rss feed.
55   *
56   *
57   *
58   */