Class OrderTakeRegistrationActionConfiguration
java.lang.Object
ch.tocco.nice2.optional.eventorder.impl.action.OrderTakeRegistrationActionConfiguration
- All Implemented Interfaces:
TakeRegistrationActionConfiguration
@Component
public class OrderTakeRegistrationActionConfiguration
extends Object
implements TakeRegistrationActionConfiguration
-
Constructor Summary
ConstructorDescriptionOrderTakeRegistrationActionConfiguration
(EntityDefaultValueService entityDefaultValueService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAdditionalInformationOnNew
(Entity originalRegistrationEntity, Entity copiedRegistrationEntity, boolean takeArticles) Allows additional transactions on Registrations processed by TakeRegistrationAction
-
Constructor Details
-
OrderTakeRegistrationActionConfiguration
public OrderTakeRegistrationActionConfiguration(EntityDefaultValueService entityDefaultValueService)
-
-
Method Details
-
setAdditionalInformationOnNew
public void setAdditionalInformationOnNew(Entity originalRegistrationEntity, Entity copiedRegistrationEntity, boolean takeArticles) throws InterruptedException Description copied from interface:TakeRegistrationActionConfiguration
Allows additional transactions on Registrations processed by TakeRegistrationAction- Specified by:
setAdditionalInformationOnNew
in interfaceTakeRegistrationActionConfiguration
- Parameters:
originalRegistrationEntity
- Base Registration that served as model for the new copiedRegistrationEntitycopiedRegistrationEntity
- newly created Registration based on originalRegistrationEntitytakeArticles
- defines if Entities from Order module shall be copied too- Throws:
InterruptedException
-