com.quhaodian.user.data.service.UserAccountService 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.data.rest.domain.AbstractVo;
import com.quhaodian.discover.rest.base.ResponseObject;
import com.quhaodian.user.data.entity.UserAccount;
import com.quhaodian.user.data.vo.UserAccountVo;
import com.quhaodian.user.enums.AccountType;
import java.util.List;
/**
* Created by imake on 2017年07月20日16:24:20.
*/
public interface UserAccountService {
public UserAccountVo reg(UserAccount bean);
/**
* 修改账号密码
*
* @param user
* @param accountType
* @param oldpassword
* @param password
* @return
*/
AbstractVo updatePassword(Long user, AccountType accountType, String oldpassword, String password);
public UserAccount findById(Long id);
public UserAccount save(UserAccount bean);
public UserAccount update(UserAccount bean);
public UserAccount deleteById(Long id);
public UserAccount[] 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);
UserAccount findByUserName(String username, AccountType account);
UserAccount updateUserLogin(UserAccount userAccount);
ResponseObject restPassword(UserAccount userAccount);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy