KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > organization > impl > UserBackupData


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.organization.impl;
6
7 import java.util.Collection JavaDoc;
8 /**
9  * May 28, 2004
10  * @author: Tuan Nguyen
11  * @email: tuan08@users.sourceforge.net
12  * @version: $ID$
13  **/

14 public class UserBackupData {
15     private UserImpl user ;
16     private UserProfileImpl userProfile ;
17     private Collection JavaDoc memberships ;
18     
19     public UserBackupData(UserImpl u, UserProfileImpl up, Collection JavaDoc mbs) {
20         user = u ;
21         userProfile = up ;
22         memberships = mbs ;
23     }
24     
25     public UserImpl getUser() { return user ; }
26     
27     public UserProfileImpl getUserProfile() { return userProfile ; }
28     
29     public Collection JavaDoc getMemberships() { return memberships ;}
30 }
Popular Tags