Package com.bytedesk.forum.user
Class ForumUserServiceImpl
java.lang.Object
com.bytedesk.forum.user.ForumUserServiceImpl
- All Implemented Interfaces:
ForumUserService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<PostEntity>
getUserLikes
(Long userId, org.springframework.data.domain.Pageable pageable) getUserStats
(Long userId) void
updatePassword
(Long userId, String oldPassword, String newPassword) void
updateProfile
(Long userId, String nickname, String email, String bio)
-
Field Details
-
postRepository
-
-
Constructor Details
-
ForumUserServiceImpl
public ForumUserServiceImpl()
-
-
Method Details
-
getUserStats
- Specified by:
getUserStats
in interfaceForumUserService
-
getUserLikes
public org.springframework.data.domain.Page<PostEntity> getUserLikes(Long userId, org.springframework.data.domain.Pageable pageable) - Specified by:
getUserLikes
in interfaceForumUserService
-
updateProfile
- Specified by:
updateProfile
in interfaceForumUserService
-
updatePassword
- Specified by:
updatePassword
in interfaceForumUserService
-