Class SessionExecutionBody

java.lang.Object
de.hybris.platform.servicelayer.session.SessionExecutionBody
Direct Known Subclasses:
AbstractInsertProcessorSessionExecutionBody, AbstractProcessorSessionExecutionBody

public abstract class SessionExecutionBody extends Object
To execute code in a local session view you need to implement this class. See SessionService.executeInLocalView(SessionExecutionBody)
  • Constructor Details

    • SessionExecutionBody

      public SessionExecutionBody()
  • Method Details

    • execute

      public Object execute()
      you can override this method if you want to have a result
      Returns:
      the return value of your desire
    • executeWithoutResult

      public void executeWithoutResult()
      you can override this method if you do not need a result