Package com.bytedesk.voc.feedback
Interface FeedbackService
- All Known Implementing Classes:
FeedbackServiceImpl
public interface FeedbackService
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignFeedback(Long feedbackId, Long assignedTo) createFeedback(String content, Long userId, String type) voiddeleteFeedback(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) voidincrementLikeCount(Long feedbackId) voidincrementReplyCount(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) voidupdateStatus(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)
-