-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
공유페이지 외부 공개 api 기능 구현 및 리팩토링 완료 (#205)
* feat : ApiStatus에 forbidden 추가 (#204) * feat : IsPublicUpdateRequest DTO 생성 (#204) * refactor : shareURL로 공유페이지 접속하는 url 수정 (#204) * feat : SpaceWall엔티티에 isPublic 컬럼 추가 (#204) - 공유페이지 저장시엔 설정이 안되기 때문에 @ColumnDefault로 디폴트 값 false로 설정 * feat : updateIsPublic 컨트롤러 메서드 생성 및 findByshareURL url 수정 (#204) * feat : shareURL로 공유페이지 접근 시 외부공개 여부 체크하여 예외처리 (#204) * refactor : db에 중복된 shareURL이 있을 경우 예외처리 추가 (#204) * refactor : SpaceWallResponse에 memberId제거 및 isPublic 추가 (#204) * feat : updateIsPublic 서비스 메소드 생성 (#204) * modify : request변수명 수정 (#204) * modify : updateIsPublic컨트롤러 메서드 응답 수정 (#204) * refactor : 파일첨부가 되지 않은 파일블록이 있을 경우 예외처리 (#204)
- Loading branch information
Showing
10 changed files
with
117 additions
and
48 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
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
20 changes: 20 additions & 0 deletions
20
src/main/java/com/javajober/spaceWall/dto/request/IsPublicUpdateRequest.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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.javajober.spaceWall.dto.request; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class IsPublicUpdateRequest { | ||
|
||
private Long spaceId; | ||
private Long spaceWallId; | ||
private Boolean isPublic; | ||
|
||
public IsPublicUpdateRequest() { | ||
} | ||
|
||
public IsPublicUpdateRequest(final Long spaceId, final Long spaceWallId, final Boolean isPublic) { | ||
this.spaceId = spaceId; | ||
this.spaceWallId = spaceWallId; | ||
this.isPublic = isPublic; | ||
} | ||
} |
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
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