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

com.github.iintelligas.service.UserService Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
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