Example usage for org.springframework.data.mongodb.repository MongoRepository interface-usage

List of usage examples for org.springframework.data.mongodb.repository MongoRepository interface-usage

Introduction

In this page you can find the example usage for org.springframework.data.mongodb.repository MongoRepository interface-usage.

Usage

From source file com.recursivechaos.boredgames.repository.UserRepository.java

/**
 * Created by Andrew Bell 5/28/2015
 * www.recursivechaos.com
 * andrew@recursivechaos.com
 * Licensed under MIT License 2015. See license.txt for details.
 */

From source file br.com.s2it.snakes.repositories.CarRepository.java

@Repository
public interface CarRepository extends MongoRepository<Car, String> {
    public Car findByLicensePlate(String licensePlate);

}

From source file org.starfishrespect.myconsumption.server.business.repositories.SensorRepository.java

/**
 * S23Y (2015). Licensed under the Apache License, Version 2.0.
 * Author: Thibaud Ledent
 */
public interface SensorRepository extends MongoRepository<Sensor, String>, SensorRepositoryCustom {
}

From source file org.starfishrespect.myconsumption.server.business.repositories.ValuesRepository.java

/**
 * S23Y (2015). Licensed under the Apache License, Version 2.0.
 * Author: Thibaud Ledent
 */
public interface ValuesRepository extends MongoRepository<SensorDataset, String>, ValuesRepositoryCustom {
}

From source file org.starfishrespect.myconsumption.server.business.repositories.UserRepository.java

/**
 * S23Y (2015). Licensed under the Apache License, Version 2.0.
 * Author: Thibaud Ledent
 */
public interface UserRepository extends MongoRepository<User, String>, UserRepositoryCustom {
    ;

From source file com.blstream.patronage.ctf.repository.PortalUserRepository.java

/**
 * Copyright 2013 BLStream
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

From source file com.blstream.patronage.ctf.repository.SimpleRepository.java

/**
 * Copyright 2013 BLStream
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

From source file org.starfishrespect.myconsumption.server.business.repositories.DayStatRepository.java

/**
 * S23Y (2015). Licensed under the Apache License, Version 2.0.
 * Author: Thibaud Ledent
 */
public interface DayStatRepository extends MongoRepository<DayStat, String> {
    List<DayStat> findBySensorId(String sensorId);

From source file x1.markdown.security.AccountRepository.java

/**
 *
 * @author vlad
 */
public interface AccountRepository extends MongoRepository<Account, String> {
    public Account findByUsername(String username);

From source file x1.markdown.repository.MarkdownRepository.java

/**
 *
 * @author vlad
 */
public interface MarkdownRepository extends MongoRepository<MarkdownDocument, String> {