public class ContentExportSchedulable extends AbstractStaticSchedulable
Schedulable
job which delete classified ads after an defined number of daysAbstractStaticSchedulable.SchedulableParameterParser
Modifier and Type | Field and Description |
---|---|
protected ExportManager |
_exportManager
The export manager
|
protected I18nUtils |
_i18nTranslator
The i18n translator
|
_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _schedulableParameterTypeExtensionPoint, _smanager
Constructor and Description |
---|
ContentExportSchedulable() |
Modifier and Type | Method and Description |
---|---|
protected void |
_sendMail(boolean error)
Send the mail report
|
void |
execute(JobExecutionContext context)
The action to perform when a trigger is fired.
|
void |
service(ServiceManager manager) |
acceptConcurrentExecution, configure, contextualize, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, isPrivate, setPluginInfo
getLogger, setLogger
protected ExportManager _exportManager
protected I18nUtils _i18nTranslator
public ContentExportSchedulable()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractStaticSchedulable
ServiceException
public void execute(JobExecutionContext context) throws Exception
Schedulable
execute
in interface Schedulable
execute
in class AbstractStaticSchedulable
context
- the contextException
- if an error occuredprotected void _sendMail(boolean error) throws javax.mail.MessagingException
error
- true if some error occurredjavax.mail.MessagingException
- if a messaging error occurred