|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.user.HomePageConfig
public class HomePageConfig
Description:
The HomePageConfig class represents a configuration for a Homepage. It is
persisted as an xml file in the ???. Loading and saving of
configuration files is managed through the HomePageConfigManagerImpl.
A HomePageConfig has a class wide CURRENTVERSION, an integer
denoting the most actual code version of the HomePageConfig. The attribute
version is the version number of an instance.
CURRENTVERSION vs. version
version == CURRENTVERSIONversion < CURRENTVERSION
Initial Date: July 15, 2005
| Field Summary | |
|---|---|
static java.lang.String |
KEY_ADDRESS
Deprecated. |
static java.lang.String |
KEY_BIRTHDAY
Deprecated. |
static java.lang.String |
KEY_EMAIL
Deprecated. |
static java.lang.String |
KEY_GENDER
Deprecated. |
static java.lang.String |
KEY_INSTITIUTIONALNAME
Deprecated. |
static java.lang.String |
KEY_INSTITUTIONEMAIL
Deprecated. |
static java.lang.String |
KEY_RESOURCEABLEID
|
static java.lang.String |
KEY_TELMOBILE
Deprecated. |
static java.lang.String |
KEY_TELOFFICE
Deprecated. |
static java.lang.String |
KEY_TELPRIVATE
Deprecated. |
static java.lang.String |
KEY_TEXTABOUTME
|
static java.lang.String |
KEY_USERNAME
|
| Constructor Summary | |
|---|---|
HomePageConfig()
|
|
| Method Summary | |
|---|---|
java.lang.Long |
getResourceableId()
|
java.lang.String |
getResourceableTypeName()
|
java.lang.String |
getTextAboutMe()
|
java.lang.String |
getUserName()
|
int |
getVersion()
|
boolean |
hasResourceableId()
|
void |
initDefaults()
initialize with default values |
boolean |
isEnabled(java.lang.String propertyName)
Check if the visibility of user property is enabled |
void |
resolveVersionIssues()
resolve issues of changed configuration version. |
void |
setEnabled(java.lang.String propertyName,
boolean enabled)
Enable or disable the visibility of a user property |
void |
setResourceableId(java.lang.Long id)
|
void |
setTextAboutMe(java.lang.String textAboutMe)
|
void |
setUserName(java.lang.String userName)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final transient java.lang.String KEY_RESOURCEABLEID
public static final transient java.lang.String KEY_USERNAME
public static final transient java.lang.String KEY_TEXTABOUTME
@Deprecated public static final transient java.lang.String KEY_EMAIL
@Deprecated public static final transient java.lang.String KEY_GENDER
@Deprecated public static final transient java.lang.String KEY_BIRTHDAY
@Deprecated public static final transient java.lang.String KEY_TELMOBILE
@Deprecated public static final transient java.lang.String KEY_TELPRIVATE
@Deprecated public static final transient java.lang.String KEY_TELOFFICE
@Deprecated public static final transient java.lang.String KEY_ADDRESS
@Deprecated public static final transient java.lang.String KEY_INSTITIUTIONALNAME
@Deprecated public static final transient java.lang.String KEY_INSTITUTIONEMAIL
| Constructor Detail |
|---|
public HomePageConfig()
| Method Detail |
|---|
public int getVersion()
public void initDefaults()
public void resolveVersionIssues()
public void setEnabled(java.lang.String propertyName,
boolean enabled)
propertyName - The name of the user propertyenabled - true: enable visibility; false, disablepublic boolean isEnabled(java.lang.String propertyName)
propertyName - The name of the user property
public void setResourceableId(java.lang.Long id)
id - public java.lang.Long getResourceableId()
getResourceableId in interface OLATResourceablepublic java.lang.String getResourceableTypeName()
getResourceableTypeName in interface OLATResourceablepublic void setUserName(java.lang.String userName)
userName - public java.lang.String getUserName()
public void setTextAboutMe(java.lang.String textAboutMe)
textAboutMe - public java.lang.String getTextAboutMe()
public boolean hasResourceableId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||