@Service @Transactional public class SysUserService extends BaseService<SysUser>
限定符和类型 | 字段和说明 |
---|---|
static int |
CONTENT_PERMISSIONS_ALL |
static int |
CONTENT_PERMISSIONS_DEPT |
static int |
CONTENT_PERMISSIONS_SELF |
private SysUserDao |
dao |
basedao, log
构造器和说明 |
---|
SysUserService() |
限定符和类型 | 方法和说明 |
---|---|
void |
checked(java.io.Serializable id,
java.lang.String email) |
void |
deleteRoleIds(java.io.Serializable userId,
java.lang.Integer roleId) |
SysUser |
findByEmail(short siteId,
java.lang.String email) |
SysUser |
findByName(short siteId,
java.lang.String name) |
PageHandler |
getPage(java.lang.Short siteId,
java.lang.Integer deptId,
java.util.Date startRegisteredDate,
java.util.Date endRegisteredDate,
java.util.Date startLastLoginDate,
java.util.Date endLastLoginDate,
java.lang.Boolean superuser,
java.lang.Boolean emailChecked,
java.lang.Boolean disabled,
java.lang.String name,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
SysUser |
updateCover(java.io.Serializable id,
java.lang.String cover) |
SysUser |
updateLoginStatus(java.io.Serializable id,
java.lang.String ip) |
SysUser |
updateNickname(java.io.Serializable id,
java.lang.String nickname) |
void |
updatePassword(java.io.Serializable id,
java.lang.String password) |
SysUser |
updateProfile(java.io.Serializable id,
java.lang.String nickname,
java.lang.String cover,
java.lang.String email) |
SysUser |
updateStatus(java.io.Serializable id,
boolean status) |
java.util.List<SysUser> |
updateStatus(short siteId,
java.io.Serializable[] ids,
java.io.Serializable operateId,
boolean status) |
void |
updateWeekPassword(java.io.Serializable id,
boolean weak) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
public static final int CONTENT_PERMISSIONS_SELF
public static final int CONTENT_PERMISSIONS_ALL
public static final int CONTENT_PERMISSIONS_DEPT
private SysUserDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.Integer deptId, java.util.Date startRegisteredDate, java.util.Date endRegisteredDate, java.util.Date startLastLoginDate, java.util.Date endLastLoginDate, java.lang.Boolean superuser, java.lang.Boolean emailChecked, java.lang.Boolean disabled, java.lang.String name, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- deptId
- startRegisteredDate
- endRegisteredDate
- startLastLoginDate
- endLastLoginDate
- superuser
- emailChecked
- disabled
- name
- orderField
- orderType
- pageIndex
- pageSize
- public SysUser findByName(short siteId, java.lang.String name)
siteId
- name
- public SysUser findByEmail(short siteId, java.lang.String email)
siteId
- email
- @Transactional(isolation=READ_COMMITTED) public SysUser updateCover(java.io.Serializable id, java.lang.String cover)
id
- cover
- @Transactional(isolation=READ_COMMITTED) public SysUser updateProfile(java.io.Serializable id, java.lang.String nickname, java.lang.String cover, java.lang.String email)
id
- nickname
- cover
- email
- @Transactional(isolation=READ_COMMITTED) public void updatePassword(java.io.Serializable id, java.lang.String password)
id
- password
- @Transactional(isolation=READ_COMMITTED) public void updateWeekPassword(java.io.Serializable id, boolean weak)
id
- weak
- @Transactional(isolation=READ_COMMITTED) public SysUser updateLoginStatus(java.io.Serializable id, java.lang.String ip)
id
- ip
- public void deleteRoleIds(java.io.Serializable userId, java.lang.Integer roleId)
userId
- roleId
- @Transactional(isolation=READ_COMMITTED) public void checked(java.io.Serializable id, java.lang.String email)
id
- email
- @Transactional(isolation=READ_COMMITTED) public SysUser updateNickname(java.io.Serializable id, java.lang.String nickname)
id
- nickname
- public SysUser updateStatus(java.io.Serializable id, boolean status)
id
- status
- @Transactional(isolation=READ_COMMITTED) public java.util.List<SysUser> updateStatus(short siteId, java.io.Serializable[] ids, java.io.Serializable operateId, boolean status)
siteId
- ids
- operateId
- status
-