Skip to content

Commit

Permalink
refactor: uri prefix로 /admin 추가 및 클래스명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
amaran-th committed Sep 20, 2023
1 parent c5e8398 commit 1b302a5
Show file tree
Hide file tree
Showing 21 changed files with 90 additions and 518 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

@Transactional
@Service
public class CurriculumService {
public class AdminCurriculumService {

private final CurriculumRepository curriculumRepository;

public CurriculumService(CurriculumRepository repository) {
public AdminCurriculumService(CurriculumRepository repository) {
this.curriculumRepository = repository;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

@Transactional
@Service
public class KeywordService {
public class AdminKeywordService {

private final SessionRepository sessionRepository;
private final KeywordRepository keywordRepository;

public KeywordService(final SessionRepository sessionRepository,
public AdminKeywordService(final SessionRepository sessionRepository,
final KeywordRepository keywordRepository) {
this.sessionRepository = sessionRepository;
this.keywordRepository = keywordRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@Transactional(readOnly = true)
@RequiredArgsConstructor
@Service
public class NewSessionService {
public class AdminNewSessionService {

private final SessionRepository sessionRepository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@Service
@Transactional(readOnly = true)
@AllArgsConstructor
public class QuizService {
public class AdminQuizService {

private final KeywordRepository keywordRepository;
private final QuizRepository quizRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

@Transactional(readOnly = true)
@Service
public class RecommendedPostService {
public class AdminRecommendedPostService {

private final RecommendedPostRepository recommendedPostRepository;
private final KeywordRepository keywordRepository;

public RecommendedPostService(final RecommendedPostRepository recommendedPostRepository,
public AdminRecommendedPostService(final RecommendedPostRepository recommendedPostRepository,
final KeywordRepository keywordRepository) {
this.recommendedPostRepository = recommendedPostRepository;
this.keywordRepository = keywordRepository;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1b302a5

Please sign in to comment.