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()
ExportMetadataService
getAuthor
in interface ExportMetadataService
public java.lang.String getCreator()
ExportMetadataService
getCreator
in interface ExportMetadataService
public java.lang.String getTitle()
ExportMetadataService
getTitle
in interface ExportMetadataService
public java.lang.String getAuthor(Report report, User user)
ExportMetadataService
Report
getAuthor
in interface ExportMetadataService
report
- The Report
to get the author frompublic java.lang.String getCreator(Report report, User user)
ExportMetadataService
Report
getCreator
in interface ExportMetadataService
report
- The Report
to get the creator frompublic java.lang.String getTitle(Report report, User user)
ExportMetadataService
Report
getTitle
in interface ExportMetadataService
report
- The Report
to get the title from