gnieh.sohva.sync.dm

DesignManager

Related Doc: package dm

class DesignManager extends dm.DesignManager[Identity]

Linear Supertypes
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)(implicit executor: ExecutionContext)

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. def createBasedir(): 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
  8. def databaseDesigns: 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
  9. val dbName: String

    Definition Classes
    DesignManagerDesignManager
  10. def download(): 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
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  17. 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
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def synchronize(): 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
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. val trackRevisions: Boolean

    Definition Classes
    DesignManagerDesignManager
  25. def upload(force: Boolean = false): 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
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. val wrapped: async.dm.DesignManager

Inherited from dm.DesignManager[Identity]

Inherited from AnyRef

Inherited from Any

Ungrouped