|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletModelProvider
An interface for a provider of portlet models.
Context ctx = new InitialContext();
PortletModelHome home = (PortletModelHome) ctx.lookup(PortletModelHome.JNDI_HOME);
if (home != null) {
PortletModel model = home.getPortletModelProvider().getPortletModel(ctx);
...
}
Method Summary | |
---|---|
AdminPortletModel |
getAdminPortletModel(Context aCtx)
Returns the administraive portlet model applicable to the current COR context. |
PortletModel |
getPortletModel(ContentPage page,
Context aCtx)
Returns the portlet model applicable to the given page in the current COR context. |
PortletModel |
getPortletModel(Context aCtx)
Returns the portlet model for the request |
Method Detail |
---|
AdminPortletModel getAdminPortletModel(Context aCtx) throws ModelException
aCtx
- the COR context
ModelException
- in case the model cannot be obtainedPortletModel getPortletModel(ContentPage page, Context aCtx) throws ModelException
The
- content pageaCtx
- the COR context
ModelException
- in case the model cannot be obtainedPortletModel getPortletModel(Context aCtx) throws ModelException
aCtx
- the COR context
ModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |