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,java.io.Serializable
@Deprecated public class TaskManager extends GeneratedCronJobManager
Deprecated.since agesThis is the extension manager of the Taskmanager extension.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.extension.Extension
Extension.RestrictedLanguagesProvider, Extension.RightsProvider
-
Nested 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
Constructors Constructor Description 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidafterItemCreation(SessionContext ctx, ComposedType type, Item createdItem, Item.ItemAttributeMap attributes)Deprecated.since agesstatic TaskManagergetInstance()Deprecated.since agesstatic TaskManagergetInstance(Tenant t)Deprecated.since agesprotected TaskEnginegetTaskEngine()Deprecated.since agesvoidnotifyInitializationEnd(java.util.Map<java.lang.String,java.lang.String> params, JspContext ctx)Deprecated.since agesvoidnotifyInitializationStart(java.util.Map<java.lang.String,java.lang.String> params, JspContext ctx)Deprecated.since agesprotected voidstartEngine()Deprecated.since agesprotected voidstopEngine()Deprecated.since ages-
Methods 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, createGenericCSVImportStep, createGenericCSVImportStep, 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, getName
-
Methods inherited from class de.hybris.platform.jalo.extension.Extension
checkBeforeItemRemoval, createEssentialData, createProjectData, createSampleData, getCreatorDescription, getCreatorName, getCreatorParameterDefault, getCreatorParameterNames, getCreatorParameterPossibleValues, getRemote, isCreatorDisabled, notifyItemRemoval, onFirstSessionCreation, writeReplace
-
Methods 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
-
-
-
-
Method Detail
-
getInstance
@Deprecated public static TaskManager getInstance()
Deprecated.since agesGet the valid instance of this manager.- Returns:
- the current instance of this manager
-
getInstance
@Deprecated public static TaskManager getInstance(Tenant t)
Deprecated.since ages
-
getTaskEngine
@Deprecated protected TaskEngine getTaskEngine()
Deprecated.since ages
-
startEngine
@Deprecated protected void startEngine()
Deprecated.since agesStarts the actual task engine. Internally a polling thread is polling scheduled tasks from database and performs them asynchronously.
-
stopEngine
@Deprecated protected void 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 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:
This method does nothing and may be overridden. CAUTION: This method will be called inside a transaction !!!
-
notifyInitializationEnd
@Deprecated public void notifyInitializationEnd(java.util.Map<java.lang.String,java.lang.String> params, JspContext ctx) throws java.lang.ExceptionDeprecated.since agesStarts task engine after system update / initialization.- Overrides:
notifyInitializationEndin classExtension- Throws:
java.lang.Exception
-
notifyInitializationStart
@Deprecated public void notifyInitializationStart(java.util.Map<java.lang.String,java.lang.String> params, JspContext ctx) throws java.lang.ExceptionDeprecated.since agesStops task engine for the time of system update / initialization.- Overrides:
notifyInitializationStartin classExtension- Throws:
java.lang.Exception
-
-