All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.adorsys.multibanking.repository.BookingRepositoryMongodb Maven / Gradle / Ivy

There is a newer version: 4.3.9
Show newest version
package de.adorsys.multibanking.repository;

import de.adorsys.multibanking.domain.BookingEntity;
import domain.BankApi;
import org.springframework.context.annotation.Profile;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

/**
 * Created by alexg on 07.02.17.
 */
@Repository
@Profile({"mongo", "fongo"})
public interface BookingRepositoryMongodb extends MongoRepository {

    List findByUserIdAndAccountIdAndBankApi(String userId, String bankAccountId, BankApi bankApi, Sort sort);

    Optional findByUserIdAndId(String userId, String bookingId);

    void deleteByAccountId(String id);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy