Class RebindUserAndAddressTask
java.lang.Object
ch.tocco.nice2.optional.webshop.impl.persist.RebindUserAndAddressTask
- All Implemented Interfaces:
PersistTask<RebindUserAndAddressTask.Params,
Entity>
public class RebindUserAndAddressTask
extends Object
implements PersistTask<RebindUserAndAddressTask.Params,Entity>
Rebinds the rebind values submitted from user/address form.
This task can process: - new User and new Address - exsting User and new Address - existing User and existing Address
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Entity
run
(Optional<RebindUserAndAddressTask.Params> params, CommandContext commandContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
RebindUserAndAddressTask
-
-
Method Details
-
run
@Nullable public @Nullable Entity run(Optional<RebindUserAndAddressTask.Params> params, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
run
in interfacePersistTask<RebindUserAndAddressTask.Params,
Entity> - Throws:
PersistException
InterruptedException
-