Class EntityLoadTask
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks2.EntityLoadTask
- All Implemented Interfaces:
NoArgPersistTask<Entity>
,PersistTask<Void,
Entity>
A task to re-load an entity, if it has been invalidated. It caches
the current entity in an instance variable, so this is *not* thread
safe.
-
Constructor Summary
-
Method Summary
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.NoArgPersistTask
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
-
EntityLoadTask
-
EntityLoadTask
-
-
Method Details
-
run
- Specified by:
run
in interfaceNoArgPersistTask<Entity>
- Throws:
Exception
-