类 LogOperate
java.lang.Object
com.mbap.core.domain.log.extend.Log
com.mbap.core.domain.log.LogOperate
- 所有已实现的接口:
org.json.JSONString
平台操作日志类 增、删、改
- 作者:
- BW.Panda Nov 21, 2016
-
方法概要
修饰符和类型方法说明voidvoidsetEntityID(String entityID) voidsetEntityJSON(String entityJSON) voidsetNewValue(String newValue) voidsetOldValue(String oldValue) voidsetProperty(String property) static LogOperatevalueOfCreate(String entity, String enityID) 增加操作日志记录构造方法static LogOperatevalueOfDelete(String entity, String enityID, String entityJSON) 删除操作日志记录构造方法static LogOperate修改操作日志记录构造方法从类继承的方法 com.mbap.core.domain.log.extend.Log
getBrowser, getBrowserVer, getClientIP, getCreateTime, getId, getIPAddress, getOperStaff, getOperSystem, getType, getUserAgent, setBrowser, setBrowserVer, setClientIP, setCreateTime, setId, setOperStaff, setOperSystem, setType, setUserAgent
-
方法详细资料
-
toJSONString
-
getEntity
-
setEntity
-
getEntityID
-
setEntityID
-
getProperty
-
setProperty
-
getOldValue
-
setOldValue
-
getNewValue
-
setNewValue
-
getEntityJSON
-
setEntityJSON
-
valueOfCreate
增加操作日志记录构造方法- 参数:
entity- 进行记录日志的实体类的全路径。 如: com.dvp.domain.UserenityID- 实体对象的主键- 返回:
- 数据操作日志记录对象
-
valueOfUpdate
public static LogOperate valueOfUpdate(String entity, String enityID, String property, String oldValue, String newValue) 修改操作日志记录构造方法- 参数:
entity- 进行记录日志的实体类的全路径。 如: com.dvp.domain.UserenityID- 实体对象的主键property- 值变化的字段名称oldValue- 修改前的值newValue- 修改后的值- 返回:
- 数据操作日志记录对象
-
valueOfDelete
删除操作日志记录构造方法- 参数:
entity- 进行记录日志的实体类的全路径。 如: com.dvp.domain.UserenityID- 实体对象的主键entityJSON- 实体对象的json数据- 返回:
- 数据操作日志记录对象
-