Class AbstractProcessorSessionExecutionBody<T,X extends Exception>
java.lang.Object
de.hybris.platform.servicelayer.session.SessionExecutionBody
de.hybris.platform.impex.session.impl.AbstractProcessorSessionExecutionBody<T,X>
- All Implemented Interfaces:
ProcessorSessionExecutionBody
- Direct Known Subclasses:
AbstractMultiThreadedProcessorSessionExecutionBody
public abstract class AbstractProcessorSessionExecutionBody<T,X extends Exception>
extends SessionExecutionBody
implements ProcessorSessionExecutionBody
Default implementation of the Impex
SessionExecutionBody for injecting a set of attributes in local execution
context (maybe in slayer we should use their slayer counterparts
- language -> null
- FlexibleSearch.DISABLE_RESTRICTIONS -> Boolean.TRUE
- FlexibleSearch.DISABLE_RESTRICTION_GROUP_INHERITANCE ->Boolean.TRUE
- use.fast.algorithms -> Boolean.TRUE
- CoreImpExConstants.IMPORT_MODE -> Boolean.TRUE
- Item.DISABLE_ATTRIBUTE_CHECK -> Boolean.TRUE
Exception and stores for the verification after execute() finishes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Tfinal Texecute()you can override this method if you want to have a resultfinal XHook for a handled checked exception which should be captured (sic!) and rethrow afterSessionExecutionBody.execute()finishes.protected abstract SessionServiceprotected voidMethods inherited from class de.hybris.platform.servicelayer.session.SessionExecutionBody
executeWithoutResult
-
Constructor Details
-
AbstractProcessorSessionExecutionBody
public AbstractProcessorSessionExecutionBody()
-
-
Method Details
-
getSessionService
-
execute
Description copied from class:SessionExecutionBodyyou can override this method if you want to have a result- Overrides:
executein classSessionExecutionBody- Returns:
- the return value of your desire
-
prepareSession
protected void prepareSession() -
getException
Description copied from interface:ProcessorSessionExecutionBodyHook for a handled checked exception which should be captured (sic!) and rethrow afterSessionExecutionBody.execute()finishes.- Specified by:
getExceptionin interfaceProcessorSessionExecutionBody<T>
-
doProcess
-