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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Entityrun(Optional<RebindUserAndAddressTask.Params> params, CommandContext commandContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
runin interfacePersistTask<RebindUserAndAddressTask.Params,Entity> - Throws:
PersistExceptionInterruptedException
-