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, setIssuerprivate SiteManager _siteManager
public GeneratePDFEngine()
public void initialize(ServiceManager manager, Context context) throws ContextException, ServiceException
GeneratePDFEngineinitialize in class GeneratePDFEnginemanager - 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 GeneratePDFEnginerequest - the requestIOException - if an I/O error occurs.protected String getMailSubject()
GeneratePDFEnginegetMailSubject in class GeneratePDFEngineprotected String getSiteName()