/** * Synchronize all design documents on desk to the database. * @see #synchronizeWithDb(DesignDocument) * @see CouchDbClient#syncDesignDocsWithDb() */ public void synchronizeAllWithDb() { List<DesignDocument> documents = getAllFromDesk(); for (DesignDocument dd : documents) { synchronizeWithDb(dd); } }