com.quhaodian.user.data.service.UserInfoService Maven / Gradle / Ivy
package com.quhaodian.user.data.service;
import com.quhaodian.data.page.Filter;
import com.quhaodian.data.page.Order;
import com.quhaodian.data.page.Page;
import com.quhaodian.data.page.Pageable;
import com.quhaodian.user.data.entity.UserInfo;
import java.util.Collection;
import java.util.List;
/**
* Created by imake on 2017年07月20日16:35:49.
*/
public interface UserInfoService {
public UserInfo findById(Long id);
public UserInfo save(UserInfo bean);
public UserInfo addLabel(Long user, String... lables);
public UserInfo update(UserInfo bean);
public UserInfo deleteById(Long id);
public UserInfo[] deleteByIds(Long[] ids);
public Page page(Pageable pageable);
public Page page(Pageable pageable, Object search);
public List list(int first, Integer size, List filters, List orders);
UserInfo findByUserName(String username);
Collection extends String> findAuthorities(Long id);
void updateUserLogin(UserInfo user);
UserInfo addRole(Long id, Long roleid);
}