public class DatasetJPADao extends AbstractJPADao<Dataset,String> implements DatasetDao
Modifier | Constructor and Description |
---|---|
protected |
DatasetJPADao(com.google.inject.Provider<javax.persistence.EntityManager> entityManager) |
Modifier and Type | Method and Description |
---|---|
List<Dataset> |
findByCreatorEmail(String email) |
List<Dataset> |
findByCreatorEmailAndDeleted(String email,
boolean deleted) |
List<Dataset> |
findByCreatorEmailAndTitleLike(String email,
String titlePattern) |
List<Dataset> |
findByCreatorEmailAndTitleLikeAndDeleted(String email,
String titlePattern,
boolean deleted) |
List<Dataset> |
findByDeleted(boolean deleted) |
List<Dataset> |
findByTitleLike(String titlePattern) |
List<Dataset> |
findByTitleLikeAndDeleted(String titlePattern,
boolean deleted) |
count, delete, exists, findAll, findOne, getEntityManager, getEntityType, save
@Inject protected DatasetJPADao(com.google.inject.Provider<javax.persistence.EntityManager> entityManager)
public List<Dataset> findByDeleted(boolean deleted)
findByDeleted
in interface DatasetDao
public List<Dataset> findByTitleLike(String titlePattern)
findByTitleLike
in interface DatasetDao
public List<Dataset> findByTitleLikeAndDeleted(String titlePattern, boolean deleted)
findByTitleLikeAndDeleted
in interface DatasetDao
public List<Dataset> findByCreatorEmail(String email)
findByCreatorEmail
in interface DatasetDao
public List<Dataset> findByCreatorEmailAndDeleted(String email, boolean deleted)
findByCreatorEmailAndDeleted
in interface DatasetDao
public List<Dataset> findByCreatorEmailAndTitleLike(String email, String titlePattern)
findByCreatorEmailAndTitleLike
in interface DatasetDao
public List<Dataset> findByCreatorEmailAndTitleLikeAndDeleted(String email, String titlePattern, boolean deleted)
findByCreatorEmailAndTitleLikeAndDeleted
in interface DatasetDao
Copyright © 2017. All rights reserved.