Class ServiceThread
java.lang.Object
com.serinity.forumcontrol.service.ServiceThread
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidgetAll()getById(long id) getCategory(long CategoryId) getThreadBadge(long threadId) booleanbooleanistherapist(String userId) voidtogglePin(long threadId) voidvoidupdateStatus(long threadId, ThreadStatus status) voidupdateThreadCommentCount(long threadId, int change) voidupdateThreadFollowCount(int threadId, boolean wasFollowing, boolean isFollowing) voidupdateThreadVoteCounts(int threadId, int oldVote, int newVote)
-
Constructor Details
-
ServiceThread
public ServiceThread()
-
-
Method Details
-
add
-
getAll
-
getAll
-
getThreadBadge
-
update
-
delete
-
getById
-
updateStatus
-
togglePin
public void togglePin(long threadId) -
isOwner
-
getAuthor
-
istherapist
-
getCategory
-
updateThreadCommentCount
public void updateThreadCommentCount(long threadId, int change) -
updateThreadVoteCounts
public void updateThreadVoteCounts(int threadId, int oldVote, int newVote) -
updateThreadFollowCount
public void updateThreadFollowCount(int threadId, boolean wasFollowing, boolean isFollowing)
-