public abstract class CommandSupport<M extends org.joyqueue.model.domain.BaseModel,S extends PageService,Q extends org.joyqueue.model.Query> extends Object implements com.jd.laf.web.vertx.Command<com.jd.laf.web.vertx.response.Response>, com.jd.laf.web.vertx.pool.Poolable
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.joyqueue.model.domain.Identity |
operator |
protected S |
service |
protected org.joyqueue.model.domain.User |
session |
protected io.vertx.core.Vertx |
vertx |
| 构造器和说明 |
|---|
CommandSupport() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.jd.laf.web.vertx.response.Response |
add(M model) |
ErrorCode |
addErrorCode() |
void |
clean() |
com.jd.laf.web.vertx.response.Response |
delete(Long id) |
ErrorCode |
deleteErrorCode() |
com.jd.laf.web.vertx.response.Response |
execute() |
com.jd.laf.web.vertx.response.Response |
get(Long id) |
ErrorCode |
getErrorCode() |
com.jd.laf.web.vertx.response.Response |
pageQuery(org.joyqueue.model.QPageQuery<Q> qPageQuery) |
void |
publish(AuditLogMessage.ActionType auditType,
org.joyqueue.model.domain.OperLog.OperType operType,
M model) |
com.jd.laf.web.vertx.response.Response |
update(Long id,
M model) |
ErrorCode |
updateErrorCode() |
com.jd.laf.web.vertx.response.Response |
updateStatus(Long id,
M model) |
protected S extends PageService service
protected org.joyqueue.model.domain.User session
protected org.joyqueue.model.domain.Identity operator
protected io.vertx.core.Vertx vertx
public com.jd.laf.web.vertx.response.Response execute()
throws Exception
execute 在接口中 com.jd.laf.web.vertx.Command<com.jd.laf.web.vertx.response.Response>Exceptionpublic void clean()
clean 在接口中 com.jd.laf.web.vertx.pool.Poolablepublic com.jd.laf.web.vertx.response.Response pageQuery(org.joyqueue.model.QPageQuery<Q> qPageQuery) throws Exception
Exceptionpublic com.jd.laf.web.vertx.response.Response update(Long id, M model) throws Exception
Exceptionpublic com.jd.laf.web.vertx.response.Response updateStatus(Long id, M model) throws Exception
Exceptionpublic ErrorCode addErrorCode()
public ErrorCode deleteErrorCode()
public ErrorCode updateErrorCode()
public ErrorCode getErrorCode()
public void publish(AuditLogMessage.ActionType auditType, org.joyqueue.model.domain.OperLog.OperType operType, M model)
Copyright © 2020 Joyqueue Community. All rights reserved.