aoztepe
7/20/2018 - 8:27 AM

UserService

User Service

package com.ozysoft.matchbie.domain.users;

import com.ozysoft.matchbie.enums.UserRoles;

import java.util.List;
import java.util.UUID;

public interface UserService {

    Users getByMail(String email);

    Users getByMailLogIn(String email);

    List<Users> getUserListByRole(UserRoles roles);

    Users getByIdUser(UUID id);

    Users create(Users user);

    Users activateUser(Users user);

    Users getNotActiveUserByMail(String email);

    Users makeOnline(Users user);

    Users makeOffline(Users user);

    Users getByUserName(String userName);

    Users update(Users user);

    Users getUserByKey(String key);

    List<Users> findUser(String email, String username);
}