com.ibm.portal.portlet.service.model
Interface ThemeListProvider
- All Superinterfaces:
- PortletService
public interface ThemeListProvider
- extends PortletService
An interface for a provider of theme lists.
PortletServiceHome psh;
javax.naming.Context ctx = new javax.naming.InitialContext();
boolean serviceAvailable = false;
try {
psh = (PortletServiceHome) ctx.lookup("portletservice/com.ibm.portal.portlet.service.model.ThemeListProvider");
serviceAvailable = true;
} catch(javax.naming.NameNotFoundException ex) {
... error handling ...
}
...
if (serviceAvailable) {
ThemeListProvider provider = (ThemeListProvider) psh.getPortletService(ThemeListProvider.class);
ThemeList list = provider.getThemeList(aRequest, aResponse);
...
}
- Since:
- 5.1.0.1
Method Summary |
| PortletRequest)">getThemeList(PortletRequest aRequest)
Returns the portal theme list.
|
PortletRequest)">
getThemeList
<T extends java.lang.Object & Theme> ThemeList<T> getThemeList(PortletRequest aRequest)
throws ModelException
- Returns the portal theme list.
- Parameters:
- aRequest - the current request
- Returns:
- the theme list valid in the current request
- Throws:
- ModelException