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 org.obiba.mica.core.repository.AttachmentStateRepository.java

public interface AttachmentStateRepository extends MongoRepository<AttachmentState, String> {

    /**
     * Find {@link AttachmentState}s matching the path regular expression.
     *
     * @param pathRegEx

From source file persistence.mongodb.security.DocumentPermissionRepository.java

/**
 * @author Jairo Andres Velasco
 */
interface DocumentPermissionRepository extends MongoRepository<DocumentAccessPermissionBean, String> {
    DocumentAccessPermissionBean findByDocumentId(String documentId);
}

From source file org.openmhealth.shim.ApplicationAccessParametersRepo.java

/**
 * @author Danilo Bonilla
 */
public interface ApplicationAccessParametersRepo extends MongoRepository<ApplicationAccessParameters, String> {

    ApplicationAccessParameters findByShimKey(String shimKey);

From source file proto.data.UserRepository.java

public interface UserRepository extends MongoRepository<User, Long> {

    User findByLogin(String login);
}

From source file org.statefulj.concurrency.SafeValueDocumentRepository.java

/**
 * @author Andrew Hall
 *
 */
public interface SafeValueDocumentRepository extends MongoRepository<SafeValueDocument, String> {

From source file org.statefulj.concurrency.UnsafeValueDocumentRepository.java

/**
 * @author Andrew Hall
 *
 */
public interface UnsafeValueDocumentRepository extends MongoRepository<UnsafeValueDocument, String> {

From source file doge.domain.UserRepository.java

/**
 * The {@link User} repository.
 *
 * @author Josh Long
 * @author Phillip Webb
 */

From source file org.tylproject.data.mongo.AddressRepository.java

public interface AddressRepository extends MongoRepository<Address, String> {
}

From source file doge.domain.DogePhotoRepository.java

/**
 * The {@link DogePhoto} repository.
 *
 * @author Josh Long
 * @author Phillip Webb
 */

From source file org.tylproject.data.mongo.PersonRepository.java

public interface PersonRepository extends MongoRepository<Person, String> {

    public Person findByName(String name);

}