Interface ProfileSearchDataAccess

  • All Known Implementing Classes:
    ProfileSearchDataAccessImpl

    public interface ProfileSearchDataAccess
    An abstraction of the persistance/data access features supported by this micro-service.
    Author:
    swaroop_nath
    • Method Detail

      • updateCircleForUsers

        boolean updateCircleForUsers​(User currentUser,
                                     User targetUser)
                              throws UserNotAddedToCircleException
        This abstraction lets addition of user in circle.
        Parameters:
        currentUser - The currently logged in user.
        targetUser - The user intended to be added in the circle.
        Returns:
        Returns true in case the addition was successful.
        Throws:
        UserNotAddedToCircleException - Thrown in case users couldn't be added in their circles.