com.douban.models

Note

object Note extends API[Note] with CommentTrait[Note] with Serializable

Copyright by Joseph J.C. Tang
Email: [email protected]

Version

1.0

Since

1/16/13 2:25 PM

Linear Supertypes
Serializable, Serializable, CommentTrait[Note], API[Note], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Note
  2. Serializable
  3. Serializable
  4. CommentTrait
  5. API
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val api_prefix: String

    Definition Classes
    API
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val bub_prefix: String

    Definition Classes
    API
  9. def byId(noteId: Long, format: String = "text"): Note

    text 默认格式,文本默认,图片和url使用类BBCode标签 html_full html格式的全部内容 html_short html格式的摘要内容 abstract 文本格式的摘要内容

    text 默认格式,文本默认,图片和url使用类BBCode标签 html_full html格式的全部内容 html_short html格式的摘要内容 abstract 文本格式的摘要内容

    format

    format 日记内容格式 取值为html_full, html_short, abstract, text,默认为text

  10. def byId(id: Long): Note

    通过id获取

    通过id获取

    Definition Classes
    API
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. val commentUrl: String

    Definition Classes
    CommentTrait
  13. val commentsUrl: String

    Definition Classes
    CommentTrait
  14. def deleteComment(targetId: Long, commentId: String): Boolean

    删除回复

    删除回复

    Definition Classes
    CommentTrait
  15. def deleteNote(noteId: Long): Boolean

    删除一条日记

  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def genPicFormat(id: Int, layout: String = "C", desc: String = ""): String

    id

    图片顺序号,每篇日记内不能重复

    layout

    排版,有L,C,R,分别对应居左,居中,居右3种排版

    returns

  20. def genUrlFormat(url: String, desc: String = ""): String

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def getComment(targetId: Long, commentId: String): Comment

    获取单条回复

    获取单条回复

    Definition Classes
    CommentTrait
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. val idUrl: String

    Attributes
    protected
    Definition Classes
    API
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def like(noteId: Long): Boolean

    喜欢一篇日记

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def notesUserCreated(userId: Long, start: Int = 0, count: Int = 20, format: String = "text"): NotesResult

    format

    format 日记内容格式 取值为html_full, html_short, abstract, text,默认为text

  29. def notesUserLiked(userId: Long, start: Int = 0, count: Int = 20, format: String = "text"): NotesResult

    format

    format 日记内容格式 取值为html_full, html_short, abstract, text,默认为text

  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def postComment(targetId: Long, content: String, withResult: Boolean = true): Option[Comment]

    新发评论

    新发评论

    returns

    Definition Classes
    CommentTrait
  33. def postNote(n: NotePosted): Option[Note]

  34. var secured: Boolean

    Definition Classes
    API
  35. val shuo_prefix: String

    Definition Classes
    API
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def unlike(noteId: Long): Boolean

    取消喜欢一篇日记

  39. def update(noteId: Long, n: NotePosted, withResult: Boolean = true): Option[Note]

    更新一条日记

    更新一条日记

    n

    更新内容

    returns

  40. def uploadPicture(noteId: Long, n: NotePosted, withResult: Boolean = true): Option[Note]

    上传图片到日记

    上传图片到日记

    noteId

    对应日记id

    n

    上传信息,可以不填写title

    returns

  41. def url_prefix: String

    Attributes
    protected
    Definition Classes
    NoteAPI
  42. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from CommentTrait[Note]

Inherited from API[Note]

Inherited from AnyRef

Inherited from Any

Ungrouped