com.sany.workflow.business.service.ChooseUserService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pdp-workflow-bussiness Show documentation
Show all versions of pdp-workflow-bussiness Show documentation
bboss public development platform base on bboss.
package com.sany.workflow.business.service;
import java.sql.SQLException;
import java.util.List;
import com.sany.workflow.business.entity.SysUser;
import com.sany.workflow.entity.User;
/**
* 选择组织用户接口
*
* @todo
* @author tanx
* @date 2014年6月9日
*
*/
public interface ChooseUserService {
public SysUser queryUserByCode(String code) throws SQLException;
public List selectUsersByCondition(
com.frameworkset.platform.sysmgrcore.entity.User user, long offset,
int pagesize) throws SQLException;
public List selectUsersByCondition(
com.frameworkset.platform.sysmgrcore.entity.User user)
throws SQLException;
public List queryUsersByUsernames(
String usernames) throws SQLException;
/**
* 获取单个用户信息
*
* @param offset
* @param pagesize
* @return
*/
public User getUserInfo(String userName) throws Exception;
/**
* 根据查询条件查询用户分页列表
*
* @param offset
* @param pagesize
* @return
*/
public List queryUsersForPage(User user, long offset, int pagesize)
throws Exception;
/**
* 根据查询条件查询用户分页列表
*
* @param offset
* @param pagesize
* @return
*/
public List queryUsersAndOrgToJson(User user, long offset,
int pagesize) throws Exception;
}