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 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 use IntegrationObjectModel
SAP Impex import task running class.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    de.hybris.platform.servicelayer.session.SessionService
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    handleError(de.hybris.platform.task.TaskService taskService, TaskModel task, 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.
    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
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setSessionService(de.hybris.platform.servicelayer.session.SessionService service)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.hybris.platform.task.TaskRunner

    initLoggingCtx, isLoggingSupported, stopLoggingCtx
  • Constructor Details

    • SapImpexImportTaskRunner

      public SapImpexImportTaskRunner()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • 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:
      run in interface de.hybris.platform.task.TaskRunner<TaskModel>
      Parameters:
      taskService - - task service class injected
      task - - task model
      Throws:
      de.hybris.platform.task.RetryLaterException
    • handleError

      public void handleError(de.hybris.platform.task.TaskService taskService, TaskModel task, 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:
      handleError in interface de.hybris.platform.task.TaskRunner<TaskModel>
      Parameters:
      taskService - - task service class
      task - - 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