@Service @Transactional public class HqlService extends BaseService<java.lang.Object>
限定符和类型 | 字段和说明 |
---|---|
private HqlDao |
dao |
basedao, log
构造器和说明 |
---|
HqlService() |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
int |
delete(java.lang.String hql) |
PageHandler |
getPage(java.lang.String hql,
java.util.Map<java.lang.String,java.lang.Object> parameters,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
java.util.Set<java.lang.String> |
getToken(java.lang.String text) |
java.util.concurrent.CompletionStage<?> |
reCreateIndex() |
int |
update(java.lang.String hql) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
private HqlDao dao
public int update(java.lang.String hql)
hql
- public int delete(java.lang.String hql)
hql
- @Transactional(readOnly=true) public PageHandler getPage(java.lang.String hql, java.util.Map<java.lang.String,java.lang.Object> parameters, java.lang.Integer pageIndex, java.lang.Integer pageSize)
hql
- parameters
- pageIndex
- pageSize
- public java.util.Set<java.lang.String> getToken(java.lang.String text)
text
- public java.util.concurrent.CompletionStage<?> reCreateIndex()
public void clear()