Package de.hybris.platform.task.jalo
Class TaskManager
java.lang.Object
de.hybris.platform.jalo.Manager
de.hybris.platform.jalo.extension.Extension
de.hybris.platform.cronjob.jalo.GeneratedCronJobManager
de.hybris.platform.task.jalo.TaskManager
- All Implemented Interfaces:
ItemLifecycleListener,Serializable
@Deprecated(since="ages",
forRemoval=false)
public class TaskManager
extends GeneratedCronJobManager
Deprecated.
since ages
This is the extension manager of the Taskmanager extension.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProviderNested classes/interfaces inherited from class de.hybris.platform.jalo.Manager
Manager.GenericManagerSingletonCreator, Manager.ManagerSingletonCreator -
Field Summary
Fields inherited from class de.hybris.platform.cronjob.jalo.GeneratedCronJobManager
DEFAULT_INITIAL_ATTRIBUTES -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Never call the constructor of any manager directly, call getInstance() You can place your business logic here - like registering a jalo session listener. -
Method Summary
Modifier and TypeMethodDescriptionvoidafterItemCreation(SessionContext ctx, ComposedType type, Item createdItem, Item.ItemAttributeMap attributes) Deprecated.since agesstatic TaskManagerDeprecated.since agesstatic TaskManagerDeprecated.since agesprotected TaskEngineDeprecated.since agesvoidnotifyInitializationEnd(Map<String, String> params, JspContext ctx) Deprecated.since agesvoidnotifyInitializationStart(Map<String, String> params, JspContext ctx) Deprecated.since agesprotected voidDeprecated.since agesprotected voidDeprecated.since agesMethods inherited from class de.hybris.platform.cronjob.jalo.GeneratedCronJobManager
createAfterRetentionCleanupRule, createAfterRetentionCleanupRule, createBatch, createBatch, createBatchJob, createBatchJob, createBusinessProcess, createBusinessProcess, createBusinessProcessParameter, createBusinessProcessParameter, createChangeDescriptor, createChangeDescriptor, createCleanUpCronJob, createCleanUpCronJob, createCleanupDynamicProcessDefinitionsCronJob, createCleanupDynamicProcessDefinitionsCronJob, createCompositeCronJob, createCompositeCronJob, createCompositeEntry, createCompositeEntry, createCompositeJob, createCompositeJob, createCronJob, createCronJob, createCronJobHistory, createCronJobHistory, createCSVExportStep, createCSVExportStep, createDistributedProcess, createDistributedProcess, createDistributedProcessTransitionTask, createDistributedProcessTransitionTask, createDistributedProcessWorkerTask, createDistributedProcessWorkerTask, createDynamicMaintenanceCleanupJob, createDynamicMaintenanceCleanupJob, createDynamicProcessDefinition, createDynamicProcessDefinition, createFlexibleSearchCronJob, createFlexibleSearchCronJob, createFlexibleSearchRetentionRule, createFlexibleSearchRetentionRule, createGetURLStep, createGetURLStep, createJobLog, createJobLog, createJobMedia, createJobMedia, createJobSearchRestriction, createJobSearchRestriction, createLogFile, createLogFile, createMaintenanceCleanupJob, createMaintenanceCleanupJob, createMediaFolderStructureMigrationCronJob, createMediaFolderStructureMigrationCronJob, createMediaProcessCronJob, createMediaProcessCronJob, createMoveMediaCronJob, createMoveMediaCronJob, createMoveMediaJob, createMoveMediaJob, createProcessTask, createProcessTask, createProcessTaskLog, createProcessTaskLog, createProcessTaskLogMaintenanceJob, createProcessTaskLogMaintenanceJob, createRemoveItemsCronJob, createRemoveItemsCronJob, createRemoveItemsJob, createRemoveItemsJob, createRetentionJob, createRetentionJob, createScriptingJob, createScriptingJob, createScriptingTask, createScriptingTask, createServicelayerJob, createServicelayerJob, createSimpleAction, createSimpleAction, createSimpleBatch, createSimpleBatch, createSimpleDistributedProcess, createSimpleDistributedProcess, createTask, createTask, createTaskCondition, createTaskCondition, createTrigger, createTrigger, createTriggerTask, createTriggerTask, createTypeSystemExportJob, createTypeSystemExportJob, createURLCronJob, createURLCronJob, getDefaultAttributeModes, getNameMethods inherited from class de.hybris.platform.jalo.extension.Extension
checkBeforeInitialization, checkBeforeItemRemoval, createEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyItemRemoval, onFirstSessionCreation, writeReplaceMethods inherited from class de.hybris.platform.jalo.Manager
beforeItemCreation, destroy, extractNonRequiredRemoteFromItem, extractRequiredRemoteFromItem, getAllValuesSessionContext, getAttribute, getAttributeMap, getFirstItemByAttribute, getFirstItemByAttribute, getRemoteManagerClass, getSession, getSingletonManagerInstance, getTenant, getTransientObject, getTransientObjectMap, init, setAttribute, setTenant, setTransientObject, wrap
-
Constructor Details
-
TaskManager
public TaskManager()Deprecated.Never call the constructor of any manager directly, call getInstance() You can place your business logic here - like registering a jalo session listener. Each manager is created once for each tenant.
-
-
Method Details
-
getInstance
Deprecated.since agesGet the valid instance of this manager.- Returns:
- the current instance of this manager
-
getInstance
Deprecated.since ages -
getTaskEngine
Deprecated.since ages -
startEngine
Deprecated.since agesStarts the actual task engine. Internally a polling thread is polling scheduled tasks from database and performs them asynchronously. -
stopEngine
Deprecated.since agesStops the task engine. From now on scheduled tasks are not longer performed at this platform instance. Please note that other nodes may still be running and perform tasks. -
afterItemCreation
@Deprecated(since="ages", forRemoval=false) public void afterItemCreation(SessionContext ctx, ComposedType type, Item createdItem, Item.ItemAttributeMap attributes) throws JaloBusinessException Deprecated.since agesOverwritten to trigger re-poll whenever a new task item has been created- Specified by:
afterItemCreationin interfaceItemLifecycleListener- Overrides:
afterItemCreationin classManager- Parameters:
ctx- the currency session contexttype- the type of the item which will be createdcreatedItem- the created item- Throws:
JaloBusinessException- See Also:
-
notifyInitializationEnd
@Deprecated(since="ages", forRemoval=false) public void notifyInitializationEnd(Map<String, String> params, JspContext ctx) throws ExceptionDeprecated.since agesStarts task engine after system update / initialization.- Overrides:
notifyInitializationEndin classExtension- Throws:
Exception
-
notifyInitializationStart
@Deprecated(since="ages", forRemoval=false) public void notifyInitializationStart(Map<String, String> params, JspContext ctx) throws ExceptionDeprecated.since agesStops task engine for the time of system update / initialization.- Overrides:
notifyInitializationStartin classExtension- Throws:
Exception
-