Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.pcm
Interface PortalDialogModelHome
public interface PortalDialogModelHome
Home interface for JNDI based lookups for PortalDialogModelProvider.
A lookup for the DialogModel can be performed as follows:
Context ctx = new InitialContext();
PortalDialogModelHome home = (PortalDialogModelHome) ctx.lookup(PortalDialogModelHome.JNDI_NAME);
if (home != null) {
DialogModel model = home.getPortalDialogModelProvider().getDialogModel(aRequest, aResponse);
...
}
Note: The home object or the model provider should be held as long as possible, i. e. only the lookup to the model, which is request dependent, should be performed on every request.
- Since:
- 8.0.0
Field Summary static java.lang.String JNDI_NAME
The JNDI lookup name for this home object.
Method Summary PortalDialogModelProvider getPortalDialogModelProvider()
Return a dialog model provider.
Field Detail JNDI_NAME
static final java.lang.String JNDI_NAME
- The JNDI lookup name for this home object.
- See Also:
- Constant Field Values
Method Detail getPortalDialogModelProvider
PortalDialogModelProvider getPortalDialogModelProvider()
- Returns a dialog model provider.
- Returns:
- the provider, never null
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD