Trait

razie.wiki.model

WikiInst

Related Doc: package model

Permalink

trait WikiInst extends DSpecInventory

a wiki instance. corresponds to one reactor/realm

has a list of fallbacks / mixins

Linear Supertypes
DSpecInventory, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WikiInst
  2. DSpecInventory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def REALM: (String, String)

    Permalink
  2. abstract def applyTemplates(wid: WID, content: String, which: String): String

    Permalink

    look for and apply any formatting templates

    look for and apply any formatting templates

    Formatting templates are used to re-format pages for display. They're used usually to decorate with functionality like menus, buttons etc

    which

    one of html|json

    returns

    the new content, with the templates applied

  3. abstract def categories: Iterable[WikiEntry]

    Permalink
  4. abstract def category(cat: String): Option[WikiEntry]

    Permalink
  5. abstract def cats: Map[String, WikiEntry]

    Permalink
  6. abstract def count: Int

    Permalink
  7. abstract def domain: WikiDomain

    Permalink
  8. abstract def fallBacks: List[WikiInst]

    Permalink
  9. abstract def find(category: String, name: String): Option[WikiEntry]

    Permalink
  10. abstract def find(uwid: UWID): Option[WikiEntry]

    Permalink
  11. abstract def find(wid: WID): Option[WikiEntry]

    Permalink
  12. abstract def find(id: com.mongodb.casbah.Imports.ObjectId): Option[WikiEntry]

    Permalink
  13. abstract def findAny(name: String): Iterator[WikiEntry]

    Permalink

    find any topic with name - will look in PERSISTED tables as well until at least one found

  14. abstract def findAnyOne(name: String): Option[WikiEntry]

    Permalink
  15. abstract def findById(cat: String, id: com.mongodb.casbah.Imports.ObjectId): Option[WikiEntry]

    Permalink
  16. abstract def findById(cat: String, id: String): Option[WikiEntry]

    Permalink
  17. abstract def findById(id: String): Option[WikiEntry]

    Permalink
  18. abstract def foreach(f: (DBObject) ⇒ Unit): Unit

    Permalink
  19. abstract def ifind(wid: WID): Option[DBObject]

    Permalink

    internal find - cache or DB, but not fallbacks

  20. abstract def index: WikiIndex

    Permalink
  21. abstract def label(wid: UWID): String

    Permalink
  22. abstract def label(wid: WID): String

    Permalink
  23. abstract def labelFor(wid: WID, action: String): Option[String]

    Permalink

    get label from category definiition

  24. abstract def mixins: Mixins[WikiInst]

    Permalink
  25. abstract def mkParser: WikiParserT

    Permalink

    this is the actual parser to use - combine your own and set it here in Global

  26. abstract def mkWixJson(owe: Option[WikiPage], ou: Option[WikiUser], q: Map[String, String], r: String): String

    Permalink

    make a js object accessible to the scripts

  27. abstract def navTagFor(pageTags: Seq[String]): Option[Option[WikiEntry]]

    Permalink

    see if any of the tags of a page are nav tags

  28. abstract def pageLabels(category: String): Iterator[String]

    Permalink

    find pages with category

  29. abstract def pageNames(category: String): Iterator[String]

    Permalink

    find pages with category

  30. abstract def pages(category: String): Iterator[WikiEntry]

    Permalink

    EXPENSIVE - find pages with category

  31. abstract def realm: String

    Permalink
  32. abstract def refreshCat(we: WikiEntry): Unit

    Permalink
  33. abstract def table: RazMongoTable

    Permalink
  34. abstract def tags: Map[String, WikiEntry]

    Permalink

    cache of tags - updated by the WikiIndex

  35. abstract def visibilityFor(cat: String, prop: String = VISIBILITY): Seq[String]

    Permalink

    can override in cat, fallback to reactor, fallback to what's here

  36. abstract def weTable(cat: String): RazMongoTable

    Permalink
  37. abstract def weTables(cat: String): String

    Permalink

Concrete 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. final val VISIBILITY: String("visibility")

    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. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def findSpec(path: TSpecPath): Option[DSpec]

    Permalink
    Definition Classes
    WikiInstDSpecInventory
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def querySpecs(realm: String, q: String, scope: String, curTags: String = "", max: Int = 2000): List[DSpec]

    Permalink
    Definition Classes
    WikiInstDSpecInventory
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

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

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

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

Inherited from DSpecInventory

Inherited from AnyRef

Inherited from Any

Ungrouped