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
<T extends java.lang.Object & Markup>
MarkupList<T>
getMarkupList(javax.portlet.PortletRequest aRequest)
          Returns the portal markup list.
 

Field Detail

JNDI_NAME

static final java.lang.String JNDI_NAME
Since:
8.0.0.0
See Also:
Constant Field Values
Method Detail

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