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.blstream.patronage.ctf.repository.PlayerRepository.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.PortalRoleRepository.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.PeriodStatRepository.java

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

From source file com.recursivechaos.stoopbot.dao.ItemsDao.java

public interface ItemsDao extends MongoRepository<Items, String> {

}

From source file com.bootdroolsmongo.rules.RuleRepository.java

/**
 *
 * -derived queries inherited from Spring Data project
 * -write the methods and the queries are built for you
 * -CRUD methods supported
 * @author Ian

From source file com.wordpress.kuylim.repository.RoleRepository.java

/**
 *
 * @author KUYLIM
 */
public interface RoleRepository extends MongoRepository<Role, String> {

From source file cz.sohlich.workstack.repository.UserRepository.java

/**
 *
 * @author radek
 */
public interface UserRepository extends MongoRepository<User, String> {
    public User findByUsername(String username);

From source file com.siva.rabbitmqweb.repository.PayloadRepository.java

/**
 *
 * @author siva
 */
public interface PayloadRepository extends MongoRepository<PayLoad, String> {

From source file com.rbezerra.umadica.repository.UserRepository.java

/**
 *
 * @author rbezerra
 */

public interface UserRepository extends MongoRepository<User, String> {

From source file com.todolist.repository.VoitureRepository.java

public interface VoitureRepository extends MongoRepository<Voiture, String> {

    public List<Voiture> findByNumero(String numero);

}