org.jasig.portal.channels.adminnav
Interface ILabelResolver

All Known Implementing Classes:
ResourceBundleResolver

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public interface ILabelResolver

Provides a callback mechanism for the admin nav channel to aquire a localized version of a lable for a registered link exposed in its interface.

Author:
mboyd@sungardsct.com

Method Summary
 String getExternalForm()
          Deprecated. Returns any information in String form that would assist in identifying how the implementing resolver were configured.
 String getLabel(String labelId, Locale locale)
          Deprecated. Returns the localized label for the given label identifier and locale or null if one is not found.
 

Method Detail

getLabel

String getLabel(String labelId,
                Locale locale)
Deprecated. 
Returns the localized label for the given label identifier and locale or null if one is not found.

Parameters:
labelId -
locale -
Returns:
String localized label

getExternalForm

String getExternalForm()
Deprecated. 
Returns any information in String form that would assist in identifying how the implementing resolver were configured. This method is typically called when no label was available for a given labelId as part of providing a label that provides troubleshooting semantics. Typically, such a label will consist of the following concatenated information:
 "???" +
  +
 "{" +  + "}" +
 "[" +  + "]"
 
The external form and wrapping braces are only included if this method returns a non-null, non-empty String.

Returns:
String reslver configuration


Copyright © 2010 Jasig. All Rights Reserved.