01: /* Copyright 2005 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.layout.dlm;
07:
08: import org.jasig.portal.UserProfile;
09: import org.w3c.dom.Document;
10:
11: /**
12: * @version $Revision: 35705 $ $Date: 2005-05-01 20:14:20 -0700 (Sun, 01 May 2005) $
13: * @since uPortal 2.5
14: */
15: class UserView {
16: public static final String RCS_ID = "@(#) $Header$";
17:
18: DistributedUserPreferences structUserPrefs = null;
19: DistributedUserPreferences themeUserPrefs = null;
20: Document layout = null;
21: int layoutId = 0;
22: int profileId = 1;
23: int structureStylesheetId = 0;
24: int themeStylesheetId = 0;
25:
26: UserView() {
27: }
28:
29: UserView(UserProfile profile, Document layout,
30: DistributedUserPreferences ssup,
31: DistributedUserPreferences tsup) {
32: layoutId = profile.getLayoutId();
33: profileId = profile.getProfileId();
34: structureStylesheetId = profile.getStructureStylesheetId();
35: themeStylesheetId = profile.getThemeStylesheetId();
36: this.layout = layout;
37: structUserPrefs = ssup;
38: themeUserPrefs = tsup;
39: }
40: }
|