com.ibm.portal.cor.service
Interface LanguageListProvider


public interface LanguageListProvider

An interface for a provider of language lists. Context ctx = new InitialContext();
com.ibm.portal.cor.service.LanguageListHome home = (com.ibm.portal.cor.service.LanguageListHome) ctx.lookup(com.ibm.portal.cor.service.LanguageListHome.JNDI_NAME);
if (home != null) {
LanguageList list = home.getLanguageListProvider().getLanguageList();
...
}

Since:
7.0

Method Summary
<T extends java.lang.Object & Language>
LanguageList<T>
getLanguageList(Context aCtx)
          Returns the language list model applicable in the COR context request.
 

Method Detail

getLanguageList

<T extends java.lang.Object & Language> LanguageList<T> getLanguageList(Context aCtx)
                                                                   throws ModelException
Returns the language list model applicable in the COR context request.

Parameters:
aCtx - the COR context
Returns:
the language list model valid in the current context
Throws:
ModelException - in case the model cannot be obtained