public class CronJobManager extends GeneratedCronJobManager
Trigger handling.Extension.RestrictedLanguagesProvider, Extension.RightsProviderManager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_NAME |
static CronJobLogListener |
cronjobLogger |
static de.hybris.platform.cronjob.jalo.CronJobManager.CronJobTenantListener |
listener |
static String |
LOADONSTARTUP_CONFIG_PARAM |
DEFAULT_INITIAL_ATTRIBUTES| Constructor and Description |
|---|
CronJobManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abortRunningCronJobsForClusterNode(int nodeID)
Deprecated.
use
CronJobService.requestAbortCronJob(de.hybris.platform.cronjob.model.CronJobModel)
instead to abort a specific cronJob. Note that since 4.3 aborting the cronJob on the distant node is
not possible. |
void |
afterItemCreation(SessionContext ctx,
ComposedType type,
Item createdItem,
Item.ItemAttributeMap attributes)
Overwritten to trigger re-poll whenever a new task item has been created.
|
protected void |
checkBeforeItemRemoval(SessionContext ctx,
Item item)
Superclass method overridden to avoid calls to ejb layer.
|
BatchJob |
createBatchJob(Map params)
Deprecated.
BatchJob is obsolete since 4.3 |
BatchJob |
createBatchJob(SessionContext ctx,
Map params)
Deprecated.
BatchJob is obsolete since 4.3 |
BatchJob |
createBatchJob(String code)
Deprecated.
since 4.3
BatchJob is obsolete |
ChangeDescriptor |
createChangeDescriptor(Map params)
Deprecated.
use plain
ChangeDescriptorModel creation instead, refer to
wiki documentation |
ChangeDescriptor |
createChangeDescriptor(SessionContext ctx,
Map params)
Deprecated.
use plain
ChangeDescriptorModel creation instead, refer to
wiki documentation |
CronJob |
createCronJob(Job job,
String code,
boolean active)
Deprecated.
use plain
CronJobModel creation instead, refer to wiki
documentation |
CronJob |
createCronJob(Job job,
String code,
boolean active,
int node)
Deprecated.
use plain
CronJobModel creation instead, refer to wiki
documentation |
CronJob |
createCronJob(Map params)
Deprecated.
use plain
CronJobModel creation instead, refer to wiki
documentation |
CronJob |
createCronJob(SessionContext ctx,
Map params)
Deprecated.
use plain
CronJobModel creation instead, refer to wiki
documentation |
CSVExportStep |
createCSVExportStep(Map params)
Deprecated.
since 4.3
Step is obsolete |
CSVExportStep |
createCSVExportStep(SessionContext ctx,
Map params)
Deprecated.
since 4.3
Step is obsolete |
void |
createEssentialData(Map params,
JspContext jspc) |
FlexibleSearchCronJob |
createFlexibleSearchCronJob(Map params)
Deprecated.
FlexibleSearchCronJob is obsolete since 4.3 |
FlexibleSearchCronJob |
createFlexibleSearchCronJob(SessionContext ctx,
Map params)
Deprecated.
FlexibleSearchCronJob is obsolete since 4.3 |
GenericCSVImportStep |
createGenericCSVImportStep(Map params)
Deprecated.
since 4.3
Step is obsolete |
GenericCSVImportStep |
createGenericCSVImportStep(SessionContext ctx,
Map params)
Deprecated.
since 4.3
Step is obsolete |
GetURLStep |
createGetURLStep(Map params)
Deprecated.
since 4.3
Step is obsolete |
GetURLStep |
createGetURLStep(SessionContext ctx,
Map params)
Deprecated.
since 4.3
Step is obsolete |
JobLog |
createJobLog(Map params)
Deprecated.
there should be used a
JobLogModel directly instead |
JobLog |
createJobLog(SessionContext ctx,
Map params)
Deprecated.
there should be used a
JobLogModel directly instead |
JobMedia |
createJobMedia(Map params)
Deprecated.
there should be used a
JobMediaModel directly instead |
JobMedia |
createJobMedia(SessionContext ctx,
Map params)
Deprecated.
there should be used a
JobMediaModel directly instead |
MediaProcessCronJob |
createMediaProcessCronJob(Map params)
Deprecated.
there should be used a
MediaProcessCronJobModel directly
instead |
MediaProcessCronJob |
createMediaProcessCronJob(SessionContext ctx,
Map params)
Deprecated.
there should be used a
MediaProcessCronJobModel directly
instead |
Trigger |
createTrigger(CronJob cronJob,
Date date)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(CronJob cronJob,
int second,
boolean relative)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(CronJob cronJob,
int second,
int minute,
boolean relative)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(CronJob cronJob,
int second,
int minute,
int hour,
boolean relative)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(CronJob cronJob,
int second,
int minute,
int hour,
int day,
boolean relative)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(CronJob cronJob,
int second,
int minute,
int hour,
int day,
int month,
boolean relative)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(CronJob cronJob,
int second,
int minute,
int hour,
int day,
int month,
int year)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(CronJob cronJob,
int second,
int minute,
int hour,
int day,
int month,
int year,
List daysOfWeek,
boolean relative)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(CronJob cronJob,
int second,
int minute,
int hour,
List daysOfWeek,
boolean relative)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(Map params)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
Trigger |
createTrigger(SessionContext ctx,
Map params)
Deprecated.
use plain
TriggerModel creation instead, refer to wiki
documentation |
TypeSystemExportJob |
createTypeSystemExportJob(Map params)
Deprecated.
TypeSystemExportJob is obsolete since 4.3 |
TypeSystemExportJob |
createTypeSystemExportJob(SessionContext ctx,
Map params)
Deprecated.
TypeSystemExportJob is obsolete since 4.3 |
TypeSystemExportJob |
createTypeSystemExportJob(String code)
Deprecated.
TypeSystemExportJob is obsolete since 4.3 |
URLCronJob |
createURLCronJob(Map params)
Deprecated.
URLCronJob is obsolete since 4.3 |
URLCronJob |
createURLCronJob(SessionContext ctx,
Map params)
Deprecated.
URLCronJob is obsolete since 4.3 |
protected void |
doStart(String cronJobPK) |
protected TriggerTask |
findTaskForTrigger(Trigger trigger)
Searches for Task for the given Trigger.
|
Collection<Trigger> |
getActiveTriggers()
Deprecated.
as of release 4.3, please use
TriggerService.getActiveTriggers() |
Collection<Trigger> |
getActiveTriggers(Date date)
Deprecated.
as of release 4.3, please use
TriggerService.getActiveTriggers(Calendar) |
protected String |
getCronjobBroadcastMessagePrefix() |
MediaFolder |
getCronJobMediaFolder()
Deprecated.
use plain
MediaFolderModel creation instead, refer to wiki
documentation |
RendererTemplate |
getDefaultCronJobFinishNotificationTemplate()
Deprecated.
use
de.hybris.platform.commons.renderer.RendererService#getRendererTemplateForCode(String)
instead |
static CronJobManager |
getInstance()
Returns the CronJobManager instance.
|
static CronJobManager |
getInstance(Tenant tenant) |
Job |
getJob(String code)
Deprecated.
use plain
JobModel creation instead, refer to wiki
documentation |
String |
getNextConjobNumber()
Deprecated.
please use
getNextCronjobNumber() instead! |
String |
getNextCronjobNumber() |
MoveMediaJob |
getOrCreateMoveMediaJob()
Deprecated.
use
CronJobService.getJob(String) instead with spring
bean of MoveMediaJobPerformable as parameter value. |
Collection<CronJob> |
getRunningOrRestartedCronJobsForNode(int nodeID)
Deprecated.
use
CronJobService.getRunningOrRestartedCronJobs()
instead. |
protected TaskEngine |
getTaskEngine() |
void |
init()
Deprecated.
|
boolean |
isCreatorDisabled()
Part of
DataCreator interface. |
void |
notifyInitializationEnd(Map params,
JspContext ctx) |
void |
notifyInitializationStart(Map<String,String> params,
JspContext ctx) |
protected void |
notifyItemRemoval(SessionContext ctx,
Item item)
Superclass method overridden to avoid calls to ejb layer.
|
void |
onFirstSessionCreation()
Is called on first session creation (while startup) exactly one time.
|
void |
performOnOtherNode(int nodeID,
CronJob cronJob)
Deprecated.
|
protected AfterCronJobCrashAbortEvent |
prepareCrashAbortEvent(CronJob cj) |
protected void |
processStartMessage(String str) |
protected void |
sendAfterCronJobCrashAbortEvent(AfterCronJobCrashAbortEvent evt) |
void |
setKeyGenerator(KeyGenerator keyGenerator) |
protected void |
startTaskEngine()
Starts the actual task engine.
|
static void |
startTimerTask()
Deprecated.
- Since 5.5.1 explicit CronJob management should not be done, because CronJobs are handled by
TaskEngine
|
protected void |
startupCronjobEngine() |
protected void |
stopConjobEngine() |
protected void |
stopTaskEngine()
Stops the task engine.
|
static void |
stopTimerTask()
Deprecated.
- Since 5.5.1 explicit CronJob management should not be done, because CronJobs are handled by
TaskEngine
|
createBatch, createBatch, createBusinessProcess, createBusinessProcess, createBusinessProcessParameter, createBusinessProcessParameter, createCleanUpCronJob, createCleanUpCronJob, createCleanupDynamicProcessDefinitionsCronJob, createCleanupDynamicProcessDefinitionsCronJob, createCompositeCronJob, createCompositeCronJob, createCompositeEntry, createCompositeEntry, createCompositeJob, createCompositeJob, createDistributedProcess, createDistributedProcess, createDistributedProcessTransitionTask, createDistributedProcessTransitionTask, createDistributedProcessWorkerTask, createDistributedProcessWorkerTask, createDynamicMaintenanceCleanupJob, createDynamicMaintenanceCleanupJob, createDynamicProcessDefinition, createDynamicProcessDefinition, createJobSearchRestriction, createJobSearchRestriction, createLogFile, createLogFile, createMaintenanceCleanupJob, createMaintenanceCleanupJob, createMediaFolderStructureMigrationCronJob, createMediaFolderStructureMigrationCronJob, createMoveMediaCronJob, createMoveMediaCronJob, createMoveMediaJob, createMoveMediaJob, createProcessTask, createProcessTask, createProcessTaskLog, createProcessTaskLog, createRemoveItemsCronJob, createRemoveItemsCronJob, createRemoveItemsJob, createRemoveItemsJob, createScriptingJob, createScriptingJob, createScriptingTask, createScriptingTask, createServicelayerJob, createServicelayerJob, createSimpleAction, createSimpleAction, createSimpleBatch, createSimpleBatch, createSimpleDistributedProcess, createSimpleDistributedProcess, createTask, createTask, createTaskCondition, createTaskCondition, createTriggerTask, createTriggerTask, getDefaultAttributeModes, getNamecreateProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, writeReplacebeforeItemCreation, destroy, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, setAttribute, setTenant, setTransientObject, unwrap, unwrap, wrappublic static final String LOADONSTARTUP_CONFIG_PARAM
public static final String BEAN_NAME
public static final de.hybris.platform.cronjob.jalo.CronJobManager.CronJobTenantListener listener
public static final CronJobLogListener cronjobLogger
@Deprecated public void init()
Managerpublic void setKeyGenerator(KeyGenerator keyGenerator)
protected void processStartMessage(String str)
protected void doStart(String cronJobPK)
@Deprecated public void performOnOtherNode(int nodeID, CronJob cronJob)
CronJobService.performCronJob(de.hybris.platform.cronjob.model.CronJobModel)
instead.nodeID - the node to perform this cronjob atcronJob - the cronjob to performpublic void onFirstSessionCreation()
ExtensiononFirstSessionCreation in class Extensionprotected void startupCronjobEngine()
protected void stopConjobEngine()
protected String getCronjobBroadcastMessagePrefix()
public static CronJobManager getInstance()
public static CronJobManager getInstance(Tenant tenant)
protected void checkBeforeItemRemoval(SessionContext ctx, Item item) throws ConsistencyCheckException
checkBeforeItemRemoval in class Extensionctx - the current session contextitem - the item which should be removedConsistencyCheckException - thrown to abort removal due to consistency errorsprotected void notifyItemRemoval(SessionContext ctx, Item item)
notifyItemRemoval in class Extensionctx - the currency session contextitem - the item which is going to be removed@Deprecated public BatchJob createBatchJob(String code)
BatchJob is obsoleteBatchJob with the specified code.code - the code of the new BatchJobBatchJob@Deprecated public CronJob createCronJob(Job job, String code, boolean active)
CronJobModel creation instead, refer to wiki
documentationJob, with the specified code and active flag. The node id of the
new CronJob is set to the value configured in the project|local.properties file in the extension
directory with the 'cronjob.clusterid' property.job - the Job which should be performed using this new CronJobcode - the code of the new CronJobactive - true, if the new CronJob should be active. false, if the
CronJob should be inactiveCronJob@Deprecated public CronJob createCronJob(Job job, String code, boolean active, int node)
CronJobModel creation instead, refer to wiki
documentationJob, with the specified code and active flag. The node id of the
new CronJob is set to the value configured in the project|local.properties file in the extension
directory with the 'cronjob.mastermode' property.job - the Job which should be performed using this new CronJobcode - the code of the new CronJobactive - true, if the new CronJob should be active. false, if the
CronJob should be inactivenode - the id of the node, this CronJob should be executed onCronJob@Deprecated public TypeSystemExportJob createTypeSystemExportJob(String code)
TypeSystemExportJob is obsolete since 4.3TypeSystemExportJob instance with the specified code.code - the code of the new TypeSystemExportJobTypeSystemExportJob instance with the specified code@Deprecated public Trigger createTrigger(CronJob cronJob, Date date)
TriggerModel creation instead, refer to wiki
documentationcronJob - the cronjob to performdate - the date to perform cronjob at@Deprecated public Trigger createTrigger(CronJob cronJob, int second, boolean relative)
TriggerModel creation instead, refer to wiki
documentationTrigger for the specified CronJob.cronJob - the CronJob the Trigger should be assigned tosecond - the second at which the Trigger should fire (0-59 or -1 for every second)relative - true if time values should be considered relative to each other or false if not@Deprecated public Trigger createTrigger(CronJob cronJob, int second, int minute, boolean relative)
TriggerModel creation instead, refer to wiki
documentationTrigger for the specified CronJob.cronJob - the CronJob the Trigger should be assigned tosecond - the second at which the Trigger should fire (0-59 or -1 for every second)minute - the minute at which the Trigger should fire (0-59 or -1 for every minute)relative - true if time values should be considered relative to each other or false if not@Deprecated public Trigger createTrigger(CronJob cronJob, int second, int minute, int hour, boolean relative)
TriggerModel creation instead, refer to wiki
documentationTrigger for the specified CronJob.cronJob - the CronJob the Trigger should be assigned tosecond - the second at which the Trigger should fire (0-59 or -1 for every second)minute - the minute at which the Trigger should fire (0-59 or -1 for every minute)hour - hour at which the Trigger should fire (0-23 or -1 for every hour)relative - true if time values should be considered relative to each other or false if not@Deprecated public Trigger createTrigger(CronJob cronJob, int second, int minute, int hour, int day, boolean relative)
TriggerModel creation instead, refer to wiki
documentationTrigger for the specified CronJob.cronJob - the CronJob the Trigger should be assigned tosecond - the second at which the Trigger should fire (0-59 or -1 for every second)minute - the minute at which the Trigger should fire (0-59 or -1 for every minute)hour - hour at which the Trigger should fire (0-23 or -1 for every hour)day - the day of month the Trigger should fire (0-31 or -1 for every day)relative - true if time values should be considered relative to each other or false if not@Deprecated public Trigger createTrigger(CronJob cronJob, int second, int minute, int hour, int day, int month, boolean relative)
TriggerModel creation instead, refer to wiki
documentationTrigger for the specified CronJob.cronJob - the CronJob the Trigger should be assigned tosecond - the second at which the Trigger should fire (0-59 or -1 for every second)minute - the minute at which the Trigger should fire (0-59 or -1 for every minute)hour - hour at which the Trigger should fire (0-23 or -1 for every hour)day - the day of month the Trigger should fire (0-31 or -1 for every day)month - the month at which the Trigger should fire (0-11 or -1 for every month)relative - true if time values should be considered relative to each other or false if not@Deprecated public Trigger createTrigger(CronJob cronJob, int second, int minute, int hour, int day, int month, int year)
TriggerModel creation instead, refer to wiki
documentationTrigger for the specified CronJob.cronJob - the CronJob the Trigger should be assigned tosecond - the second at which the Trigger should fire (0-59 or -1 for every second)minute - the minute at which the Trigger should fire (0-59 or -1 for every minute)hour - hour at which the Trigger should fire (0-23 or -1 for every hour)day - the day of month the Trigger should fire (0-31 or -1 for every day)month - the month at which the Trigger should fire (0-11 or -1 for every month)year - the year when the Trigger should fire (-1 for every year)@Deprecated public Trigger createTrigger(CronJob cronJob, int second, int minute, int hour, List daysOfWeek, boolean relative)
TriggerModel creation instead, refer to wiki
documentationTrigger for the specified CronJob.cronJob - the CronJob the Trigger should be assigned tosecond - the second at which the Trigger should fire (0-59 or -1 for every second)minute - the minute at which the Trigger should fire (0-59 or -1 for every minute)hour - hour at which the Trigger should fire (0-23 or -1 for every hour)daysOfWeek - a List of EnumerationValues ((@link CronJobConstants.TC.DayOfWeek}, Value constants ((@link
CronJobConstants.Enumerations.DayOfWeek)})relative - true if time values should be considered relative to each other or false if not@Deprecated public Trigger createTrigger(CronJob cronJob, int second, int minute, int hour, int day, int month, int year, List daysOfWeek, boolean relative)
TriggerModel creation instead, refer to wiki
documentationTrigger for the specified CronJob.cronJob - the CronJob the Trigger should be assigned tosecond - the second at which the Trigger should fire (0-59 or -1 for every second)minute - the minute at which the Trigger should fire (0-59 or -1 for every minute)hour - hour at which the Trigger should fire (0-23 or -1 for every hour)day - the day of month the Trigger should fire (0-31 or -1 for every day)month - the month at which the Trigger should fire (0-11 or -1 for every month)year - the year when the Trigger should fire (-1 for every year)daysOfWeek - a List ofrelative - true if time values should be considered relative to each other or false if not@Deprecated public Job getJob(String code)
JobModel creation instead, refer to wiki
documentationJob with the specified code.code - the code of the searched Job@Deprecated public Collection<CronJob> getRunningOrRestartedCronJobsForNode(int nodeID)
CronJobService.getRunningOrRestartedCronJobs()
instead.Collection of all running or restarted CronJobs for the specified nodeID.nodeID - the ID of the node, for which all restarted or running Cronjobs should be returnedCollection of all running or restarted CronJobs for the specified nodeID@Deprecated public boolean abortRunningCronJobsForClusterNode(int nodeID)
CronJobService.requestAbortCronJob(de.hybris.platform.cronjob.model.CronJobModel)
instead to abort a specific cronJob. Note that since 4.3 aborting the cronJob on the distant node is
not possible.CronJob.setAborted()). This is an internal method that should run only after system restart before the
timerthread is started to catch all cronjobs that were hit by a hard shutdown (e.g. CTRL-C on Windows).nodeID - the ID of the node, whose running / restarted CronJobs should be abortedtrue if all CronJobs were aborted successfully, false otherwiseprotected void sendAfterCronJobCrashAbortEvent(AfterCronJobCrashAbortEvent evt)
protected AfterCronJobCrashAbortEvent prepareCrashAbortEvent(CronJob cj)
@Deprecated public Collection<Trigger> getActiveTriggers()
TriggerService.getActiveTriggers()Collection of all Triggers, whose next activation time (Trigger.getNextTime(long )
lies before the current system time.Collection of all Triggers, whose next activation time (Trigger.getNextTime(long )
is smaller than current system time@Deprecated public Collection<Trigger> getActiveTriggers(Date date)
TriggerService.getActiveTriggers(Calendar)Collection of all Triggers, whose next activation time (Trigger.getNextTime(long )
lies before the specified date.date - the dateCollection of all Triggers, whose next activation time (Trigger.getNextTime(long )
lies before the specified date@Deprecated public BatchJob createBatchJob(Map params)
BatchJob is obsolete since 4.3BatchJob using the parameters specified in the params Map.createBatchJob in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')BatchJob created using the parameters specified in the params Map@Deprecated public BatchJob createBatchJob(SessionContext ctx, Map params)
BatchJob is obsolete since 4.3BatchJob using the parameters specified in the params Map.createBatchJob in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')BatchJob created using the parameters specified in the params Map@Deprecated public ChangeDescriptor createChangeDescriptor(Map params)
ChangeDescriptorModel creation instead, refer to
wiki documentationChangeDescriptor using the parameters specified in the params Map.createChangeDescriptor in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')ChangeDescriptor created using the parameters specified in the params Map@Deprecated public ChangeDescriptor createChangeDescriptor(SessionContext ctx, Map params)
ChangeDescriptorModel creation instead, refer to
wiki documentationChangeDescriptor using the parameters specified in the params Map.createChangeDescriptor in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')ChangeDescriptor created using the parameters specified in the params Map@Deprecated public CronJob createCronJob(Map params)
CronJobModel creation instead, refer to wiki
documentationCronJob using the parameters specified in the params Map.createCronJob in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')CronJob created using the parameters specified in the params Map@Deprecated public CronJob createCronJob(SessionContext ctx, Map params)
CronJobModel creation instead, refer to wiki
documentationCronJob using the parameters specified in the params Map.createCronJob in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')CronJob created using the parameters specified in the params Map@Deprecated public CSVExportStep createCSVExportStep(Map params)
Step is obsoleteCSVExportStep using the parameters specified in the params Map.createCSVExportStep in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')CSVExportStep created using the parameters specified in the params Map@Deprecated public CSVExportStep createCSVExportStep(SessionContext ctx, Map params)
Step is obsoleteCSVExportStep using the parameters specified in the params Map.createCSVExportStep in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')CSVExportStep created using the parameters specified in the params Map@Deprecated public FlexibleSearchCronJob createFlexibleSearchCronJob(Map params)
FlexibleSearchCronJob is obsolete since 4.3 FlexibleSearchCronJob using the parameters specified in the params Map.createFlexibleSearchCronJob in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')FlexibleSearchCronJob created using the parameters specified in the params
Map@Deprecated public FlexibleSearchCronJob createFlexibleSearchCronJob(SessionContext ctx, Map params)
FlexibleSearchCronJob is obsolete since 4.3 FlexibleSearchCronJob using the parameters specified in the params Map.createFlexibleSearchCronJob in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')FlexibleSearchCronJob created using the parameters specified in the params
Map@Deprecated public GenericCSVImportStep createGenericCSVImportStep(Map params)
Step is obsoleteGenericCSVImportStep using the parameters specified in the params Map.createGenericCSVImportStep in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')GenericCSVImportStep created using the parameters specified in the params
Map@Deprecated public GenericCSVImportStep createGenericCSVImportStep(SessionContext ctx, Map params)
Step is obsoleteGenericCSVImportStep using the parameters specified in the params Map.createGenericCSVImportStep in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')GenericCSVImportStep created using the parameters specified in the params
Map@Deprecated public GetURLStep createGetURLStep(Map params)
Step is obsoleteGetURLStep using the parameters specified in the params Map.createGetURLStep in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')GetURLStep created using the parameters specified in the params Map@Deprecated public GetURLStep createGetURLStep(SessionContext ctx, Map params)
Step is obsoleteGetURLStep using the parameters specified in the params Map.createGetURLStep in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')GetURLStep created using the parameters specified in the params Map@Deprecated public JobLog createJobLog(Map params)
JobLogModel directly insteadJobLog using the parameters specified in the params Map.createJobLog in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')JobLog created using the parameters specified in the params Map@Deprecated public JobLog createJobLog(SessionContext ctx, Map params)
JobLogModel directly insteadJobLog using the parameters specified in the params Map.createJobLog in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')JobLog created using the parameters specified in the params Map@Deprecated public JobMedia createJobMedia(Map params)
JobMediaModel directly insteadJobMedia using the parameters specified in the params Map.createJobMedia in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')JobMedia created using the parameters specified in the params Map@Deprecated public JobMedia createJobMedia(SessionContext ctx, Map params)
JobMediaModel directly insteadJobMedia using the parameters specified in the params Map.createJobMedia in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')JobMedia created using the parameters specified in the params Map@Deprecated public MediaProcessCronJob createMediaProcessCronJob(Map params)
MediaProcessCronJobModel directly
insteadMediaProcessCronJob using the parameters specified in the params Map.createMediaProcessCronJob in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')MediaProcessCronJob created using the parameters specified in the params
Map@Deprecated public MediaProcessCronJob createMediaProcessCronJob(SessionContext ctx, Map params)
MediaProcessCronJobModel directly
insteadMediaProcessCronJob using the parameters specified in the params Map.createMediaProcessCronJob in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')MediaProcessCronJob created using the parameters specified in the params
Map@Deprecated public Trigger createTrigger(Map params)
TriggerModel creation instead, refer to wiki
documentationTrigger using the parameters specified in the params Map.createTrigger in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')Trigger created using the parameters specified in the params Map@Deprecated public Trigger createTrigger(SessionContext ctx, Map params)
TriggerModel creation instead, refer to wiki
documentationTrigger using the parameters specified in the params Map. Since 5.5.1
TriggerTask is created additionally.createTrigger in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')Trigger created using the parameters specified in the params Map@Deprecated public TypeSystemExportJob createTypeSystemExportJob(Map params)
TypeSystemExportJob is obsolete since 4.3TypeSystemExportJob using the parameters specified in the params Map.createTypeSystemExportJob in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')TypeSystemExportJob created using the parameters specified in the params
Map@Deprecated public TypeSystemExportJob createTypeSystemExportJob(SessionContext ctx, Map params)
TypeSystemExportJob is obsolete since 4.3TypeSystemExportJob using the parameters specified in the params Map.createTypeSystemExportJob in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')TypeSystemExportJob created using the parameters specified in the params
Map@Deprecated public URLCronJob createURLCronJob(Map params)
URLCronJob is obsolete since 4.3URLCronJob using the parameters specified in the params Map.createURLCronJob in class GeneratedCronJobManagerparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')URLCronJob created using the parameters specified in the params Map@Deprecated public URLCronJob createURLCronJob(SessionContext ctx, Map params)
URLCronJob is obsolete since 4.3URLCronJob using the parameters specified in the params Map.createURLCronJob in class GeneratedCronJobManagerctx - the SessionContext, which will be usedparams - Map of parameters. (Mapping 'attribute qualifier' -> 'attribute value')URLCronJob created using the parameters specified in the params Map@Deprecated public String getNextConjobNumber()
getNextCronjobNumber() instead!public String getNextCronjobNumber()
public boolean isCreatorDisabled()
DataCreator interface. Returns falseisCreatorDisabled in class Extensionfalsepublic void createEssentialData(Map params, JspContext jspc) throws Exception
createEssentialData in class ExtensionException@Deprecated public RendererTemplate getDefaultCronJobFinishNotificationTemplate()
de.hybris.platform.commons.renderer.RendererService#getRendererTemplateForCode(String)
instead@Deprecated public MediaFolder getCronJobMediaFolder()
MediaFolderModel creation instead, refer to wiki
documentationMediaFolder used for storing hmc system medias.protected TriggerTask findTaskForTrigger(Trigger trigger)
@Deprecated public static void startTimerTask()
@Deprecated public static void stopTimerTask()
public void notifyInitializationStart(Map<String,String> params, JspContext ctx) throws Exception
notifyInitializationStart in class ExtensionExceptionpublic void notifyInitializationEnd(Map params, JspContext ctx) throws Exception
notifyInitializationEnd in class ExtensionException@Deprecated public MoveMediaJob getOrCreateMoveMediaJob()
CronJobService.getJob(String) instead with spring
bean of MoveMediaJobPerformable as parameter value.public void afterItemCreation(SessionContext ctx, ComposedType type, Item createdItem, Item.ItemAttributeMap attributes) throws JaloBusinessException
afterItemCreation in class Managerctx - the currency session contexttype - the type of the item which will be createdcreatedItem - the created itemJaloBusinessException
This method does nothing and may be overridden.
CAUTION: This method will be called inside a transaction !!!
protected void startTaskEngine()
protected void stopTaskEngine()
protected TaskEngine getTaskEngine()
Copyright © 2017 SAP SE. All Rights Reserved.