Class PdfMapConfiguration

java.lang.Object
formflow.library.pdf.PdfMapConfiguration

@Component public class PdfMapConfiguration extends Object
  • Constructor Details

    • PdfMapConfiguration

      public PdfMapConfiguration(List<PdfMap> maps)
  • Method Details

    • getPdfPathFromFlow

      public String getPdfPathFromFlow(String flow)
      Based on a specific form flow, get the PDF file path (and name) associated with that flow.
      Parameters:
      flow - The form flow to get the PDF file path for
      Returns:
      path to PDF file (including filename), prefixed with '/'
    • getPdfMap

      public PdfMap getPdfMap(String flow)
      Based on a specific form flow, get the PdfMap associated with that flow.
      Parameters:
      flow - The form flow to get the PdfMap for
      Returns:
      PdfMap object for the form flow