public interface RemoteGlobalNLSLibrary
extends java.rmi.Remote
GlobalNLSLibrary| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLocale(java.util.Locale locale)
Tests whether a locale is contained in the Global NLS Library.
|
java.util.List<java.util.Locale> |
getAvailableLocales()
Gets all locales in Global NLS Library.
|
FontNLSEntry |
getFontNLSEntry(java.util.Locale locale,
java.lang.String orginalFaceName,
int orginalPointSize)
Gets a special Font NLS Entry(FontNLSEntry) from the Global NLS Library.
|
FormatNLSEntry |
getFormatNLSEntry(java.util.Locale locale,
java.lang.String keyFormat)
Gets a Format NLS Entry(FormatNLSEntry) from the Global NLS Library.
|
java.util.List<NLSEntry> |
getLocale(java.util.Locale locale)
Gets the NLS entries bond with a locale in the Global NLS Library.
|
java.util.List<FontNLSEntry> |
getLocaleFonts(java.util.Locale locale)
Gets all Font NLS Entry(FontNLSEntry) bond with a locale in the Global NLS Library.
|
java.util.List<FormatNLSEntry> |
getLocaleFormats(java.util.Locale locale)
Gets all Format NLS Entry(FormatNLSEntry) bond with a locale in the Global NLS Library.
|
java.util.List<TextNLSEntry> |
getLocaleTexts(java.util.Locale locale)
Gets all Text NLS Entry(TextNLSEntry) bond with a locale in the Global NLS Library.
|
TextNLSEntry |
getTextNLSEntry(java.util.Locale locale,
NLSType type,
java.lang.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(java.util.Locale locale,
FontNLSEntry entry)
Removes a Font NLS Entry from the Global NLS Library.
|
boolean |
removeFormatNLSEntry(java.util.Locale locale,
FormatNLSEntry entry)
Removes a Format NLS Entry from the Global NLS Library.
|
boolean |
removeLocale(java.util.Locale locale)
Removes a locale and all NLS entries bond with the locale from the Global NLS Library.
|
boolean |
removeNLSEntry(java.util.Locale locale,
NLSEntry entry)
Removes a NLS entry from the Global NLS Library.
|
boolean |
removeTextNLSEntry(java.util.Locale locale,
TextNLSEntry entry)
Removes a Text NLS Entry from the Global NLS Library.
|
void |
updateFontNLSEntry(java.util.Locale locale,
FontNLSEntry entry)
Updates a Font NLS Entry bond with a locale in the Global NLS Library.
|
void |
updateFormatNLSEntry(java.util.Locale locale,
FormatNLSEntry entry)
Updates a Format NLS Entry bond with a locale in the Global NLS Library.
|
void |
updateLocale(java.util.Locale locale,
java.util.List<NLSEntry> entries)
Updates the NLS Entries bond with a locale in the Global NLS Library.
|
void |
updateLocaleFonts(java.util.Locale locale,
java.util.List<FontNLSEntry> entries)
Updates the Font NLS Entries bond with a locale in the Global NLS Library.
|
void |
updateLocaleFormats(java.util.Locale locale,
java.util.List<FormatNLSEntry> entries)
Updates the Format NLS Entries bond with a locale in the Global NLS Library.
|
void |
updateLocaleTexts(java.util.Locale locale,
java.util.List<TextNLSEntry> entries)
Updates the Text NLS Entries bond with a locale in the Global NLS Library.
|
void |
updateNLSEntry(java.util.Locale locale,
NLSEntry entry)
Updates a NLS Entry bond with a locale in the Global NLS Library.
|
void |
updateTextNLSEntry(java.util.Locale locale,
TextNLSEntry entry)
Updates a Text NLS Entry bond with a locale in the Global NLS Library.
|
java.util.List<java.util.Locale> getAvailableLocales()
throws java.rmi.RemoteException
java.rmi.RemoteException - if communication-related error occurs during RMI call execution.boolean containsLocale(java.util.Locale locale)
throws java.rmi.RemoteException
locale - The locale to test.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.java.util.List<NLSEntry> getLocale(java.util.Locale locale) throws java.rmi.RemoteException
locale - The locale which was bond with the NLS entries.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.java.util.List<TextNLSEntry> getLocaleTexts(java.util.Locale locale) throws java.rmi.RemoteException
locale - The locale which was bond with the Text NLS entries.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.java.util.List<FormatNLSEntry> getLocaleFormats(java.util.Locale locale) throws java.rmi.RemoteException
locale - The locale which was bond with the Format NLS entries.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.java.util.List<FontNLSEntry> getLocaleFonts(java.util.Locale locale) throws java.rmi.RemoteException
locale - The locale which was bond with the Font NLS entries.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.TextNLSEntry getTextNLSEntry(java.util.Locale locale, NLSType type, java.lang.String keyText) throws java.rmi.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.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.FormatNLSEntry getFormatNLSEntry(java.util.Locale locale, java.lang.String keyFormat) throws java.rmi.RemoteException
locale - The locale which the Format NLS Entry was bond with.keyFormat - The keyFormat of the Format NLS Entry.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.FontNLSEntry getFontNLSEntry(java.util.Locale locale, java.lang.String orginalFaceName, int orginalPointSize) throws java.rmi.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.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateLocale(java.util.Locale locale,
java.util.List<NLSEntry> entries)
throws java.rmi.RemoteException
locale - The locale which the NLS entries bond with.entries - The NLS entries bond with a locale.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateLocaleTexts(java.util.Locale locale,
java.util.List<TextNLSEntry> entries)
throws java.rmi.RemoteException
locale - The locale which the Text NLS Entries bond with.entries - The Text NLS entries bond with the locale.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateLocaleFormats(java.util.Locale locale,
java.util.List<FormatNLSEntry> entries)
throws java.rmi.RemoteException
locale - The locale which the Format NLS Entries bond with.entries - The Format NLS entries bond with the locale.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateLocaleFonts(java.util.Locale locale,
java.util.List<FontNLSEntry> entries)
throws java.rmi.RemoteException
locale - The locale which the Font NLS Entries bond with.entries - The Font NLS entries bond with the locale.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateNLSEntry(java.util.Locale locale,
NLSEntry entry)
throws java.rmi.RemoteException
locale - The locale which the NLS Entry bond with.entry - The NLS entry bond with the locale.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateTextNLSEntry(java.util.Locale locale,
TextNLSEntry entry)
throws java.rmi.RemoteException
locale - The locale the Text NLS Entry bond with.entry - The Text NLS entry bond with the locale.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateFormatNLSEntry(java.util.Locale locale,
FormatNLSEntry entry)
throws java.rmi.RemoteException
locale - The locale the Format NLS Entry bond with.entry - The Format NLS entry bond with the locale.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateFontNLSEntry(java.util.Locale locale,
FontNLSEntry entry)
throws java.rmi.RemoteException
locale - The locale which the Font NLS Entry bond with.entry - The Font NLS entry bond with the locale.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.boolean removeNLSEntry(java.util.Locale locale,
NLSEntry entry)
throws java.rmi.RemoteException
locale - The locale which the NLS Entry bond with.entry - The entry which you want to remove.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.boolean removeTextNLSEntry(java.util.Locale locale,
TextNLSEntry entry)
throws java.rmi.RemoteException
locale - The locale which the Text NLS Entry bond with.entry - The entry which you want to remove.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.boolean removeFormatNLSEntry(java.util.Locale locale,
FormatNLSEntry entry)
throws java.rmi.RemoteException
locale - The locale which the Format NLS Entry bond with.entry - The entry which you want to remove.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.boolean removeFontNLSEntry(java.util.Locale locale,
FontNLSEntry entry)
throws java.rmi.RemoteException
locale - The locale which the Font NLS Entry bond with.entry - The entry which you want to remove.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.boolean removeLocale(java.util.Locale locale)
throws java.rmi.RemoteException
locale - The locale which you want to remove.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void reload()
throws java.rmi.RemoteException
java.rmi.RemoteException