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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EntitycreateAnswerEntity(Entity membership, Entity user, String questionKey) Deprecated.protected EntitycreateEntity(String entityType, Context context) Deprecated.protected EntityDeprecated.protected EntityManagergetEntityManager(String entityType, Context context) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
PersistExceptionInterruptedException
-
createEntity
Deprecated.- Throws:
PersistException
-
getEntity
Deprecated.- Throws:
PersistException
-
getEntityManager
protected EntityManager getEntityManager(String entityType, Context context) throws PersistException Deprecated.- Throws:
PersistException
-