Uses of Class
com.flexive.shared.FxLanguage

Packages that use FxLanguage
com.flexive.shared Shared classes used by all flexive modules. 
com.flexive.shared.exceptions Custom application exceptions which supported translated exception messages through resource bundles. 
com.flexive.shared.interfaces Local and remote interfaces of the flexive EJB engines. 
com.flexive.shared.media Utility classes for dealing with media data. 
com.flexive.shared.search Value classes for FxSQL search results. 
com.flexive.shared.search.query Utility classes for formulating queries in FxSQL. 
com.flexive.shared.security Data classes for flexive's security layer, like ACLs or roles. 
com.flexive.shared.structure Classes for the representation of flexive data structures. 
com.flexive.shared.value Multilingual value types for flexive contents. 
com.flexive.shared.value.renderer Locale-specific text renderers for FxValue objects. 
 

Uses of FxLanguage in com.flexive.shared
 

Fields in com.flexive.shared declared as FxLanguage
static FxLanguage FxLanguage.DEFAULT
          default language object
static FxLanguage FxLanguage.SYSTEM
          System language object.
 

Methods in com.flexive.shared that return FxLanguage
 FxLanguage FxContext.getLanguage()
          Get the current users preferred language
 

Constructors in com.flexive.shared with parameters of type FxLanguage
FxSharedUtils.ItemLabelSorter(FxLanguage language)
          Ctor
 

Uses of FxLanguage in com.flexive.shared.exceptions
 

Methods in com.flexive.shared.exceptions with parameters of type FxLanguage
 java.lang.String FxExceptionMessage.getLocalizedMessage(FxLanguage language)
          Get the localized message for a given language code
 java.lang.String FxRuntimeException.getMessage(FxLanguage locale)
          Get the localized message for a locale
 java.lang.String FxLocalizedException.getMessage(FxLanguage locale)
          Get the localized message for a locale
 java.lang.String FxApplicationException.getMessage(FxLanguage locale)
          Get the localized message for a locale
 

Uses of FxLanguage in com.flexive.shared.interfaces
 

Methods in com.flexive.shared.interfaces that return FxLanguage
 FxLanguage LanguageEngine.load(long languageId)
          Loads a language defined by its unique id.
 FxLanguage LanguageEngine.load(java.lang.String languageIsoCode)
          Loads a language defined by is iso code.
 

Methods in com.flexive.shared.interfaces that return types with arguments of type FxLanguage
 java.util.List<FxLanguage> LanguageEngine.loadAvailable()
          Loads all available languages.
 java.util.List<FxLanguage> LanguageEngine.loadAvailable(boolean excludeSystemLanguage)
          Loads all available languages.
 java.util.List<FxLanguage> LanguageEngine.loadDisabled()
          Loads all disabled languages.
 

Methods in com.flexive.shared.interfaces with parameters of type FxLanguage
 void LanguageEngine.activateLanguage(FxLanguage language)
          Activate a language (convenience method)
 long ContentEngine.getBinaryId(FxPK pk, java.lang.String xpath, FxLanguage language)
          Get the binary id for the given XPath.
 long ContentEngine.getBinaryId(FxPK pk, java.lang.String xpath, FxLanguage language, boolean fallbackToDefault)
          Get the binary id for the given XPath.
 java.util.List<java.lang.String> TreeEngine.getLabels(FxTreeMode mode, FxLanguage lang, long... ids)
          Returns a list of paths made up of Caption's for the given id's.
 

Method parameters in com.flexive.shared.interfaces with type arguments of type FxLanguage
 void LanguageEngine.setAvailable(java.util.List<FxLanguage> available, boolean ignoreUsage)
          Set all available languages
 

Uses of FxLanguage in com.flexive.shared.media
 

Methods in com.flexive.shared.media that return FxLanguage
 FxLanguage FxMediaSelector.getLanguage()
          Get the requested language for the image
 

Uses of FxLanguage in com.flexive.shared.search
 

Methods in com.flexive.shared.search that return types with arguments of type FxLanguage
 java.util.List<FxLanguage> FxSQLSearchParams.getResultLanguages()
          Gets the languages that the resultset will contain.
 

Method parameters in com.flexive.shared.search with type arguments of type FxLanguage
 FxSQLSearchParams FxSQLSearchParams.setResultLanguages(java.util.List<FxLanguage> languages)
          Sets the languages that the resultset should contain.
 

Uses of FxLanguage in com.flexive.shared.search.query
 

Method parameters in com.flexive.shared.search.query with type arguments of type FxLanguage
 SqlQueryBuilder SqlQueryBuilder.searchLanguages(java.util.Collection<FxLanguage> languages)
          Limit the language(s) in which queries are performed (applied to multilingual properties only).
 

