Class/Object

razie.wiki.model

WikiAudit

Related Docs: object WikiAudit | package model

Permalink

case class WikiAudit(event: String, wpath: String, userId: Option[ObjectId], details: Option[String] = None, page: Option[WikiEntry] = None, oldPage: Option[WikiEntry] = None, oldWpath: Option[String] = None, node: Option[String] = None, crDtm: DateTime = DateTime.now, _id: ObjectId = new ObjectId()) extends Product with Serializable

auditing events on wiki pages, like edits, views etc

NOTE - this becomes a WikiEvent, in CQRS

These backed up in their own table

These are ALSO used CQRS style with WikiObserver - you can listen there

TODO should probably allow customization to track only interesting events, i.e. filters

for now - just purge the table as you feel like...

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

Instance Constructors

  1. new WikiAudit(event: String, wpath: String, userId: Option[ObjectId], details: Option[String] = None, page: Option[WikiEntry] = None, oldPage: Option[WikiEntry] = None, oldWpath: Option[String] = None, node: Option[String] = None, crDtm: 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. val crDtm: DateTime

    Permalink
  8. def create(implicit txn: Txn = tx.auto): Unit

    Permalink
  9. val details: Option[String]

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

    Permalink
    Definition Classes
    AnyRef
  11. val event: String

    Permalink
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

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

    Permalink
  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  19. val oldPage: Option[WikiEntry]

    Permalink
    Annotations
    @Ignore()
  20. val oldWpath: Option[String]

    Permalink
  21. val page: Option[WikiEntry]

    Permalink
    Annotations
    @Ignore()
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toEvent: WikiEvent[WikiEntry]

    Permalink
  24. val userId: Option[ObjectId]

    Permalink
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. val wpath: String

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped