public class UnlockSchedulable extends AbstractStaticSchedulable
Schedulable job which unlock an object.AbstractStaticSchedulable.SchedulableParameterParser| Modifier and Type | Field and Description |
|---|---|
private static String |
__JOBDATAMAP_OBJECT_ID_KEY |
protected AmetysObjectResolver |
_resolver
The Ametys object resolver
|
static String |
OBJECT_ID_KEY
The key for the id of the object to unlock
|
_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _smanager| Constructor and Description |
|---|
UnlockSchedulable() |
| Modifier and Type | Method and Description |
|---|---|
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, setPluginInfogetLogger, setLoggerpublic static final String OBJECT_ID_KEY
private static final String __JOBDATAMAP_OBJECT_ID_KEY
protected AmetysObjectResolver _resolver
public UnlockSchedulable()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractStaticSchedulableServiceExceptionpublic void execute(JobExecutionContext context) throws Exception
Schedulableexecute in interface Schedulableexecute in class AbstractStaticSchedulablecontext - the contextException - if an error occured