-
Notifications
You must be signed in to change notification settings - Fork 703
Description
Hi,
I have a problem with the class PrintServiceImpl
While some method are protected, the constructor is private, making an extension class impossible, and making extenion of what happend when printing a birt document impossible.
Can you change that?
public class PrintServiceImpl implements PrintService {
private final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
protected static final String FILE_EXTENSION_PDF = ".pdf";
protected PrintRepository printRepo;
protected MetaFiles metaFiles;
protected String attachmentPath;
protected PrintHtmlGenerationService printHtmlGenerationService;
protected PrintPdfGenerationService printPdfGenerationService;
@Inject
public PrintServiceImpl(
PrintRepository printRepo,
MetaFiles metaFiles,
PrintHtmlGenerationService printHtmlGenerationService,
PrintPdfGenerationService printPdfGenerationService) {
this.printRepo = printRepo;
this.metaFiles = metaFiles;
this.attachmentPath = AppService.getFileUploadDir();
this.printHtmlGenerationService = printHtmlGenerationService;
this.printPdfGenerationService = printPdfGenerationService;
}