Uses of FxLanguage in com.flexive.shared.security
 

Fields in com.flexive.shared.security declared as FxLanguage
protected  FxLanguage Account.language
           
 

Methods in com.flexive.shared.security that return FxLanguage
 FxLanguage UserTicket.getLanguage()
          Get the default language of this user
 FxLanguage Account.getLanguage()
          Returns the language of the user.
 

Methods in com.flexive.shared.security with parameters of type FxLanguage
 void UserTicket.setLanguage(FxLanguage language)
          Override the users language.
 AccountEdit AccountEdit.setLanguage(FxLanguage language)
           
 

Constructors in com.flexive.shared.security with parameters of type FxLanguage
Account(long id, java.lang.String name, java.lang.String loginName, long mandator, java.lang.String email, FxLanguage language, boolean active, boolean validated, java.util.Date validFrom, java.util.Date validTo, long defaultNode, java.lang.String description, long contactDataId, boolean allowMultiLogin, java.lang.String updateToken, java.lang.String restToken, long restTokenExpires, LifeCycleInfo lifeCycleInfo)
           
 

Uses of FxLanguage in com.flexive.shared.structure
 

Methods in com.flexive.shared.structure that return FxLanguage
 FxLanguage FxFilteredEnvironment.getLanguage(long id)
          Return the language for the given ID.
 FxLanguage FxEnvironment.getLanguage(long id)
          Return the language for the given ID.
 FxLanguage FxFilteredEnvironment.getLanguage(java.lang.String isoCode)
          Return the language for the given ISO code.
 FxLanguage FxEnvironment.getLanguage(java.lang.String isoCode)
          Return the language for the given ISO code.
 

Methods in com.flexive.shared.structure that return types with arguments of type FxLanguage
 java.util.List<FxLanguage> FxFilteredEnvironment.getLanguages()
          Return all activated languages.
 java.util.List<FxLanguage> FxEnvironment.getLanguages()
          Return all activated languages.
 

Methods in com.flexive.shared.structure with parameters of type FxLanguage
 java.lang.String FxSelectListItem.getLabelBreadcrumbPath(FxLanguage outputLanguage)
          If this item is cascaded, get the label path up to the root element
 

Uses of FxLanguage in com.flexive.shared.value
 

Methods in com.flexive.shared.value with parameters of type FxLanguage
 T FxValue.getBestTranslation(FxLanguage language)
          Get the translation that best fits the requested language.
 T FxValue.getTranslation(FxLanguage lang)
          Get a String representation of this value in the requested language or an empty String if the translation does not exist
 java.lang.String FxNoAccess.getTranslation(FxLanguage lang)
          Get a String representation of this value in the requested language or an empty String if the translation does not exist
 boolean FxValue.isTranslationEmpty(FxLanguage lang)
          Check if the translation for the given language is empty
 boolean FxValue.isValid(FxLanguage language)
          Returns true if the translation for the given language is valid.
 TDerived FxValue.setTranslation(FxLanguage lang, T translation)
          Set the translation for a language or override the single language value if this value is not flagged as multi language enabled
 

Uses of FxLanguage in com.flexive.shared.value.renderer
 

Fields in com.flexive.shared.value.renderer declared as FxLanguage
(package private) static FxLanguage FxValueRendererFactory.DEFAULT
          Internal fallback default language for locale-agnostic formatters
 

Methods in com.flexive.shared.value.renderer with parameters of type FxLanguage
 java.lang.String FxValueRendererImpl.format(FxValue value, FxLanguage translationLanguage)
          Formats the given value in the renderer's locale.
 java.lang.String FxValueRenderer.format(FxValue value, FxLanguage translationLanguage)
          Formats the given value in the renderer's locale.
 java.lang.String FxValueFormatter.format(ValueType container, DataType value, FxLanguage outputLanguage)
          Formats a FxValue object.
static FxValueRenderer FxValueRendererFactory.getInstance(FxLanguage language)
          Returns a FxValueRenderer instance for the given language.
 FxValueRenderer FxValueRendererImpl.render(java.io.Writer out, FxValue value, FxLanguage translationLanguage)
          Renders the given value in the renderer's locale to the output writer.
 FxValueRenderer FxValueRenderer.render(java.io.Writer out, FxValue value, FxLanguage translationLanguage)
          Renders the given value in the renderer's locale to the output writer.
 

Constructors in com.flexive.shared.value.renderer with parameters of type FxLanguage
FxValueRendererImpl(FxLanguage language)
          Create a new renderer for the given language.