public class ExportMetadataServiceImpl extends java.lang.Object implements ExportMetadataService
| Constructor and Description |
|---|
ExportMetadataServiceImpl(<any> author,
<any> title,
<any> creator,
<any> simpleJuelProvider)
All three elements are configurable in the Export metadata configuration
page.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Returns the configured author of the to be generated PDF file.
|
java.lang.String |
getAuthor(Report report,
User user)
Returns the author of the given
Report |
java.lang.String |
getCreator()
Returns the configured creator of the to be generated PDF file.
|
java.lang.String |
getCreator(Report report,
User user)
Returns the creator of the given
Report |
java.lang.String |
getTitle()
Returns the configured title of the to be generated PDF file.
|
java.lang.String |
getTitle(Report report,
User user)
Returns the title of the given
Report |
public ExportMetadataServiceImpl(<any> author,
<any> title,
<any> creator,
<any> simpleJuelProvider)
author - The author of the to be generated PDF file.title - The title of the to be generated PDF file.creator - The creator of the to be generated PDF file.public java.lang.String getAuthor()
ExportMetadataServicegetAuthor in interface ExportMetadataServicepublic java.lang.String getCreator()
ExportMetadataServicegetCreator in interface ExportMetadataServicepublic java.lang.String getTitle()
ExportMetadataServicegetTitle in interface ExportMetadataServicepublic java.lang.String getAuthor(Report report, User user)
ExportMetadataServiceReportgetAuthor in interface ExportMetadataServicereport - The Report to get the author frompublic java.lang.String getCreator(Report report, User user)
ExportMetadataServiceReportgetCreator in interface ExportMetadataServicereport - The Report to get the creator frompublic java.lang.String getTitle(Report report, User user)
ExportMetadataServiceReportgetTitle in interface ExportMetadataServicereport - The Report to get the title from