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

org.oxerr.commons.user.service.EmailService Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package org.oxerr.commons.user.service;

import java.util.Optional;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

import org.oxerr.commons.user.domain.Email;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface EmailService {

	Email saveEmail(@Nonnull Email email);

	Optional getEmailByAddress(@Nonnull String address);

	Page getEmails(
		@Nullable String address,
		@Nullable String username,
		@Nonnull Pageable pageable
	);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy