public class UserPreferencesBean
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MSG_CONTENTALLLANGUAGES
Remplacement message for set the filter at 'all languages'.
|
static java.lang.String |
PREF_INTERFACELANGUAGE |
| Constructor and Description |
|---|
UserPreferencesBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowGuestConfig() |
javax.faces.model.SelectItem[] |
getAvailablesContentFilterLanguages(org.alfresco.service.cmr.repository.NodeRef translation,
boolean returnTranslationLanguage)
return the list of languages in which the given node hasn't be translated yet.
|
java.lang.String |
getContentFilterLanguage() |
javax.faces.model.SelectItem[] |
getContentFilterLanguages() |
javax.faces.model.SelectItem[] |
getContentFilterLanguages(boolean includeAllLanguages) |
java.lang.String |
getLanguage() |
javax.faces.model.SelectItem[] |
getLanguages() |
org.alfresco.service.cmr.ml.MultilingualContentService |
getMultilingualContentService() |
org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
java.lang.String |
getStartLocation() |
javax.faces.model.SelectItem[] |
getStartLocations() |
boolean |
isDownloadAutomatically() |
void |
setContentFilterLanguage(java.lang.String contentFilterLanguage) |
void |
setContentFilterLanguagesService(org.alfresco.service.cmr.ml.ContentFilterLanguagesService contentFilterLanguagesService) |
void |
setDownloadAutomatically(boolean downloadAutomatically) |
void |
setLanguage(java.lang.String language) |
void |
setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setStartLocation(java.lang.String location) |
public static final java.lang.String PREF_INTERFACELANGUAGE
public static final java.lang.String MSG_CONTENTALLLANGUAGES
public javax.faces.model.SelectItem[] getLanguages()
public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language - The language selection to set.public java.lang.String getContentFilterLanguage()
public void setContentFilterLanguage(java.lang.String contentFilterLanguage)
languageStr - A valid locale string or UserPreferencesBean.MSG_CONTENTALLLANGUAGESpublic javax.faces.model.SelectItem[] getContentFilterLanguages()
public javax.faces.model.SelectItem[] getContentFilterLanguages(boolean includeAllLanguages)
includeAllLanguages - if true, the list must include the label 'all languages'public javax.faces.model.SelectItem[] getAvailablesContentFilterLanguages(org.alfresco.service.cmr.repository.NodeRef translation,
boolean returnTranslationLanguage)
translation - the translatable node refreturnTranslationLanguage - if true, return the language of the given translation.public java.lang.String getStartLocation()
public void setStartLocation(java.lang.String location)
location - The current start location for this user (@see NavigationBean)public javax.faces.model.SelectItem[] getStartLocations()
public boolean getAllowGuestConfig()
public org.alfresco.service.cmr.ml.MultilingualContentService getMultilingualContentService()
public void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
multilingualContentService - the multilingualContentService to setpublic org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the nodeService to setpublic void setContentFilterLanguagesService(org.alfresco.service.cmr.ml.ContentFilterLanguagesService contentFilterLanguagesService)
contentFilterLanguagesService - the contentFilterLanguagesService to setpublic boolean isDownloadAutomatically()
public void setDownloadAutomatically(boolean downloadAutomatically)
downloadAutomatically - the boolean value to setCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.