Class HibernatePrintJob
- java.lang.Object
-
- org.mapfish.print.servlet.job.PrintJob
-
- org.mapfish.print.servlet.job.impl.hibernate.HibernatePrintJob
-
- All Implemented Interfaces:
java.util.concurrent.Callable<PrintJobResult>
public class HibernatePrintJob extends PrintJob
A PrintJob implementation that write results to the database.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mapfish.print.servlet.job.PrintJob
PrintJob.PrintAction, PrintJob.PrintResult
-
-
Constructor Summary
Constructors Constructor Description HibernatePrintJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PrintJobResult
createResult(java.lang.String fileName, java.lang.String fileExtension, java.lang.String mimeType)
Create Print Job Result.-
Methods inherited from class org.mapfish.print.servlet.job.PrintJob
call, deleteReport, getEntry, getReportFile, setEntry, setSecurityContext, withOpenOutputStream
-
-
-
-
Method Detail
-
createResult
protected final PrintJobResult createResult(java.lang.String fileName, java.lang.String fileExtension, java.lang.String mimeType) throws java.net.URISyntaxException, java.io.IOException
Description copied from class:PrintJob
Create Print Job Result.- Specified by:
createResult
in classPrintJob
- Parameters:
fileName
- the file namefileExtension
- the file extensionmimeType
- the mime type- Returns:
- the job result
- Throws:
java.net.URISyntaxException
java.io.IOException
-
-