gnieh.sohva.async.dm

DesignManager

Related Doc: package dm

class DesignManager extends dm.DesignManager[Future]

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

Instance Constructors

  1. new DesignManager(basedir: File, dbName: String, couch: CouchDB, trackRevisions: Boolean)

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val basedir: File

    Definition Classes
    DesignManagerDesignManager
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val couch: CouchDB

  8. def createBasedir(): Future[Boolean]

    Creates the base directory if it does not exists.

    Creates the base directory if it does not exists. Returns true iff the base directory was actually created, false otherwise. If a file with the given path exists, or it is impossible to create the base directory, an exception is thrown

    Definition Classes
    DesignManagerDesignManager
  9. def databaseDesigns: Future[List[String]]

    Returns the list of design documents that currently exists in the database

    Returns the list of design documents that currently exists in the database

    Definition Classes
    DesignManagerDesignManager
  10. val dbName: String

    Definition Classes
    DesignManagerDesignManager
  11. def download(): Future[Unit]

    Download the design documents from the database into the base directory.

    Download the design documents from the database into the base directory. If a conflict occurs between local and remote version, the remote version takes precedence and replaces the local version. If this manager is configured to track revisions, the revision file is created or updated to the current revision. Otherwise, it is removed if it exists.

    Definition Classes
    DesignManagerDesignManager
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  18. def managedDesigns: List[String]

    Returns the list of design document names that are currently knwown and managed.

    Returns the list of design document names that are currently knwown and managed. Every managed design document has its counterpart in the base directory. All directory directly located under the base directory are considered to be managed designs.

    Definition Classes
    DesignManagerDesignManager
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. def synchronize(): Future[Unit]

    Synchronize managed design documents with the database.

    Synchronize managed design documents with the database. This performs a bi-directional synchronization and creates or updates design documents as needed. This can only work when revision tracking is enabled. In case of conflict, a structural merge is performed, with the local version winning concurrent modifications.

    Definition Classes
    DesignManagerDesignManager
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. val trackRevisions: Boolean

    Definition Classes
    DesignManagerDesignManager
  26. def upload(force: Boolean = false): Future[Unit]

    Upload the design documents to the database from the base directory.

    Upload the design documents to the database from the base directory. If a conflict occurs between local and remote version, the local version takes precedence and replaces the remote version. If this manager is configured to track revisions, the revision file is created or updated to the current revision. Otherwise, it is removed if it exists. If the force parameter is set to true, upload is performed even if the designs didn't change since last synchronization.

    Definition Classes
    DesignManagerDesignManager
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from dm.DesignManager[Future]

Inherited from AnyRef

Inherited from Any

Ungrouped