Interface UstraPostService

All Superinterfaces:
UstraBaseService
All Known Implementing Classes:
DefaultDbUstraPostService

public interface UstraPostService extends UstraBaseService
  • Method Details

    • getPosts

      게시글 목록 조회
      Parameters:
      postGrpId - 조회할 게시글의 그룹 아이디들
      Returns:
      조회된 게시글 목록
    • getPost

      UstraPostModel getPost(String postGrpId, Integer postId)
      게시글 조회
      Parameters:
      postGroupId - 조회할 게시글의 그룹 아이디
      postId - 조회할 게시글 아이디
      Returns:
      조회된 게시글 정보
    • addPost

      int addPost(UstraPostModel post)
      게시글 등록
      Parameters:
      post - 등록할 게시글 정보
    • updatePost

      int updatePost(UstraPostModel post)
      게시글 수정
      Parameters:
      post - 수정할 게시글 정보
    • removePost

      int removePost(String postGrpId, Integer postId)
      게시글 삭제
      Parameters:
      postGroupId - 삭제할 게시글 그룹 아이디
      postId - 삭제할 게시글 아이디
    • addViewCnt

      int addViewCnt(Integer postId)
      조회 수 증가
      Parameters:
      postId - 게시글 아이디
      Returns:
      int