diff --git a/pom.xml b/pom.xml index 632a1da..6ad8e8d 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.13-SNAPSHOT + 1.0.14-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/service/central/email/EmailAuthService.java b/src/main/java/com/loafle/overflow/service/central/email/EmailAuthService.java new file mode 100644 index 0000000..576444c --- /dev/null +++ b/src/main/java/com/loafle/overflow/service/central/email/EmailAuthService.java @@ -0,0 +1,31 @@ +package com.loafle.overflow.service.central.email; + +import com.loafle.overflow.core.annotation.WebappAPI; +import com.loafle.overflow.core.exception.OverflowException; +import com.loafle.overflow.model.email.EmailAuth; +import com.loafle.overflow.model.member.Member; + +import java.util.List; + +public interface EmailAuthService { + @WebappAPI + EmailAuth read() throws OverflowException; + + @WebappAPI + EmailAuth readBySignupAuthKey(String token) throws OverflowException; + + @WebappAPI + EmailAuth readByPwAuthKey(String token) throws OverflowException; + + @WebappAPI + List readByMember(Long memberID) throws OverflowException; + + @WebappAPI + EmailAuth modify(EmailAuth emailAuth) throws OverflowException; + + @WebappAPI + EmailAuth sendEmailByMember(Member member) throws OverflowException; + + @WebappAPI + EmailAuth sendEmailResetPassword(Member member) throws OverflowException; +} diff --git a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java index 41d6595..6b15f82 100644 --- a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java +++ b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java @@ -4,10 +4,12 @@ import java.util.List; import com.loafle.overflow.core.annotation.WebappAPI; import com.loafle.overflow.core.exception.OverflowException; +import com.loafle.overflow.core.model.PageParams; import com.loafle.overflow.model.discovery.Host; import com.loafle.overflow.model.discovery.Service; import com.loafle.overflow.model.probe.Probe; import com.loafle.overflow.model.target.Target; +import org.springframework.data.domain.Page; /** * Created by insanity on 17. 6. 28. @@ -40,4 +42,7 @@ public interface TargetService { @WebappAPI public Target readExistServiceTarget(Long hostId, int portNumber, String portType) throws OverflowException; + @WebappAPI + public Page readAllByProbeID(Long probeID, PageParams pageParams) throws OverflowException; + }