Class AbstractArchiveSchedulable
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
-
- org.ametys.plugins.contentio.archive.AbstractArchiveSchedulable
-
- All Implemented Interfaces:
Schedulable
,LogEnabled
,PluginAware
,Component
,Configurable
,Contextualizable
,Serviceable
- Direct Known Subclasses:
ExportArchiveSchedulable
,ImportArchiveSchedulable
abstract class AbstractArchiveSchedulable extends AbstractStaticSchedulable
Common code forExportArchiveSchedulable
andImportArchiveSchedulable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
AbstractStaticSchedulable.SchedulableParameterParser
-
-
Field Summary
Fields Modifier and Type Field Description protected ArchiveHandler
_archiveHandler
protected I18nUtils
_i18nUtils
protected UserManager
_userManager
-
Fields inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _schedulableParameterTypeExtensionPoint, _smanager
-
-
Constructor Summary
Constructors Constructor Description AbstractArchiveSchedulable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
_getUserEmail()
protected void
_sendMail(String subject, String body, String userEmail)
void
service(ServiceManager manager)
-
Methods inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
_getLaunchUser, _getLaunchUserIdentity, acceptConcurrentExecution, configure, contextualize, execute, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, isPrivate, setPluginInfo
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
_i18nUtils
protected I18nUtils _i18nUtils
-
_userManager
protected UserManager _userManager
-
_archiveHandler
protected ArchiveHandler _archiveHandler
-
-
Constructor Detail
-
AbstractArchiveSchedulable
AbstractArchiveSchedulable()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractStaticSchedulable
- Throws:
ServiceException
-
_getUserEmail
protected final String _getUserEmail()
-
-