java-tutorials/spark-java/src/main/java/com/baeldung/sparkjava/UserService.java

18 lines
351 B
Java
Raw Normal View History

package com.baeldung.sparkjava;
import java.util.Collection;
public interface UserService {
2017-01-29 08:57:30 -05:00
public void addUser(User user);
public Collection<User> getUsers();
public User getUser(String id);
public User editUser(User user) throws UserException;
public void deleteUser(String id);
public boolean userExist(String id);
}