|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EditionServiceProvider
Portlet service interface of the EditionService. An instance can be obtained as follows:
PortletServiceHome psh;
final javax.naming.Context ctx = new javax.naming.InitialContext();
try {
psh = (PortletServiceHome) ctx.lookup(EditionServiceProvider.JNDI_NAME);
} catch(javax.naming.NameNotFoundException e) {
... error handling ...
}
...
// Get the provider
final EditionServiceProvider provider =
(EditionServiceProvider) psh.getPortletService(EditionServiceProvider.class);
// Get the WcmPageContextService
final EditionService service = provider.getEditionService(request, response)
...
| Field Summary | |
|---|---|
static java.lang.String |
JNDI_NAME
The JNDI name used to lookup the PortletServiceHome for the editionServiceProvider. |
| Method Summary | |
|---|---|
EditionService |
getEditionService(PortletRequest request,
PortletResponse response)
Gets an instance of the EditionService. |
EditionService |
getEditionService(PortletRequest request,
PortletResponse response,
Workspace workspace)
Gets an instance of the EditionService. |
| Field Detail |
|---|
static final java.lang.String JNDI_NAME
PortletServiceHome for the editionServiceProvider.
| Method Detail |
|---|
EditionService getEditionService(PortletRequest request,
PortletResponse response)
throws EditionServiceNotAvailableException
EditionService.
request - PortletRequestresponse - PortletResponse
EditionService
EditionServiceNotAvailableException
EditionService getEditionService(PortletRequest request,
PortletResponse response,
Workspace workspace)
throws EditionServiceNotAvailableException
EditionService.
request - PortletRequestresponse - PortletResponseworkspace - WCM workspace to be used by the service.
EditionService
EditionServiceNotAvailableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||