org.jasig.portal
Class UserProfile

java.lang.Object
  extended by org.jasig.portal.UserProfile
All Implemented Interfaces:
Serializable

public class UserProfile
extends Object
implements Serializable

A user profile associates a user layout with a structure and theme stylesheet.

Version:
$Revision: 19776 $
Author:
Peter Kharchenko
See Also:
Serialized Form

Field Summary
static String DEFAULT_PROFILE_FNAME
           
protected  String description
           
protected  String fname
           
protected  int id
           
protected  int layout_id
           
protected  LocaleManager localeManager
           
protected  String pName
           
protected  int struct_ss_id
           
protected  boolean system
           
protected  int theme_ss_id
           
static String USER_PROFILE
           
 
Constructor Summary
UserProfile()
           
UserProfile(int id, String fname, String name, String desc, int layout_id, int struct_ss, int theme_ss)
           
UserProfile(UserProfile userProfile)
           
 
Method Summary
 boolean equals(Object o)
           
 int getLayoutId()
           
 LocaleManager getLocaleManager()
           
 String getProfileDescription()
           
 String getProfileFname()
           
 int getProfileId()
           
 String getProfileName()
           
 int getStructureStylesheetId()
           
 int getThemeStylesheetId()
           
 boolean isSystemProfile()
           
 void setLayoutId(int layout_id)
           
 void setLocaleManager(LocaleManager lm)
           
 void setProfileDescription(String desc)
           
 void setProfileFname(String fname)
           
 void setProfileId(int id)
           
 void setProfileName(String name)
           
 void setStructureStylesheetId(int ss_id)
           
 void setSystemProfile(boolean s)
           
 void setThemeStylesheetId(int ss_id)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

USER_PROFILE

public static final String USER_PROFILE
See Also:
Constant Field Values

DEFAULT_PROFILE_FNAME

public static final String DEFAULT_PROFILE_FNAME
See Also:
Constant Field Values

id

protected int id

fname

protected String fname

pName

protected String pName

description

protected String description

layout_id

protected int layout_id

struct_ss_id

protected int struct_ss_id

theme_ss_id

protected int theme_ss_id

system

protected boolean system

localeManager

protected LocaleManager localeManager
Constructor Detail

UserProfile

public UserProfile()

UserProfile

public UserProfile(int id,
                   String fname,
                   String name,
                   String desc,
                   int layout_id,
                   int struct_ss,
                   int theme_ss)

UserProfile

public UserProfile(UserProfile userProfile)
Method Detail

getProfileId

public int getProfileId()

getProfileFname

public String getProfileFname()

getProfileName

public String getProfileName()

getProfileDescription

public String getProfileDescription()

getLayoutId

public int getLayoutId()

getStructureStylesheetId

public int getStructureStylesheetId()

getThemeStylesheetId

public int getThemeStylesheetId()

isSystemProfile

public boolean isSystemProfile()

setProfileId

public void setProfileId(int id)

setProfileFname

public void setProfileFname(String fname)

setProfileName

public void setProfileName(String name)

setProfileDescription

public void setProfileDescription(String desc)

setLayoutId

public void setLayoutId(int layout_id)

setStructureStylesheetId

public void setStructureStylesheetId(int ss_id)

setThemeStylesheetId

public void setThemeStylesheetId(int ss_id)

setSystemProfile

public void setSystemProfile(boolean s)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

setLocaleManager

public void setLocaleManager(LocaleManager lm)

getLocaleManager

public LocaleManager getLocaleManager()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Jasig. All Rights Reserved.