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 SummaryNested classes/interfaces inherited from interface ch.tocco.nice2.optional.membership.impl.registration.persist.CreateAnswerTaskCreateAnswerTask.Params
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTaskandThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, run, skipErrors, unwrap
- 
Constructor Details- 
AbstractCreateAnswerTaskpublic AbstractCreateAnswerTask()Deprecated.
 
- 
- 
Method Details- 
createAnswerEntityprotected Entity createAnswerEntity(Entity membership, Entity user, String questionKey) throws PersistException, InterruptedException Deprecated.- Throws:
- PersistException
- InterruptedException
 
- 
createEntityDeprecated.- Throws:
- PersistException
 
- 
getEntityDeprecated.- Throws:
- PersistException
 
- 
getEntityManagerprotected EntityManager getEntityManager(String entityType, Context context) throws PersistException Deprecated.- Throws:
- PersistException
 
 
-