Class DefaultTakeRegistrationActionConfiguration
java.lang.Object
ch.tocco.nice2.optional.event.api.DefaultTakeRegistrationActionConfiguration
- All Implemented Interfaces:
TakeRegistrationActionConfiguration
@Component
public class DefaultTakeRegistrationActionConfiguration
extends Object
implements TakeRegistrationActionConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAdditionalInformationOnNew
(Entity originalRegistrationEntity, Entity copiedRegistrationEntity, boolean takeArticles) Allows additional transactions on Registrations processed by TakeRegistrationAction
-
Constructor Details
-
DefaultTakeRegistrationActionConfiguration
public DefaultTakeRegistrationActionConfiguration()
-
-
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
-