| com.flexive.shared.interfaces.LanguageEngine
All known Subclasses: com.flexive.ejb.beans.LanguageBean,
LanguageEngine | public interface LanguageEngine (Code) | | [fleXive] language engine interface.
This engine should not be used to load languages as they are available from the environment!
Its purpose is to enable/disable, initially load and manage (position, etc.) languages
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev |
isValid | boolean isValid(long languageId)(Code) | | Returns true if the language referenced by its unique id is valid.
A language is valid if it may be used according to the used license.
Parameters: languageId - the unqique id of the language to check a array with all available language objects |
loadAvailable | public List<FxLanguage> loadAvailable(boolean excludeSystemLanguage) throws FxApplicationException(Code) | | Loads all available languages.
Parameters: excludeSystemLanguage - if true the system language is exluded from the result a array with all available language objects throws: FxApplicationException - if the function fails |
setAvailable | public void setAvailable(List<FxLanguage> available, boolean ignoreUsage) throws FxApplicationException(Code) | | Set all available languages
Parameters: available - list containing all available languages Parameters: ignoreUsage - ignore if a language that is no longer available after calling this method is in use throws: FxApplicationException - on errors |
|
|