public interface RemoteGlobalNLSLibrary extends Remote
GlobalNLSLibrary| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLocale(Locale locale)
Tests whether a locale is contained in the Global NLS Library.
|
Map<String,Map<String,String>> |
exportGlobalNLS()
export all Global NLS.
|
List<Locale> |
getAvailableLocales()
Gets all locales in Global NLS Library.
|
FontNLSEntry |
getFontNLSEntry(Locale locale,
String orginalFaceName,
int orginalPointSize)
Gets a special Font NLS Entry(FontNLSEntry) from the Global NLS Library.
|
FormatNLSEntry |
getFormatNLSEntry(Locale locale,
String keyFormat)
Gets a Format NLS Entry(FormatNLSEntry) from the Global NLS Library.
|
List<NLSEntry> |
getLocale(Locale locale)
Gets the NLS entries bond with a locale in the Global NLS Library.
|
List<FontNLSEntry> |
getLocaleFonts(Locale locale)
Gets all Font NLS Entry(FontNLSEntry) bond with a locale in the Global NLS Library.
|
List<FormatNLSEntry> |
getLocaleFormats(Locale locale)
Gets all Format NLS Entry(FormatNLSEntry) bond with a locale in the Global NLS Library.
|
List<TextNLSEntry> |
getLocaleTexts(Locale locale)
Gets all Text NLS Entry(TextNLSEntry) bond with a locale in the Global NLS Library.
|
TextNLSEntry |
getTextNLSEntry(Locale locale,
NLSType type,
String keyText)
Gets a Text NLS Entry(TextNLSEntry) from the Global NLS Library.
|
void |
reload()
Reload the Global NLS Library from the database.
|
boolean |
removeFontNLSEntry(Locale locale,
FontNLSEntry entry)
Removes a Font NLS Entry from the Global NLS Library.
|
boolean |
removeFormatNLSEntry(Locale locale,
FormatNLSEntry entry)
Removes a Format NLS Entry from the Global NLS Library.
|
boolean |
removeLocale(Locale locale)
Removes a locale and all NLS entries bond with the locale from the Global NLS Library.
|
boolean |
removeNLSEntry(Locale locale,
NLSEntry entry)
Removes a NLS entry from the Global NLS Library.
|
boolean |
removeTextNLSEntry(Locale locale,
TextNLSEntry entry)
Removes a Text NLS Entry from the Global NLS Library.
|
void |
updateFontNLSEntry(Locale locale,
FontNLSEntry entry)
Updates a Font NLS Entry bond with a locale in the Global NLS Library.
|
void |
updateFormatNLSEntry(Locale locale,
FormatNLSEntry entry)
Updates a Format NLS Entry bond with a locale in the Global NLS Library.
|
void |
updateLocale(Locale locale,
List<NLSEntry> entries)
Updates the NLS Entries bond with a locale in the Global NLS Library.
|
void |
updateLocaleFonts(Locale locale,
List<FontNLSEntry> entries)
Updates the Font NLS Entries bond with a locale in the Global NLS Library.
|
void |
updateLocaleFormats(Locale locale,
List<FormatNLSEntry> entries)
Updates the Format NLS Entries bond with a locale in the Global NLS Library.
|
void |
updateLocaleTexts(Locale locale,
List<TextNLSEntry> entries)
Updates the Text NLS Entries bond with a locale in the Global NLS Library.
|
void |
updateNLSEntry(Locale locale,
NLSEntry entry)
Updates a NLS Entry bond with a locale in the Global NLS Library.
|
void |
updateTextNLSEntry(Locale locale,
TextNLSEntry entry)
Updates a Text NLS Entry bond with a locale in the Global NLS Library.
|
List<Locale> getAvailableLocales() throws RemoteException
RemoteException - if communication-related error occurs during RMI call execution.boolean containsLocale(Locale locale) throws RemoteException
locale - The locale to test.RemoteException - if communication-related error occurs during RMI call execution.List<NLSEntry> getLocale(Locale locale) throws RemoteException
locale - The locale which was bond with the NLS entries.RemoteException - if communication-related error occurs during RMI call execution.List<TextNLSEntry> getLocaleTexts(Locale locale) throws RemoteException
locale - The locale which was bond with the Text NLS entries.RemoteException - if communication-related error occurs during RMI call execution.List<FormatNLSEntry> getLocaleFormats(Locale locale) throws RemoteException
locale - The locale which was bond with the Format NLS entries.RemoteException - if communication-related error occurs during RMI call execution.List<FontNLSEntry> getLocaleFonts(Locale locale) throws RemoteException
locale - The locale which was bond with the Font NLS entries.RemoteException - if communication-related error occurs during RMI call execution.TextNLSEntry getTextNLSEntry(Locale locale, NLSType type, String keyText) throws RemoteException
locale - The locale which the Text NLS Entry was bond with.type - The type of the Text NLS Entry.keyText - The keyText of the Text NLS Entry.RemoteException - if communication-related error occurs during RMI call execution.FormatNLSEntry getFormatNLSEntry(Locale locale, String keyFormat) throws RemoteException
locale - The locale which the Format NLS Entry was bond with.keyFormat - The keyFormat of the Format NLS Entry.RemoteException - if communication-related error occurs during RMI call execution.FontNLSEntry getFontNLSEntry(Locale locale, String orginalFaceName, int orginalPointSize) throws RemoteException
locale - The locale which the Font NLS Entry was bond with.orginalFaceName - The orginalFaceName of the Font NLS Entry.orginalPointSize - The orginalPointSize of the Font NLS Entry.RemoteException - if communication-related error occurs during RMI call execution.void updateLocale(Locale locale, List<NLSEntry> entries) throws RemoteException
locale - The locale which the NLS entries bond with.entries - The NLS entries bond with a locale.RemoteException - if communication-related error occurs during RMI call execution.void updateLocaleTexts(Locale locale, List<TextNLSEntry> entries) throws RemoteException
locale - The locale which the Text NLS Entries bond with.entries - The Text NLS entries bond with the locale.RemoteException - if communication-related error occurs during RMI call execution.void updateLocaleFormats(Locale locale, List<FormatNLSEntry> entries) throws RemoteException
locale - The locale which the Format NLS Entries bond with.entries - The Format NLS entries bond with the locale.RemoteException - if communication-related error occurs during RMI call execution.void updateLocaleFonts(Locale locale, List<FontNLSEntry> entries) throws RemoteException
locale - The locale which the Font NLS Entries bond with.entries - The Font NLS entries bond with the locale.RemoteException - if communication-related error occurs during RMI call execution.void updateNLSEntry(Locale locale, NLSEntry entry) throws RemoteException
locale - The locale which the NLS Entry bond with.entry - The NLS entry bond with the locale.RemoteException - if communication-related error occurs during RMI call execution.void updateTextNLSEntry(Locale locale, TextNLSEntry entry) throws RemoteException
locale - The locale the Text NLS Entry bond with.entry - The Text NLS entry bond with the locale.RemoteException - if communication-related error occurs during RMI call execution.void updateFormatNLSEntry(Locale locale, FormatNLSEntry entry) throws RemoteException
locale - The locale the Format NLS Entry bond with.entry - The Format NLS entry bond with the locale.RemoteException - if communication-related error occurs during RMI call execution.void updateFontNLSEntry(Locale locale, FontNLSEntry entry) throws RemoteException
locale - The locale which the Font NLS Entry bond with.entry - The Font NLS entry bond with the locale.RemoteException - if communication-related error occurs during RMI call execution.boolean removeNLSEntry(Locale locale, NLSEntry entry) throws RemoteException
locale - The locale which the NLS Entry bond with.entry - The entry which you want to remove.RemoteException - if communication-related error occurs during RMI call execution.boolean removeTextNLSEntry(Locale locale, TextNLSEntry entry) throws RemoteException
locale - The locale which the Text NLS Entry bond with.entry - The entry which you want to remove.RemoteException - if communication-related error occurs during RMI call execution.boolean removeFormatNLSEntry(Locale locale, FormatNLSEntry entry) throws RemoteException
locale - The locale which the Format NLS Entry bond with.entry - The entry which you want to remove.RemoteException - if communication-related error occurs during RMI call execution.boolean removeFontNLSEntry(Locale locale, FontNLSEntry entry) throws RemoteException
locale - The locale which the Font NLS Entry bond with.entry - The entry which you want to remove.RemoteException - if communication-related error occurs during RMI call execution.boolean removeLocale(Locale locale) throws RemoteException
locale - The locale which you want to remove.RemoteException - if communication-related error occurs during RMI call execution.void reload()
throws RemoteException
RemoteExceptionMap<String,Map<String,String>> exportGlobalNLS() throws RemoteException
Map object that
represents Global NLS setting, key is locale string , value is relate Map of NLS.Map object which represents Global NLS list, key is locale string, value value is relate Map of NLS.RemoteException© insightsoftware. All rights reserved.