Class

razie.wiki.model

Comment

Related Doc: package model

Permalink

case class Comment(streamId: ObjectId, userId: ObjectId, userName: String, parentId: Option[ObjectId], content: String, link: Option[String], kind: Option[String], likes: List[String] = List.empty, dislikes: List[String] = List.empty, crDtm: DateTime = DateTime.now(), updDtm: DateTime = DateTime.now(), _id: ObjectId = new ObjectId()) extends Product with Serializable

a comment in a series

todo add markdown options, bbcode vs md etc

Annotations
@RTable()
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Comment
  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 Comment(streamId: ObjectId, userId: ObjectId, userName: String, parentId: Option[ObjectId], content: String, link: Option[String], kind: Option[String], likes: List[String] = List.empty, dislikes: List[String] = List.empty, crDtm: DateTime = DateTime.now(), updDtm: 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 content: String

    Permalink
  8. val crDtm: DateTime

    Permalink
  9. def create(user: WikiUser): Unit

    Permalink
  10. def delete: Unit

    Permalink
  11. val dislikes: List[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 id: String

    Permalink
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val kind: Option[String]

    Permalink
  18. def like(like: Option[WikiUser], dislike: Option[WikiUser]): Unit

    Permalink
  19. val likes: List[String]

    Permalink
  20. val link: Option[String]

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

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. val parentId: Option[ObjectId]

    Permalink
  25. val streamId: ObjectId

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

    Permalink
    Definition Classes
    AnyRef
  27. val updDtm: DateTime

    Permalink
  28. def update(newContent: String, newLink: Option[String], user: WikiUser): Unit

    Permalink
  29. val userId: ObjectId

    Permalink
  30. val userName: String

    Permalink
  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( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped