Package com.bytedesk.voc.feedback
Interface FeedbackService
- All Known Implementing Classes:
FeedbackServiceImpl
public interface FeedbackService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignFeedback
(Long feedbackId, Long assignedTo) createFeedback
(String content, Long userId, String type) void
deleteFeedback
(Long feedbackId) getFeedback
(Long feedbackId) org.springframework.data.domain.Page<FeedbackEntity>
getFeedbacks
(org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<FeedbackEntity>
getFeedbacksByStatus
(String status, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<FeedbackEntity>
getFeedbacksByType
(String type, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<FeedbackEntity>
getFeedbacksByUser
(Long userId, org.springframework.data.domain.Pageable pageable) void
incrementLikeCount
(Long feedbackId) void
incrementReplyCount
(Long feedbackId) org.springframework.data.domain.Page<FeedbackEntity>
search
(String keyword, String type, String status, org.springframework.data.domain.Pageable pageable) updateFeedback
(Long feedbackId, String content) void
updateStatus
(Long feedbackId, String status)
-
Method Details
-
createFeedback
-
updateFeedback
-
deleteFeedback
-
getFeedback
-
getFeedbacks
org.springframework.data.domain.Page<FeedbackEntity> getFeedbacks(org.springframework.data.domain.Pageable pageable) -
getFeedbacksByUser
org.springframework.data.domain.Page<FeedbackEntity> getFeedbacksByUser(Long userId, org.springframework.data.domain.Pageable pageable) -
getFeedbacksByType
org.springframework.data.domain.Page<FeedbackEntity> getFeedbacksByType(String type, org.springframework.data.domain.Pageable pageable) -
getFeedbacksByStatus
org.springframework.data.domain.Page<FeedbackEntity> getFeedbacksByStatus(String status, org.springframework.data.domain.Pageable pageable) -
assignFeedback
-
updateStatus
-
incrementLikeCount
-
incrementReplyCount
-
search
org.springframework.data.domain.Page<FeedbackEntity> search(String keyword, String type, String status, org.springframework.data.domain.Pageable pageable)
-