PREV CLASS
NEXT CLASS
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(com.ibm.portal.portlet.service.model.MarkupListProvider.JNDI_NAME);
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
Field Summary
|
static java.lang.String |
JNDI_NAME
|
Method Summary
|
|
getMarkupList(javax.portlet.PortletRequest aRequest)
Return the portal markup list. |
JNDI_NAME
static final java.lang.String JNDI_NAME
- Since:
- 8.0.0.0
- See Also:
- Constant Field Values
getMarkupList
<T extends java.lang.Object & Markup> MarkupList<T> getMarkupList(javax.portlet.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
PREV CLASS
NEXT CLASS