gnieh.sohva.control

Design

class Design extends sohva.Design[Try]

A design gives access to the different views. Use this class to get or create new views.

Linear Supertypes
sohva.Design[Try], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Design
  2. Design
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Design(wrapped: async.Design)

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def create: Try[DesignDoc]

    Create an empty design document if none exists.

    Create an empty design document if none exists. Raises an exception if the design already exists.

    returns

    the design document if created..

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  9. def delete: Try[Boolean]

    Deletes this design document from the couchdb instance

    Deletes this design document from the couchdb instance

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  10. def deleteFilter(name: String): Try[Unit]

    Deletes the filter identified by its name from the design document

    Deletes the filter identified by its name from the design document

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  11. def deleteList(listName: String): Try[Unit]

    Deletes the list function with the given name from the design

    Deletes the list function with the given name from the design

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  12. def deleteShow(showName: String): Try[Unit]

    Deletes the show function with the given name from the design

    Deletes the show function with the given name from the design

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  13. def deleteUpdate(updateName: String): Try[Unit]

    Deletes the update function with the given name from the design

    Deletes the update function with the given name from the design

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  14. def deleteValidateFunction: Try[Unit]

    Deletes the document validation function from the design

    Deletes the document validation function from the design

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  15. def deleteView(viewName: String): Try[Unit]

    Deletes the view with the given name from the design

    Deletes the view with the given name from the design

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def exists: Try[Boolean]

    Check if the design exists.

    Check if the design exists.

    returns

    true if it does, false otherwise

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  19. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  21. def getDesignDocument: Try[Option[DesignDoc]]

    Returns the design document from the couchdb instance.

    Returns the design document from the couchdb instance. Returns None if the design document does not exist.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  22. def getRewriteRules(): Try[List[RewriteRule]]

    Retrieves the rewrite rules associated to this design document.

    Retrieves the rewrite rules associated to this design document.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  23. def hashCode(): Int

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

    Definition Classes
    Any
  25. val language: String

    Definition Classes
    DesignDesign
  26. def list(listName: String): CList

    Returns representation of the list function with the given view.

    Returns representation of the list function with the given view.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  27. val name: String

    Definition Classes
    DesignDesign
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

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

    Definition Classes
    AnyRef
  31. def saveFilter(name: String, filterFun: String): Try[Unit]

    Creates or updates a filter function.

    Creates or updates a filter function. If the design does not exist yet, it is created.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  32. def saveList(listName: String, list: String): Try[Unit]

    Creates or update the update function in this design with the given name.

    Creates or update the update function in this design with the given name. If the design does not exist yet, it is created.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  33. def saveRewriteRules(rules: List[RewriteRule]): Try[Unit]

    Creates or updates the list of rewrite rules.

    Creates or updates the list of rewrite rules. If the design does not exist yet, it is created.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  34. def saveShow(showName: String, show: String): Try[Unit]

    Creates or update the show function in this design with the given name.

    Creates or update the show function in this design with the given name. If the design does not exist yet, it is created.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  35. def saveUpdate(updateName: String, update: String): Try[Unit]

    Creates or update the update function in this design with the given name.

    Creates or update the update function in this design with the given name. If the design does not exist yet, it is created.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  36. def saveValidateFunction(validateFun: String): Try[Unit]

    Creates or updates the document validation function.

    Creates or updates the document validation function. If the design does not exist yet, it is created.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  37. def saveView(viewName: String, view: ViewDoc): Try[Unit]

    Creates or updates the view in this design with the given name.

    Creates or updates the view in this design with the given name. If the design does not exist yet, it is created.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  38. def saveView(viewName: String, mapFun: String, reduceFun: Option[String] = None): Try[Unit]

    Creates or updates the view in this design with the given name, map function and reduce function.

    Creates or updates the view in this design with the given name, map function and reduce function. If the design does not exist yet, it is created.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  39. def show(showName: String): Show

    Returns representation of the show function for this design.

    Returns representation of the show function for this design.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    Design → AnyRef → Any
  42. def update(updateName: String): Update

    Returns representation of the update function with the given view.

    Returns representation of the update function with the given view.

    Definition Classes
    DesignDesign
    Annotations
    @inline()
  43. def view(viewName: String): View

    Returns the view in this design document.

    Returns the view in this design document.

    Definition Classes
    DesignDesign
  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. val wrapped: async.Design

Inherited from sohva.Design[Try]

Inherited from AnyRef

Inherited from Any

Ungrouped