public class GeneratePDFEngine extends GeneratePDFEngine
Modifier and Type | Field and Description |
---|---|
private SiteManager |
_siteManager |
_catalogRootDirectory, _context, _contextualParameters, _environmentContext, _i18nUtils, _initialized, _LOGGER, _mailFrom, _manager, _sourceResolver
Constructor and Description |
---|
GeneratePDFEngine() |
Modifier and Type | Method and Description |
---|---|
protected void |
_doGeneratePDF(Request request)
Generate the PDF file
|
protected String |
getMailSubject()
Get the subject of mail
|
protected String |
getSiteName()
Get the site name
|
void |
initialize(ServiceManager manager,
Context context)
Initialize the alert engine.
|
_checkInitialization, _dispose, _generatePDF, _sendMail, configure, getFailureMailBody, getLanguage, getSuccessMailBody, isRunning, run, setCatalog, setContextualParameters, setIssuer
private SiteManager _siteManager
public GeneratePDFEngine()
public void initialize(ServiceManager manager, Context context) throws ContextException, ServiceException
GeneratePDFEngine
initialize
in class GeneratePDFEngine
manager
- the avalon service manager.context
- the avalon context.ContextException
- if an error occurs retrieving the environment context.ServiceException
- if an error occurs retrieving a component.protected void _doGeneratePDF(Request request) throws IOException
GeneratePDFEngine
_doGeneratePDF
in class GeneratePDFEngine
request
- the requestIOException
- if an I/O error occurs.protected String getMailSubject()
GeneratePDFEngine
getMailSubject
in class GeneratePDFEngine
protected String getSiteName()