com.ibm.portal.cor.service
Interface ThemeListProvider
public interface ThemeListProvider
An interface for a provider of theme lists.
Context ctx = new InitialContext();
com.ibm.portal.cor.service.ThemeListHome home = (com.ibm.portal.cor.service.ThemeListHome) ctx.lookup(com.ibm.portal.cor.service.ThemeListHome.JNDI_NAME);
if (home != null) {
ThemeList list = home.getThemeListProvider().getThemeList();
...
}
- Since:
- 6.1.0.1
Method Summary |
|
getThemeList(Context aCtx)
Returns the theme list model applicable in the COR context request. |
getThemeList
<T extends java.lang.Object & Theme> ThemeList<T> getThemeList(Context aCtx)
throws ModelException
- Returns the theme list model applicable in the COR context request.
- Parameters:
aCtx
- the COR context
- Returns:
- the theme list model valid in the current context
- Throws:
ModelException
- in case the model cannot be obtained