public final class ManagedObjectDefinitionI18NResource extends Object
I18N resource properties are not available for the TopCfgDefn.
| Modifier and Type | Method and Description |
|---|---|
static ManagedObjectDefinitionI18NResource |
getInstance()
Gets the internationalized resource instance which can be used to
retrieve the localized descriptions for the managed objects and their
associated properties and relations.
|
static ManagedObjectDefinitionI18NResource |
getInstanceForProfile(String profile)
Gets the internationalized resource instance for the named profile.
|
LocalizableMessage |
getMessage(AbstractManagedObjectDefinition<?,?> d,
String key)
Get the internationalized message associated with the specified key in
the default locale.
|
LocalizableMessage |
getMessage(AbstractManagedObjectDefinition<?,?> d,
String key,
Locale locale)
Get the internationalized message associated with the specified key and
locale.
|
LocalizableMessage |
getMessage(AbstractManagedObjectDefinition<?,?> d,
String key,
Locale locale,
String... args)
Get the parameterized internationalized message associated with the
specified key and locale.
|
LocalizableMessage |
getMessage(AbstractManagedObjectDefinition<?,?> d,
String key,
String... args)
Get the parameterized internationalized message associated with the
specified key in the default locale.
|
public static ManagedObjectDefinitionI18NResource getInstance()
public static ManagedObjectDefinitionI18NResource getInstanceForProfile(String profile)
profile - The name of the profile.public LocalizableMessage getMessage(AbstractManagedObjectDefinition<?,?> d, String key)
d - The managed object definition.key - The resource key.MissingResourceException - If the key was not found.UnsupportedOperationException - If the provided managed object definition was the
TopCfgDefn.public LocalizableMessage getMessage(AbstractManagedObjectDefinition<?,?> d, String key, Locale locale)
d - The managed object definition.key - The resource key.locale - The locale.MissingResourceException - If the key was not found.UnsupportedOperationException - If the provided managed object definition was the
TopCfgDefn.public LocalizableMessage getMessage(AbstractManagedObjectDefinition<?,?> d, String key, Locale locale, String... args)
d - The managed object definition.key - The resource key.locale - The locale.args - Arguments that should be inserted into the retrieved message.MissingResourceException - If the key was not found.UnsupportedOperationException - If the provided managed object definition was the
TopCfgDefn.public LocalizableMessage getMessage(AbstractManagedObjectDefinition<?,?> d, String key, String... args)
d - The managed object definition.key - The resource key.args - Arguments that should be inserted into the retrieved message.MissingResourceException - If the key was not found.UnsupportedOperationException - If the provided managed object definition was the
TopCfgDefn.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.