@Service @Transactional public class SysUserTokenService extends BaseService<SysUserToken>
限定符和类型 | 字段和说明 |
---|---|
private SysUserTokenDao |
dao |
basedao, log
构造器和说明 |
---|
SysUserTokenService() |
限定符和类型 | 方法和说明 |
---|---|
int |
delete(java.util.Date now) |
int |
delete(java.lang.Long userId) |
PageHandler |
getPage(java.lang.Short siteId,
java.lang.Long userId,
java.lang.String channel,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
void |
updateExpiryDate(java.lang.String authToken,
java.util.Date expiryDate) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
private SysUserTokenDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.Long userId, java.lang.String channel, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- userId
- channel
- orderField
- orderType
- pageIndex
- pageSize
- @Transactional(isolation=READ_COMMITTED) public void updateExpiryDate(java.lang.String authToken, java.util.Date expiryDate)
authToken
- expiryDate
- public int delete(java.lang.Long userId)
userId
- public int delete(java.util.Date now)
now
-