Class LookupTask<A>
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.tasks.PersistTaskBase<A,Entity>
ch.tocco.nice2.persist.core.api.exec.tasks.LookupTask<A>
- All Implemented Interfaces:
PersistTask<A,
Entity>
Deprecated.
Creates tasks to lookup entities either by primary key or unique id.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
Deprecated.protected final boolean
Deprecated. -
Constructor Summary
ModifierConstructorDescriptionprotected
LookupTask
(String entityModel, boolean required) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic PersistTaskBase
<EntityId, Entity> getById
(boolean required) Deprecated.static PersistTaskBase
<PrimaryKey, Entity> Deprecated.static PersistTaskBase
<String, Entity> getByPkString
(String entityModel, boolean required) Deprecated.static PersistTaskBase
<String, Entity> getByUniqueId
(String entityModel, boolean required) Deprecated.Methods inherited from class ch.tocco.nice2.persist.core.api.exec.tasks.PersistTaskBase
asListTask, compose, expand, expandFlat
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.PersistTask
andThenDo, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, run, skipErrors, unwrap
-
Field Details
-
entityModel
Deprecated. -
required
protected final boolean requiredDeprecated.
-
-
Constructor Details
-
LookupTask
Deprecated.
-
-
Method Details
-
getById
Deprecated. -
getByPk
Deprecated. -
getByPkString
Deprecated. -
getByUniqueId
Deprecated.
-
EntityTasks