Interface MongoDBUserProfileDAO
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserProfile,String>,org.springframework.data.mongodb.repository.MongoRepository<UserProfile,String>,org.springframework.data.repository.PagingAndSortingRepository<UserProfile,String>,org.springframework.data.repository.query.QueryByExampleExecutor<UserProfile>,org.springframework.data.repository.Repository<UserProfile,String>,UserProfileDAO
public interface MongoDBUserProfileDAO extends UserProfileDAO, org.springframework.data.mongodb.repository.MongoRepository<UserProfile,String>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String id)voiddeleteAll()List<UserProfile>findAll()UserProfilefindByAaiId(String aaiId)UserProfilefindById(String Id)UserProfilesave(UserProfile user)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, delete, exists, findAll, findOne
-
Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, insert, insert, save
-
-
-
-
Method Detail
-
findAll
List<UserProfile> findAll()
- Specified by:
findAllin interfaceorg.springframework.data.repository.CrudRepository<UserProfile,String>- Specified by:
findAllin interfaceorg.springframework.data.mongodb.repository.MongoRepository<UserProfile,String>- Specified by:
findAllin interfaceUserProfileDAO
-
findById
UserProfile findById(String Id)
- Specified by:
findByIdin interfaceUserProfileDAO
-
findByAaiId
UserProfile findByAaiId(String aaiId)
- Specified by:
findByAaiIdin interfaceUserProfileDAO
-
save
UserProfile save(UserProfile user)
- Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<UserProfile,String>- Specified by:
savein interfaceUserProfileDAO
-
deleteAll
void deleteAll()
- Specified by:
deleteAllin interfaceorg.springframework.data.repository.CrudRepository<UserProfile,String>- Specified by:
deleteAllin interfaceUserProfileDAO
-
delete
void delete(String id)
- Specified by:
deletein interfaceorg.springframework.data.repository.CrudRepository<UserProfile,String>- Specified by:
deletein interfaceUserProfileDAO
-
-