|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.serviceinterface.GenericServiceInterface
lumis.service.wsrp.consumer.RemotePortletServiceInterface
public class RemotePortletServiceInterface
Service interface used to represent a remote portlet consumed through WSRP.
Constructor Summary | |
---|---|
RemotePortletServiceInterface()
|
Method Summary | |
---|---|
void |
processAction(IServiceInterfaceActionRequest interfaceRequest,
IServiceInterfaceActionResponse interfaceResponse)
Called by the service interface container to allow the service interface to process an action request. |
void |
render(IServiceInterfaceRenderRequest request,
IServiceInterfaceRenderResponse response)
Called by the service interface container to allow the service interface to generate the content of the response based on its current state. |
Methods inherited from class lumis.portal.serviceinterface.GenericServiceInterface |
---|
instanceAdded, instanceDeleted, instanceLoaded, instanceUnLoaded, load, register, renderBefore, unload |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemotePortletServiceInterface()
Method Detail |
---|
public void render(IServiceInterfaceRenderRequest request, IServiceInterfaceRenderResponse response) throws PortalException
IServiceInterface
render
in interface IServiceInterface
render
in class GenericServiceInterface
request
- the render requestresponse
- the render response
ServiceInterfaceException
- if the service interface has problems fulfilling the rendering request
PortalException
- if the service interface is unavailable to perform render at this timepublic void processAction(IServiceInterfaceActionRequest interfaceRequest, IServiceInterfaceActionResponse interfaceResponse) throws PortalException
IServiceInterface
RenderResponse.createActionURL()
method.
Typically, in response to an action request, a service interface updates state based on the information sent in the action request parameters. In an action the service interface may:
A client request triggered by an action URL translates into one action request and many render requests, one per service interface in the portal page. The action processing must be finished before the render requests can be issued.
processAction
in interface IServiceInterface
processAction
in class GenericServiceInterface
interfaceRequest
- the action requestinterfaceResponse
- the action response
ServiceInterfaceException
- if the service interface has problems fulfilling the request
PortalException
- if the service interface is unavailable to process the action at this time
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |