类 LogOperate

java.lang.Object
com.mbap.core.domain.log.extend.Log
com.mbap.core.domain.log.LogOperate
所有已实现的接口:
org.json.JSONString

public class LogOperate extends Log
平台操作日志类 增、删、改
作者:
BW.Panda Nov 21, 2016
  • 方法详细资料

    • toJSONString

      public String toJSONString()
    • getEntity

      public String getEntity()
    • setEntity

      public void setEntity(String entity)
    • getEntityID

      public String getEntityID()
    • setEntityID

      public void setEntityID(String entityID)
    • getProperty

      public String getProperty()
    • setProperty

      public void setProperty(String property)
    • getOldValue

      public String getOldValue()
    • setOldValue

      public void setOldValue(String oldValue)
    • getNewValue

      public String getNewValue()
    • setNewValue

      public void setNewValue(String newValue)
    • getEntityJSON

      public String getEntityJSON()
    • setEntityJSON

      public void setEntityJSON(String entityJSON)
    • valueOfCreate

      public static LogOperate valueOfCreate(String entity, String enityID)
      增加操作日志记录构造方法
      参数:
      entity - 进行记录日志的实体类的全路径。 如: com.dvp.domain.User
      enityID - 实体对象的主键
      返回:
      数据操作日志记录对象
    • valueOfUpdate

      public static LogOperate valueOfUpdate(String entity, String enityID, String property, String oldValue, String newValue)
      修改操作日志记录构造方法
      参数:
      entity - 进行记录日志的实体类的全路径。 如: com.dvp.domain.User
      enityID - 实体对象的主键
      property - 值变化的字段名称
      oldValue - 修改前的值
      newValue - 修改后的值
      返回:
      数据操作日志记录对象
    • valueOfDelete

      public static LogOperate valueOfDelete(String entity, String enityID, String entityJSON)
      删除操作日志记录构造方法
      参数:
      entity - 进行记录日志的实体类的全路径。 如: com.dvp.domain.User
      enityID - 实体对象的主键
      entityJSON - 实体对象的json数据
      返回:
      数据操作日志记录对象