public class ApogeeSchedulable extends AbstractStaticSchedulable
Schedulable
job which synchronizes Apogee collections.AbstractStaticSchedulable.SchedulableParameterParser
Modifier and Type | Field and Description |
---|---|
private SynchronizableContentsCollectionDAO |
_synchronizableContentsCollectionDAO |
static String |
JOBDATAMAP_COLLECTIONS_KEY
The key for the collection to synchronize
|
_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _smanager
Constructor and Description |
---|
ApogeeSchedulable() |
Modifier and Type | Method and Description |
---|---|
void |
execute(JobExecutionContext context)
The action to perform when a trigger is fired.
|
void |
service(ServiceManager manager) |
protected void |
synchronizeCollections(JobExecutionContext context)
Synchronize all the collections in the collectionIds parameter.
|
acceptConcurrentExecution, configure, contextualize, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, isPrivate, setPluginInfo
getLogger, setLogger
public static final String JOBDATAMAP_COLLECTIONS_KEY
private SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
public ApogeeSchedulable()
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 synchronizeCollections(JobExecutionContext context)
context
- The execution context