This commit is contained in:
geek 2018-04-24 11:52:49 +09:00
parent a42f95ee43
commit 3efe220425
2 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package com.loafle.overflow.module.domain.service;
import java.util.List; 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.core.exception.OverflowException;
import com.loafle.overflow.module.domain.model.Domain; import com.loafle.overflow.module.domain.model.Domain;
import com.loafle.overflow.module.domain.model.DomainMember; 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. * Created by snoop on 17. 6. 28.
*/ */
public interface DomainMemberService { public interface DomainMemberService {
@WebappAPI
void regist(DomainMember domainMember) throws OverflowException; void regist(DomainMember domainMember) throws OverflowException;
@WebappAPI
Domain readDomainByMemberID(long id) throws OverflowException; Domain readDomainByMemberID(long id) throws OverflowException;
@WebappAPI
DomainMember readByMemberEmail(String email) throws OverflowException; DomainMember readByMemberEmail(String email) throws OverflowException;
@WebappAPI
List<Member> readAllMemberByDomain(Domain domain) throws OverflowException; List<Member> readAllMemberByDomain(Domain domain) throws OverflowException;
@WebappAPI
List<Member> readAllMemberByDomainID(final long domainID) throws OverflowException; List<Member> readAllMemberByDomainID(final long domainID) throws OverflowException;
} }

View File

@ -1,5 +1,6 @@
package com.loafle.overflow.module.domain.service; 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.core.exception.OverflowException;
import com.loafle.overflow.module.domain.model.Domain; 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. * Created by snoop on 17. 6. 28.
*/ */
public interface DomainService { public interface DomainService {
@WebappAPI
void regist(Domain domain) throws OverflowException; void regist(Domain domain) throws OverflowException;
} }