org.apache.isis.core.progmodel.facetdecorators.i18n
Interface I18nManager

All Superinterfaces:
org.apache.isis.core.commons.components.ApplicationScopedComponent, org.apache.isis.core.commons.components.Component
All Known Implementing Classes:
I18nManagerUsingResourceBundle

public interface I18nManager
extends org.apache.isis.core.commons.components.ApplicationScopedComponent

Authorises the user in the current session view and use members of an object.

TODO: allow description and help to be found for parameters


Method Summary
 String getDescription(org.apache.isis.applib.Identifier identifier)
          Get the localized description for the specified identified action/property.
 String getHelp(org.apache.isis.applib.Identifier identifier)
          Get the localized help text for the specified identified action/property.
 String getName(org.apache.isis.applib.Identifier identifier)
          Get the localized name for the specified identified action/property.
 List<String> getParameterNames(org.apache.isis.applib.Identifier identifier)
          Get the localized parameter names for the specified identified action/property.
 
Methods inherited from interface org.apache.isis.core.commons.components.ApplicationScopedComponent
init, shutdown
 

Method Detail

getName

String getName(org.apache.isis.applib.Identifier identifier)
Get the localized name for the specified identified action/property.

Returns null if no name available.


getDescription

String getDescription(org.apache.isis.applib.Identifier identifier)
Get the localized description for the specified identified action/property.

Returns null if no description available.


getHelp

String getHelp(org.apache.isis.applib.Identifier identifier)
Get the localized help text for the specified identified action/property.

Returns null if no help text available.


getParameterNames

List<String> getParameterNames(org.apache.isis.applib.Identifier identifier)
Get the localized parameter names for the specified identified action/property.

Returns null if no parameters are available. Otherwise returns an array of String objects the size of the number of parameters, where each element is the localised name for the corresponding parameter, or is null if no parameter name is available.



Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.