All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hyperfoil.tools.horreum.svc.user.UserBackEnd Maven / Gradle / Ivy

package io.hyperfoil.tools.horreum.svc.user;

import java.util.List;
import java.util.Map;

import io.hyperfoil.tools.horreum.api.internal.services.UserService;

/**
 * Interface for back-end implementations for {@link io.hyperfoil.tools.horreum.svc.UserServiceImpl}
 */
public interface UserBackEnd {

    List searchUsers(String query);

    List info(List usernames);

    void createUser(UserService.NewUser user);

    void removeUser(String username);

    List getTeams();

    Map> teamMembers(String team);

    void updateTeamMembers(String team, Map> roles);

    List getAllTeams();

    void addTeam(String team);

    void deleteTeam(String team);

    List administrators();

    void updateAdministrators(List newAdmins);

    List machineAccounts(String team);

    void setPassword(String username, String password);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy