Class SapImpexImportTaskRunner
- java.lang.Object
-
- com.sap.hybris.sapimpeximportadapter.tasks.SapImpexImportTaskRunner
-
- All Implemented Interfaces:
de.hybris.platform.task.TaskRunner<TaskModel>
@Deprecated(since="1811", forRemoval=true) public class SapImpexImportTaskRunner extends java.lang.Object implements de.hybris.platform.task.TaskRunner<TaskModel>Deprecated, for removal: This API element is subject to removal in a future version.since 1811, please useIntegrationObjectModelSAP Impex import task running class.
-
-
Constructor Summary
Constructors Constructor Description SapImpexImportTaskRunner()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ImpexImportServicegetImpexImportService()Deprecated, for removal: This API element is subject to removal in a future version.de.hybris.platform.servicelayer.session.SessionServicegetSessionService()Deprecated, for removal: This API element is subject to removal in a future version.voidhandleError(de.hybris.platform.task.TaskService taskService, TaskModel task, java.lang.Throwable error)Deprecated, for removal: This API element is subject to removal in a future version.Method that handles the errors while running the task.voidrun(de.hybris.platform.task.TaskService taskService, TaskModel task)Deprecated, for removal: This API element is subject to removal in a future version.Implementation for running the impex import taskvoidsetImpexImportService(ImpexImportService impexImportService)Deprecated, for removal: This API element is subject to removal in a future version.voidsetSessionService(de.hybris.platform.servicelayer.session.SessionService service)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
run
public void run(de.hybris.platform.task.TaskService taskService, TaskModel task)Deprecated, for removal: This API element is subject to removal in a future version.Implementation for running the impex import task- Specified by:
runin interfacede.hybris.platform.task.TaskRunner<TaskModel>- Parameters:
taskService- - task service class injectedtask- - task model- Throws:
de.hybris.platform.task.RetryLaterException
-
handleError
public void handleError(de.hybris.platform.task.TaskService taskService, TaskModel task, java.lang.Throwable error)Deprecated, for removal: This API element is subject to removal in a future version.Method that handles the errors while running the task. Just logs the error messages- Specified by:
handleErrorin interfacede.hybris.platform.task.TaskRunner<TaskModel>- Parameters:
taskService- - task service classtask- - the task model object
-
setSessionService
public void setSessionService(de.hybris.platform.servicelayer.session.SessionService service)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getImpexImportService
public ImpexImportService getImpexImportService()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the impexImportService
-
setImpexImportService
public void setImpexImportService(ImpexImportService impexImportService)
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
impexImportService- the impexImportService to set
-
getSessionService
public de.hybris.platform.servicelayer.session.SessionService getSessionService()
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the sessionService
-
-