Class AbstractCreateAnswerTask
java.lang.Object
ch.tocco.nice2.optional.membership.impl.registration.persist.AbstractCreateAnswerTask
- All Implemented Interfaces:
CreateAnswerTask
,PersistTask<CreateAnswerTask.Params,
Void>
- Direct Known Subclasses:
AbstractCreateChoiceAnswerTask
,CreateTextAnswerTask
@Deprecated
public abstract class AbstractCreateAnswerTask
extends Object
implements PersistTask<CreateAnswerTask.Params,Void>, CreateAnswerTask
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.membership.impl.registration.persist.CreateAnswerTask
CreateAnswerTask.Params
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Entity
createAnswerEntity
(Entity membership, Entity user, String questionKey) Deprecated.protected Entity
createEntity
(String entityType, Context context) Deprecated.protected Entity
Deprecated.protected EntityManager
getEntityManager
(String entityType, Context context) Deprecated.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, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, run, skipErrors, unwrap
-
Constructor Details
-
AbstractCreateAnswerTask
public AbstractCreateAnswerTask()Deprecated.
-
-
Method Details
-
createAnswerEntity
protected Entity createAnswerEntity(Entity membership, Entity user, String questionKey) throws PersistException, InterruptedException Deprecated.- Throws:
PersistException
InterruptedException
-
createEntity
Deprecated.- Throws:
PersistException
-
getEntity
Deprecated.- Throws:
PersistException
-
getEntityManager
protected EntityManager getEntityManager(String entityType, Context context) throws PersistException Deprecated.- Throws:
PersistException
-