ing
This commit is contained in:
parent
a42f95ee43
commit
3efe220425
|
@ -2,6 +2,7 @@ package com.loafle.overflow.module.domain.service;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.domain.model.Domain;
|
||||
import com.loafle.overflow.module.domain.model.DomainMember;
|
||||
|
@ -11,9 +12,14 @@ import com.loafle.overflow.module.member.model.Member;
|
|||
* Created by snoop on 17. 6. 28.
|
||||
*/
|
||||
public interface DomainMemberService {
|
||||
@WebappAPI
|
||||
void regist(DomainMember domainMember) throws OverflowException;
|
||||
@WebappAPI
|
||||
Domain readDomainByMemberID(long id) throws OverflowException;
|
||||
@WebappAPI
|
||||
DomainMember readByMemberEmail(String email) throws OverflowException;
|
||||
@WebappAPI
|
||||
List<Member> readAllMemberByDomain(Domain domain) throws OverflowException;
|
||||
@WebappAPI
|
||||
List<Member> readAllMemberByDomainID(final long domainID) throws OverflowException;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.loafle.overflow.module.domain.service;
|
||||
|
||||
import com.loafle.overflow.module.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.module.core.exception.OverflowException;
|
||||
import com.loafle.overflow.module.domain.model.Domain;
|
||||
|
||||
|
@ -7,5 +8,6 @@ import com.loafle.overflow.module.domain.model.Domain;
|
|||
* Created by snoop on 17. 6. 28.
|
||||
*/
|
||||
public interface DomainService {
|
||||
@WebappAPI
|
||||
void regist(Domain domain) throws OverflowException;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user