com.ibm.portal.model
Interface LanguageListProvider


public interface LanguageListProvider

An interface for a provider of the language list. This is the list of portal supported locales. Context ctx = new InitialContext();
LanguageListHome home = (LanguageListHome) ctx.lookup("portal:service/model/LanguageList");
if (home != null) {
LanguageList list = home.getLanguageListProvider().getLanguageList();
...
}

Since:
5.1.0.1

Method Summary
 LanguageList getLanguageList()
          Returns the portal language list.
 LanguageList getLanguageList(ServletRequest aRequest)
          Returns the portal language list.
 

Method Detail

getLanguageList

LanguageList getLanguageList(ServletRequest aRequest)
                             throws ModelException
Returns the portal language list.

Parameters:
aRequest - the current request
Returns:
the language list valid in the current request
Throws:
ModelException - if the model cannot be returned

getLanguageList

LanguageList getLanguageList()
                             throws ModelException
Returns the portal language list.

Returns:
the current language list of the portal
Throws:
ModelException - if the model cannot be returned
Since:
6.1