-
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.
- Loading branch information
Showing
11 changed files
with
23 additions
and
207 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
12 changes: 0 additions & 12 deletions
12
...in/kotlin/com/open3r/openmusic/domain/admin/album/repository/AdminAlbumQueryRepository.kt
This file was deleted.
Oops, something went wrong.
77 changes: 0 additions & 77 deletions
77
.../com/open3r/openmusic/domain/admin/album/repository/impl/AdminAlbumQueryRepositoryImpl.kt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/main/kotlin/com/open3r/openmusic/domain/admin/album/service/AdminAlbumService.kt
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,17 +1,5 @@ | ||
package com.open3r.openmusic.domain.admin.album.service | ||
|
||
import com.open3r.openmusic.domain.album.dto.response.AlbumResponse | ||
import org.springframework.data.domain.Page | ||
import org.springframework.data.domain.Pageable | ||
|
||
interface AdminAlbumService { | ||
fun getPendingAlbums(pageable: Pageable): Page<AlbumResponse> | ||
fun getApprovedAlbums(pageable: Pageable): Page<AlbumResponse> | ||
fun getRejectedAlbums(pageable: Pageable): Page<AlbumResponse> | ||
fun getDeletedAlbums(pageable: Pageable): Page<AlbumResponse> | ||
|
||
fun approveAlbum(albumId: Long) | ||
fun rejectAlbum(albumId: Long) | ||
|
||
fun deleteAlbum(albumId: Long) | ||
} |
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
4 changes: 1 addition & 3 deletions
4
src/main/kotlin/com/open3r/openmusic/domain/album/domain/enums/AlbumStatus.kt
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,8 +1,6 @@ | ||
package com.open3r.openmusic.domain.album.domain.enums | ||
|
||
enum class AlbumStatus { | ||
PENDING, | ||
APPROVED, | ||
REJECTED, | ||
ACTIVE, | ||
DELETED | ||
} |
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
Oops, something went wrong.