Class ServiceReply

java.lang.Object
com.serinity.forumcontrol.service.ServiceReply
All Implemented Interfaces:
Services<Reply>

public class ServiceReply extends Object implements Services<Reply>
  • Constructor Details

    • ServiceReply

      public ServiceReply()
  • Method Details

    • add

      public void add(Reply reply)
      Specified by:
      add in interface Services<Reply>
    • getAll

      public List<Reply> getAll()
      Specified by:
      getAll in interface Services<Reply>
    • update

      public void update(Reply reply)
      Specified by:
      update in interface Services<Reply>
    • delete

      public void delete(Reply reply)
      Specified by:
      delete in interface Services<Reply>
    • getById

      public Reply getById(long id)
    • getByUser

      public List<Reply> getByUser(String userId)
    • getTopLevelReplies

      public List<Reply> getTopLevelReplies(long threadId)
    • getNestedReplies

      public List<Reply> getNestedReplies(long parentId)
    • deleteByThread

      public void deleteByThread(long threadId)
    • deleteNestedReplies

      public void deleteNestedReplies(long parentId)
    • updateContent

      public void updateContent(long replyId, String newContent)
    • getReplyAuthor

      public String getReplyAuthor(String userId)