Package eu.dnetlib.uoamonitorservice.dao
Interface MongoDBSubCategoryDAO
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<SubCategory,String>,org.springframework.data.mongodb.repository.MongoRepository<SubCategory,String>,org.springframework.data.repository.PagingAndSortingRepository<SubCategory,String>,org.springframework.data.repository.query.QueryByExampleExecutor<SubCategory>,org.springframework.data.repository.Repository<SubCategory,String>,SubCategoryDAO
public interface MongoDBSubCategoryDAO extends SubCategoryDAO, org.springframework.data.mongodb.repository.MongoRepository<SubCategory,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String Id)List<SubCategory>findAll()List<SubCategory>findByDefaultId(String DefaultId)SubCategoryfindById(String Id)SubCategorysave(SubCategory subCategory)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, delete, deleteAll, exists, findAll, findOne
-
Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, insert, insert, save
-
-
-
-
Method Detail
-
findAll
List<SubCategory> findAll()
- Specified by:
findAllin interfaceorg.springframework.data.repository.CrudRepository<SubCategory,String>- Specified by:
findAllin interfaceorg.springframework.data.mongodb.repository.MongoRepository<SubCategory,String>- Specified by:
findAllin interfaceSubCategoryDAO
-
findByDefaultId
List<SubCategory> findByDefaultId(String DefaultId)
- Specified by:
findByDefaultIdin interfaceSubCategoryDAO
-
findById
SubCategory findById(String Id)
- Specified by:
findByIdin interfaceSubCategoryDAO
-
delete
void delete(String Id)
- Specified by:
deletein interfaceorg.springframework.data.repository.CrudRepository<SubCategory,String>- Specified by:
deletein interfaceSubCategoryDAO
-
save
SubCategory save(SubCategory subCategory)
- Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<SubCategory,String>- Specified by:
savein interfaceSubCategoryDAO
-
-