@Singleton public class MTWorkerDao extends WorkerDao
jpa
Modifier and Type | Method and Description |
---|---|
MTWorker |
create(java.lang.String mtWorkerId,
boolean mTurkSandbox)
Create MTWorker.
|
java.util.Optional<MTWorker> |
findByMTWorkerId(java.lang.String mtWorkerId,
java.lang.String workerType)
Retrieves the worker with the given MTurk worker ID and worker type.
|
count, countTotal, create, findAll, findById, remove, update
merge, persist, refresh, remove
public MTWorker create(java.lang.String mtWorkerId, boolean mTurkSandbox)
public java.util.Optional<MTWorker> findByMTWorkerId(java.lang.String mtWorkerId, java.lang.String workerType)