Class/Object

razie.wiki.model

WikiEvent

Related Docs: object WikiEvent | package model

Permalink

case class WikiEvent[A](action: String, cls: String, id: String, entity: Option[A] = None, oldEntity: Option[A] = None, oldId: Option[String] = None, node: String = "") extends WikiEventBase with Product with Serializable

a generic event refering to an entity

A

the entity type

action

what happened to it - use constants below. Extensions must start with prefiex per example

cls

the class, SimpleName - must be understood by processors

id

some form of the entity ID recognized by consumers

entity

the entity, if local on this node and still existing - ignored for serialization

oldEntity

the old entity, if local and entity changed - ignored for serialization

oldId

optionally, if entity was renamed or moved or something, the old id

Linear Supertypes
Serializable, Serializable, Product, Equals, WikiEventBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WikiEvent
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WikiEventBase
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WikiEvent(action: String, cls: String, id: String, entity: Option[A] = None, oldEntity: Option[A] = None, oldId: Option[String] = None, node: String = "")

    Permalink

    action

    what happened to it - use constants below. Extensions must start with prefiex per example

    cls

    the class, SimpleName - must be understood by processors

    id

    some form of the entity ID recognized by consumers

    entity

    the entity, if local on this node and still existing - ignored for serialization

    oldEntity

    the old entity, if local and entity changed - ignored for serialization

    oldId

    optionally, if entity was renamed or moved or something, the old id

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 action: String

    Permalink

    what happened to it - use constants below.

    what happened to it - use constants below. Extensions must start with prefiex per example

  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 cls: String

    Permalink

    the class, SimpleName - must be understood by processors

  8. val entity: Option[A]

    Permalink

    the entity, if local on this node and still existing - ignored for serialization

    the entity, if local on this node and still existing - ignored for serialization

    Annotations
    @Ignore()
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. val id: String

    Permalink

    some form of the entity ID recognized by consumers

  13. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  15. val node: String

    Permalink
    Definition Classes
    WikiEventWikiEventBase
  16. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. val oldEntity: Option[A]

    Permalink

    the old entity, if local and entity changed - ignored for serialization

    the old entity, if local and entity changed - ignored for serialization

    Annotations
    @Ignore()
  19. val oldId: Option[String]

    Permalink

    optionally, if entity was renamed or moved or something, the old id

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WikiEventBase

Inherited from AnyRef

Inherited from Any

Ungrouped