Package lumis.portal.servicecontainer
Class ServiceContainer
- java.lang.Object
-
- lumis.portal.servicecontainer.ServiceContainer
-
public class ServiceContainer extends java.lang.Object
Container responsible for rendering all Lumis Services- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ORIGIN_PAGE_WEB_RESOURCE_ATTRIBUTE_NAME
-
Constructor Summary
Constructors Constructor Description ServiceContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getAccessDeniedOutput(ServiceContainerRenderRequest renderRequest, ITransaction portalTransaction)
void
init()
ITransaction
processServiceInterfaceInstanceAction(ServiceContainerActionRequest actionRequest, ServiceContainerActionResponse actionResponse, ITransaction portalTransaction)
Processes the action for a service interface instance.java.lang.String
renderServiceInterfaceInstance(ServiceContainerRenderRequest renderRequest, ServiceContainerRenderResponse renderResponse, ITransaction portalTransaction)
Renders a single service interface instance.
-
-
-
Field Detail
-
ORIGIN_PAGE_WEB_RESOURCE_ATTRIBUTE_NAME
public static final java.lang.String ORIGIN_PAGE_WEB_RESOURCE_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init() throws java.lang.Exception
- Throws:
java.lang.Exception
-
renderServiceInterfaceInstance
public java.lang.String renderServiceInterfaceInstance(ServiceContainerRenderRequest renderRequest, ServiceContainerRenderResponse renderResponse, ITransaction portalTransaction) throws ServiceException, PortalException
Renders a single service interface instance. If specified, a xsl transformation may be applied on the return value of the service interface instance.- Parameters:
renderRequest
- the render request.renderResponse
- the render response.portalTransaction
- the transaction for persistence access.- Returns:
- the rendered markup.
- Throws:
PortalException
- if the process action could not be executed. This exception will have been logged as an error by this method.ServiceException
-
getAccessDeniedOutput
protected java.lang.String getAccessDeniedOutput(ServiceContainerRenderRequest renderRequest, ITransaction portalTransaction) throws ServiceException, PortalException
- Throws:
ServiceException
PortalException
-
processServiceInterfaceInstanceAction
public ITransaction processServiceInterfaceInstanceAction(ServiceContainerActionRequest actionRequest, ServiceContainerActionResponse actionResponse, ITransaction portalTransaction) throws PortalException
Processes the action for a service interface instance.- Parameters:
actionRequest
- the process action request.actionResponse
- the process action response.portalTransaction
- the transaction for persistence access.- Throws:
PortalException
- if the process action could not be executed. This exception will have been logged as an error by this method.
-
-