Class PrintJobResultImpl
- java.lang.Object
-
- org.mapfish.print.servlet.job.impl.PrintJobResultImpl
-
- All Implemented Interfaces:
PrintJobResult
- Direct Known Subclasses:
PrintJobResultExtImpl
@Entity public class PrintJobResultImpl extends java.lang.Object implements PrintJobResult
Print Job Result.
-
-
Constructor Summary
Constructors Constructor Description PrintJobResultImpl()
Default Constructor.PrintJobResultImpl(java.net.URI reportURI, java.lang.String fileName, java.lang.String fileExtension, java.lang.String mimeType, java.lang.String referenceId)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileExtension()
Get the file extension.java.lang.String
getFileName()
Get the file name.java.lang.String
getMimeType()
Get the report mime type.java.net.URI
getReportURI()
Get the report URI.java.lang.String
getReportURIString()
Get the report URI as String.
-
-
-
Constructor Detail
-
PrintJobResultImpl
public PrintJobResultImpl()
Default Constructor.
-
PrintJobResultImpl
public PrintJobResultImpl(java.net.URI reportURI, java.lang.String fileName, java.lang.String fileExtension, java.lang.String mimeType, java.lang.String referenceId)
Constructor.- Parameters:
reportURI
- the report URIfileName
- the file namefileExtension
- the file extensionmimeType
- the mime typereferenceId
- the reference ID
-
-
Method Detail
-
getReportURI
public java.net.URI getReportURI()
Description copied from interface:PrintJobResult
Get the report URI.- Specified by:
getReportURI
in interfacePrintJobResult
-
getReportURIString
public java.lang.String getReportURIString()
Description copied from interface:PrintJobResult
Get the report URI as String.- Specified by:
getReportURIString
in interfacePrintJobResult
-
getMimeType
public java.lang.String getMimeType()
Description copied from interface:PrintJobResult
Get the report mime type.- Specified by:
getMimeType
in interfacePrintJobResult
-
getFileExtension
public java.lang.String getFileExtension()
Description copied from interface:PrintJobResult
Get the file extension.- Specified by:
getFileExtension
in interfacePrintJobResult
-
getFileName
public java.lang.String getFileName()
Description copied from interface:PrintJobResult
Get the file name.- Specified by:
getFileName
in interfacePrintJobResult
-
-