Class AbstractInsertProcessorSessionExecutionBody<T,X extends SystemException>
java.lang.Object
de.hybris.platform.servicelayer.session.SessionExecutionBody
de.hybris.platform.impex.session.impl.AbstractInsertProcessorSessionExecutionBody<T,X>
- All Implemented Interfaces:
ProcessorSessionExecutionBody
public abstract class AbstractInsertProcessorSessionExecutionBody<T,X extends SystemException>
extends SessionExecutionBody
implements ProcessorSessionExecutionBody
Special
SessionExecutionBody implementation which injects to session a attributes
- CoreImpExConstants.CTX_DONT_CHANGE_EXISTING_LINKS -> Boolean.TRUE
- Constants.DISABLE_CYCLIC_CHECKS -> Boolean.TRUE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TPlace a custom logic to be called inSessionExecutionBody.execute().final 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
-
AbstractInsertProcessorSessionExecutionBody
public AbstractInsertProcessorSessionExecutionBody()
-
-
Method Details
-
getSessionService
-
doProcess
Place a custom logic to be called inSessionExecutionBody.execute().- Throws:
X extends SystemException
-
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>
-
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()
-