Class UserService

java.lang.Object
org.api.mkm.services.UserService

public class UserService
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    UserService()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<User> findUsers​(java.lang.String name)  
    java.util.List<Thread> getMessages​(User other)  
    boolean sendMessage​(User u, java.lang.String message)  
    boolean setVacation​(boolean vacation)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserService

      public UserService()
  • Method Details

    • findUsers

      public java.util.List<User> findUsers​(java.lang.String name) throws java.io.IOException
      Throws:
      java.io.IOException
    • setVacation

      public boolean setVacation​(boolean vacation) throws java.io.IOException
      Throws:
      java.io.IOException
    • sendMessage

      public boolean sendMessage​(User u, java.lang.String message) throws java.io.IOException
      Throws:
      java.io.IOException
    • getMessages

      public java.util.List<Thread> getMessages​(User other) throws java.io.IOException
      Throws:
      java.io.IOException