public class UserPreferencesBean extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_CONTENTALLLANGUAGES
Remplacement message for set the filter at 'all languages'.
|
static 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.
|
String |
getContentFilterLanguage() |
javax.faces.model.SelectItem[] |
getContentFilterLanguages() |
javax.faces.model.SelectItem[] |
getContentFilterLanguages(boolean includeAllLanguages) |
String |
getLanguage() |
javax.faces.model.SelectItem[] |
getLanguages() |
org.alfresco.service.cmr.ml.MultilingualContentService |
getMultilingualContentService() |
org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
String |
getStartLocation() |
javax.faces.model.SelectItem[] |
getStartLocations() |
boolean |
isDownloadAutomatically() |
void |
setContentFilterLanguage(String contentFilterLanguage) |
void |
setContentFilterLanguagesService(org.alfresco.service.cmr.ml.ContentFilterLanguagesService contentFilterLanguagesService) |
void |
setDownloadAutomatically(boolean downloadAutomatically) |
void |
setLanguage(String language) |
void |
setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setStartLocation(String location) |
public static final String PREF_INTERFACELANGUAGE
public static final String MSG_CONTENTALLLANGUAGES
public javax.faces.model.SelectItem[] getLanguages()
public String getLanguage()
public void setLanguage(String language)
language - The language selection to set.public String getContentFilterLanguage()
public void setContentFilterLanguage(String contentFilterLanguage)
contentFilterLanguage - A valid locale string or 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 String getStartLocation()
public void setStartLocation(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–2018 Alfresco Software. All rights reserved.