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
|
ThemeList<Theme> |
getAdminThemeList(Context aCtx)
Return the portal theme list including the inactive themes |
|
getThemeList(Context aCtx)
Return 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
getAdminThemeList
ThemeList<Theme> getAdminThemeList(Context aCtx)
throws ModelException
- Returns the portal theme list including the inactive themes
- Parameters:
- aCtx - the COR context
- Returns:
- the theme list valid in the current request
- Throws:
- ModelException
- Since:
- 8.5 CF07