Class UserPreferences
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<E,I>
-
- org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<UserPreferences,ExternalStringIdentifier>
-
- org.silverpeas.core.personalization.UserPreferences
-
- All Implemented Interfaces:
Serializable
,IdentifiableEntity
@Entity public class UserPreferences extends BasicJpaEntity<UserPreferences,ExternalStringIdentifier> implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UserPreferences()
UserPreferences(String userId, String language, ZoneId zoneId, String look, String collaborativeWorkSpaceId, boolean thesaurusEnabled, boolean dragAndDropEnabled, boolean webdavEditionEnabled, UserMenuDisplay display)
UserPreferences(String language, ZoneId zoneId, String look, String collaborativeWorkSpaceId, boolean thesaurusEnabled, boolean dragAndDropEnabled, boolean webdavEditionEnabled, UserMenuDisplay display)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enableDragAndDrop(boolean dragAndDropEnabled)
void
enableThesaurus(boolean thesaurusEnabled)
void
enableWebdavEdition(boolean webdavEditionEnabled)
boolean
equals(Object obj)
String
getCollaborativeWorkSpaceId()
UserMenuDisplay
getDisplay()
String
getLanguage()
String
getLook()
String
getPersonalWorkSpaceId()
User
getUser()
ZoneId
getZoneId()
int
hashCode()
boolean
isDragAndDropEnabled()
boolean
isThesaurusEnabled()
boolean
isWebdavEditionEnabled()
void
setCollaborativeWorkSpaceId(String collaborativeWorkSpaceId)
void
setDisplay(UserMenuDisplay display)
void
setLanguage(String language)
void
setLook(String look)
void
setPersonalWorkSpaceId(String collaborativeWorkSpaceId)
void
setZoneId(ZoneId zoneId)
String
toString()
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity
performBeforePersist, performBeforeRemove, performBeforeUpdate
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity
getId, getNativeId, isPersisted, setId
-
-
-
-
Constructor Detail
-
UserPreferences
protected UserPreferences()
-
UserPreferences
public UserPreferences(String userId, String language, ZoneId zoneId, String look, String collaborativeWorkSpaceId, boolean thesaurusEnabled, boolean dragAndDropEnabled, boolean webdavEditionEnabled, UserMenuDisplay display)
-
UserPreferences
public UserPreferences(String language, ZoneId zoneId, String look, String collaborativeWorkSpaceId, boolean thesaurusEnabled, boolean dragAndDropEnabled, boolean webdavEditionEnabled, UserMenuDisplay display)
-
-
Method Detail
-
getUser
public User getUser()
-
setLanguage
public void setLanguage(String language)
-
getLanguage
public String getLanguage()
-
getZoneId
public ZoneId getZoneId()
-
setZoneId
public void setZoneId(ZoneId zoneId)
-
getLook
public String getLook()
-
setLook
public void setLook(String look)
-
getCollaborativeWorkSpaceId
public String getCollaborativeWorkSpaceId()
-
setCollaborativeWorkSpaceId
public void setCollaborativeWorkSpaceId(String collaborativeWorkSpaceId)
-
getPersonalWorkSpaceId
public String getPersonalWorkSpaceId()
-
setPersonalWorkSpaceId
public void setPersonalWorkSpaceId(String collaborativeWorkSpaceId)
-
isThesaurusEnabled
public boolean isThesaurusEnabled()
-
enableThesaurus
public void enableThesaurus(boolean thesaurusEnabled)
-
isDragAndDropEnabled
public boolean isDragAndDropEnabled()
-
enableDragAndDrop
public void enableDragAndDrop(boolean dragAndDropEnabled)
-
isWebdavEditionEnabled
public boolean isWebdavEditionEnabled()
-
enableWebdavEdition
public void enableWebdavEdition(boolean webdavEditionEnabled)
-
getDisplay
public UserMenuDisplay getDisplay()
-
setDisplay
public void setDisplay(UserMenuDisplay display)
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractJpaEntity<UserPreferences,ExternalStringIdentifier>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractJpaEntity<UserPreferences,ExternalStringIdentifier>
-
-