Interface UserSystemService


  • public interface UserSystemService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<User> findAllUsers()  
      User findUser​(String id)
      Get the user information for a particular user.
      String getName()  
      void start()
      Invoked by the task assigning integration as part of the initialization procedure and before any other method is invoked.
      void test()
      Invoked by the task assigning integration as part of the initialization procedure and after the start() method is invoked.
    • Method Detail

      • start

        void start()
        Invoked by the task assigning integration as part of the initialization procedure and before any other method is invoked.
      • test

        void test()
           throws Exception
        Invoked by the task assigning integration as part of the initialization procedure and after the start() method is invoked.
        Throws:
        Exception - if the test method failed.
      • getName

        String getName()
        Returns:
        the name of the UserSystemService implementation.
      • findAllUsers

        List<User> findAllUsers()
        Returns:
        the list of all users present in the external user system. This method is normally invoked each time the solver is initialized or when the users information is updated from the external user system.
      • findUser

        User findUser​(String id)
        Get the user information for a particular user.
        Parameters:
        id - user identifier for querying.
        Returns:
        the User corresponding to the given identifier, null if no user was found.