Class SessionExecutionBody
java.lang.Object
de.hybris.platform.servicelayer.session.SessionExecutionBody
- Direct Known Subclasses:
AbstractInsertProcessorSessionExecutionBody,AbstractProcessorSessionExecutionBody
To execute code in a local session view you need to implement this class. See
SessionService.executeInLocalView(SessionExecutionBody)-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()you can override this method if you want to have a resultvoidyou can override this method if you do not need a result
-
Constructor Details
-
SessionExecutionBody
public SessionExecutionBody()
-
-
Method Details
-
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
-