Class/Object

razie.audit

Audit

Related Docs: object Audit | package audit

Permalink

case class Audit(level: String, msg: String, details: String, link: Option[String] = None, node: Option[String] = None, when: DateTime = DateTime.now, _id: ObjectId = new ObjectId) extends REntity[Audit] with Product with Serializable

generic audit event - stored in db table, log or ELK etc.

Some of these may end up as emails or alerts.

With the Mongo implementation, there are two tables: Audit for events to be reviewed and AuditCleared for reviewed events. You need your own purging of the AuditCleared table.

The Play Controller for these is controllers.AdminAudit

these are also used for cluster notifications

TODO should have a configurable workflow for each of these - what's the pattern?

Annotations
@RTable()
Linear Supertypes
Serializable, Serializable, Product, Equals, REntity[Audit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Audit
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. REntity
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Audit(level: String, msg: String, details: String, link: Option[String] = None, node: Option[String] = None, when: DateTime = DateTime.now, _id: ObjectId = new ObjectId)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val _id: ObjectId

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def create(implicit txn: Txn = tx.auto): Unit

    Permalink
    Definition Classes
    AuditREntity
  8. def createNoAudit(implicit txn: Txn): Unit

    Permalink
    Definition Classes
    REntity
  9. def delete(implicit txn: Txn): Unit

    Permalink
    Definition Classes
    REntity
  10. def deleteNoAudit(implicit txn: Txn): Unit

    Permalink
    Definition Classes
    REntity
  11. val details: String

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def grated: com.mongodb.casbah.Imports.DBObject

    Permalink
    Definition Classes
    REntity
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val level: String

    Permalink
  18. val link: Option[String]

    Permalink
  19. val msg: String

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. val node: Option[String]

    Permalink
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toJson: String

    Permalink
    Definition Classes
    REntity
  26. def toJsonNice: String

    Permalink
    Definition Classes
    REntity
  27. implicit def toroa(id: ObjectId): as

    Permalink
    Definition Classes
    REntity
  28. def trash(by: String)(implicit txn: Txn): Unit

    Permalink
    Definition Classes
    REntity
  29. def update(implicit txn: Txn): Unit

    Permalink
    Definition Classes
    REntity
  30. def updateNoAudit(implicit txn: Txn): Unit

    Permalink
    Definition Classes
    REntity
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val when: DateTime

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from REntity[Audit]

Inherited from AnyRef

Inherited from Any

Ungrouped