com.ibm.portal.portlet.service.model
Interface MarkupListProvider
- All Superinterfaces:
- PortletService
public interface MarkupListProvider
- extends PortletService
An interface for a provider of markup 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.MarkupListProvider");
serviceAvailable = true;
} catch(javax.naming.NameNotFoundException ex) {
... error handling ...
}
...
if (serviceAvailable) {
MarkupListProvider provider = (MarkupListProvider) psh.getPortletService(MarkupListProvider.class);
MarkupList list = provider.getMarkupList(aRequest, aResponse);
...
}
- Since:
- 5.1.0.1
Method Summary |
| PortletRequest)">getMarkupList(PortletRequest aRequest)
Returns the portal markup list.
|
PortletRequest)">
getMarkupList
<T extends java.lang.Object & Markup> MarkupList<T> getMarkupList(PortletRequest aRequest)
throws ModelException
- Returns the portal markup list.
- Parameters:
- aRequest - the current request
- Returns:
- the markup list valid in the current request
- Throws:
- ModelException