-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [#233] refactor(MemberUseCase): 메서드 이름 변경 및 추가 메서드 선언 * [#233] refactor(AdminFacade): 메서드 이름 변경사항 반영 * [#233] refactor(AdminFacade): findUserByMemberId 삭제 및 메서드 이름 변경 및 읽기 전용 트랜잭션 선언 * [#233] feat(UserUseCase): userId로 User 객체를 조회하는 메서드 선언 * [#233] feat(UserService): userId로 User 객체를 조회하는 메서드 구현 * [#233] fix(SocialLoginService): memberId로 Member 객체를 조회 후 그 회원의 userId로 User 객체를 조회하도록 수정 * [#233] refactor(SocialLoginService): Member 객체에서 직접 Users 객체를 참조하도록 변경
- Loading branch information
1 parent
83c21fa
commit 6b28378
Showing
6 changed files
with
72 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
src/main/java/com/beat/domain/member/port/in/MemberUseCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
package com.beat.domain.member.port.in; | ||
|
||
import com.beat.domain.member.domain.Member; | ||
import com.beat.domain.member.domain.SocialType; | ||
|
||
public interface MemberUseCase { | ||
Member findMemberById(Long memberId); | ||
Member findMemberByMemberId(Long memberId); | ||
|
||
boolean checkMemberExistsBySocialIdAndSocialType(Long socialId, SocialType socialType); | ||
|
||
Member findMemberBySocialIdAndSocialType(Long socialId, SocialType socialType); | ||
|
||
void deleteUser(Long id); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,6 @@ | |
|
||
public interface UserUseCase { | ||
List<Users> findAllUsers(); | ||
|
||
Users findUserByUserId(final Long userId); | ||
} |