Class CreateVouchersTask
java.lang.Object
ch.tocco.nice2.optional.debitor.impl.tasks.CreateVouchersTask
- All Implemented Interfaces:
OptionalTask<Tuple3<Entity, Entity, List<Map<String,Object>>>, List<Entity>>, PersistTask<Tuple3<Entity, Entity, List<Map<String, Object>>>, List<Entity>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OptionalTask
runMethods inherited from interface PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Field Details
-
PATH_TO_ORDER_POSITION
- See Also:
-
RELATION_PREFIX
- See Also:
-
VOUCHER
- See Also:
-
VOUCHER_TYPE
- See Also:
-
NR_FIELD
- See Also:
-
ACCOUNTING_TEXT_FIELD
- See Also:
-
BILLING_DATE_FIELD
- See Also:
-
MANUAL_BOOKING_DATE_FIELD
- See Also:
-
VOUCHER_DATE_FIELD
- See Also:
-
REL_ORDER_POSITION
- See Also:
-
REL_DEBITOR
- See Also:
-
REL_DEBIT_ACCOUNT
- See Also:
-
REL_ACCOUNT
- See Also:
-
REL_VOUCHER_TYPE
- See Also:
-
BILL_TYPE
- See Also:
-
-
Constructor Details
-
CreateVouchersTask
-
-
Method Details
-
doRun
public List<Entity> doRun(Tuple3<Entity, Entity, List<Map<String, Object>>> values, CommandContext commandContext) throws PersistException, InterruptedException- Specified by:
doRunin interfaceOptionalTask<Tuple3<Entity, Entity, List<Map<String,Object>>>, List<Entity>> - Throws:
PersistExceptionInterruptedException
-