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

de.adorsys.multibanking.impl.AnonymizedBookingRepositoryImpl Maven / Gradle / Ivy

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

import de.adorsys.multibanking.domain.AnonymizedBookingEntity;
import de.adorsys.multibanking.pers.spi.repository.AnonymizedBookingRepositoryIf;
import de.adorsys.multibanking.repository.AnonymizedBookingRepositoryMongodb;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;

import java.util.List;

@Profile({"mongo", "fongo"})
@Service
public class AnonymizedBookingRepositoryImpl implements AnonymizedBookingRepositoryIf {

	@Autowired
	private AnonymizedBookingRepositoryMongodb anonymizdBookingRepository;


	@Override
	public List save(List bookingEntities) {
		return anonymizdBookingRepository.saveAll(bookingEntities);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy