com.github.iintelligas.service.UserService Maven / Gradle / Ivy
package com.github.iintelligas.service;
import com.github.iintelligas.persist.dto.Role;
import com.github.iintelligas.persist.dto.User;
import com.github.iintelligas.persist.dto.UserAutocompleteInfo;
import com.github.iintelligas.persist.entity.UserEntity;
import org.springframework.security.core.userdetails.UserDetailsService;
import java.util.List;
public interface UserService extends UserDetailsService {
User addUser(User user);
User getUser(Long userId);
UserEntity getUser(String username);
void updateUser(UserEntity user);
void updateUser(User user);
void deleteUser(Long userId);
List getUsers();
void assignRoleToUser(Role role, User user);
void updateProfile(User user);
List getMatchingNames(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy