Class DocumentService


  • @Service
    public class DocumentService
    extends Object
    Service for rendering documents.
    Since:
    9.2
    Author:
    A.Pragt
    • Constructor Detail

      • DocumentService

        public DocumentService()
    • 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.