Class GetDateForConditionTask
java.lang.Object
ch.tocco.nice2.optional.organisation.impl.entitylistener.GetDateForConditionTask
- All Implemented Interfaces:
OptionalTask<Entity,
,org.joda.time.LocalDate> PersistTask<Entity,
org.joda.time.LocalDate>
public class GetDateForConditionTask
extends Object
implements OptionalTask<Entity,org.joda.time.LocalDate>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.LocalDate
doRun
(Entity contract, 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.OptionalTask
run
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
-
GetDateForConditionTask
-
-
Method Details
-
doRun
public org.joda.time.LocalDate doRun(Entity contract, CommandContext commandContext) throws Exception - Specified by:
doRun
in interfaceOptionalTask<Entity,
org.joda.time.LocalDate> - Throws:
Exception
-
getFieldOnUser
-
getCondition
-