Package com.aquima.web.api.service
Class DocumentService
- java.lang.Object
-
- com.aquima.web.api.service.DocumentService
-
@Service public class DocumentService extends Object
Service for rendering documents.- Since:
- 9.2
- Author:
- A.Pragt
-
-
Constructor Summary
Constructors Constructor Description DocumentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.aquima.interactions.framework.handler.document.DocumentResult
renderDocument(String type, String documentName, String pageName, com.aquima.interactions.portal.IPortalSession session)
Renders the specified document.
-
-
-
Method Detail
-
renderDocument
public com.aquima.interactions.framework.handler.document.DocumentResult renderDocument(String type, String documentName, String pageName, com.aquima.interactions.portal.IPortalSession session)
Renders the specified document.- Parameters:
type
- The desired output type, not null.documentName
- The name of the document, nullable either this or pageName can be null.pageName
- The name of the page, nullable either this or documentName can be null.session
- The context session, not null.- Returns:
- The rendered document.
-
-