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
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NoArgPersistTask
runMethods inherited from interface 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:
runin interfaceNoArgPersistTask<Entity>- Throws:
Exception
-