You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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";
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;
}
The text was updated successfully, but these errors were encountered: