ing
This commit is contained in:
parent
518d2bf0b3
commit
49f90085d1
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
|||
<groupId>com.loafle.overflow</groupId>
|
||||
<artifactId>commons-java</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0.13-SNAPSHOT</version>
|
||||
<version>1.0.14-SNAPSHOT</version>
|
||||
<name>com.loafle.overflow.commons-java</name>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -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<EmailAuth> 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;
|
||||
}
|
|
@ -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<Target> readAllByProbeID(Long probeID, PageParams pageParams) throws OverflowException;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user