Skip to content
Browse files

git import

  • Loading branch information...
0 parents commit 60023530cdb7d5e3ea45b066351566257b523996 @mbreese mbreese committed Jun 25, 2009
Showing with 10,966 additions and 0 deletions.
  1. +7 −0 .gitignore
  2. +201 −0 LICENSE.TXT
  3. +118 −0 README.TXT
  4. +105 −0 build.xml
  5. +42 −0 javadoc/allclasses-frame.html
  6. +42 −0 javadoc/allclasses-noframe.html
  7. +256 −0 javadoc/com/fourspaces/couchdb/AdHocView.html
  8. +363 −0 javadoc/com/fourspaces/couchdb/CouchResponse.html
  9. +644 −0 javadoc/com/fourspaces/couchdb/Database.html
  10. +1,881 −0 javadoc/com/fourspaces/couchdb/Document.html
  11. +875 −0 javadoc/com/fourspaces/couchdb/Session.html
  12. +670 −0 javadoc/com/fourspaces/couchdb/View.html
  13. +317 −0 javadoc/com/fourspaces/couchdb/ViewResults.html
  14. +161 −0 javadoc/com/fourspaces/couchdb/class-use/AdHocView.html
  15. +186 −0 javadoc/com/fourspaces/couchdb/class-use/CouchResponse.html
  16. +201 −0 javadoc/com/fourspaces/couchdb/class-use/Database.html
  17. +292 −0 javadoc/com/fourspaces/couchdb/class-use/Document.html
  18. +138 −0 javadoc/com/fourspaces/couchdb/class-use/Session.html
  19. +212 −0 javadoc/com/fourspaces/couchdb/class-use/View.html
  20. +210 −0 javadoc/com/fourspaces/couchdb/class-use/ViewResults.html
  21. +44 −0 javadoc/com/fourspaces/couchdb/package-frame.html
  22. +176 −0 javadoc/com/fourspaces/couchdb/package-summary.html
  23. +149 −0 javadoc/com/fourspaces/couchdb/package-tree.html
  24. +181 −0 javadoc/com/fourspaces/couchdb/package-use.html
  25. +140 −0 javadoc/constant-values.html
  26. +140 −0 javadoc/deprecated-list.html
  27. +211 −0 javadoc/help-doc.html
  28. +679 −0 javadoc/index-all.html
  29. +36 −0 javadoc/index.html
  30. +151 −0 javadoc/overview-tree.html
  31. +1 −0 javadoc/package-list
  32. BIN javadoc/resources/inherit.gif
  33. +29 −0 javadoc/stylesheet.css
  34. BIN lib/commons-beanutils.jar
  35. BIN lib/commons-codec-1.3.jar
  36. BIN lib/commons-collections.jar
  37. BIN lib/commons-lang.jar
  38. BIN lib/commons-logging-1.1.jar
  39. BIN lib/ezmorph-1.0.3.jar
  40. BIN lib/httpclient-4.0-beta2.jar
  41. BIN lib/httpcore-4.0-beta2.jar
  42. BIN lib/json-lib-2.2.3-MODIFIED-jdk15.jar
  43. BIN lib/test/easymock.jar
  44. BIN lib/test/junit-4.1.jar
  45. BIN lib/test/log4j.jar
  46. +103 −0 pom.xml
  47. +31 −0 src/java/com/fourspaces/couchdb/AdHocView.java
  48. +180 −0 src/java/com/fourspaces/couchdb/CouchResponse.java
  49. +353 −0 src/java/com/fourspaces/couchdb/Database.java
  50. +414 −0 src/java/com/fourspaces/couchdb/Document.java
  51. +437 −0 src/java/com/fourspaces/couchdb/Session.java
  52. +184 −0 src/java/com/fourspaces/couchdb/View.java
  53. +87 −0 src/java/com/fourspaces/couchdb/ViewResults.java
  54. +52 −0 src/test/com/fourspaces/couchdb/test/DatabaseTest.java
  55. +129 −0 src/test/com/fourspaces/couchdb/test/DocumentTest.java
  56. +25 −0 src/test/com/fourspaces/couchdb/test/TestSession.java
  57. +89 −0 src/test/com/fourspaces/couchdb/test/ViewTest.java
  58. +2 −0 src/test/couchdb-test.properties.default
  59. +11 −0 src/test/log4j.properties
  60. +11 −0 updateJavaDocs.sh
7 .gitignore
@@ -0,0 +1,7 @@
+.classpath
+.project
+.svn
+build/
+dist/
+test.log
+
201 LICENSE.TXT
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
118 README.TXT
@@ -0,0 +1,118 @@
+CouchDB4J
+---------
+14 Sept 2007
+
+Marcus R. Breese
+Fourspaces Consulting, LLC.
+mbreese@gmail.com
+
+
+Introduction
+------------
+After looking into CouchDB, I attempted to use the existing couchdb-lib project from
+egor.margineanu on GoogleCode. However, the original CouchDB used an XML document
+format, but the latest uses JSON for it's document format. The URL schemes have also
+changed since then.
+
+So, since that wasn't going to work, I set about to write my own.
+
+Usage
+-----
+Like CouchDB itself, the API is fairly simple. There are 5 main objects:
+Session, Database, Document, View, and ViewResult. The session is the main connection
+to the CouchDB server. You retrieve database instances from the Session. You can
+get/create/update Documents to a Database. You can execute a View on a Database
+to get your results in the form of a ViewResult (which is actually a type of Document).
+
+Session
+-------
+Using a Session, you can list, get, create, and delete databases.
+
+Database
+--------
+Using a Database, you can create, get, delete, and update Documents. You can also
+use them to perform View operations that return ViewResults.
+
+Documents
+---------
+Documents are JSONObject backed. They contain a JSONObject, and that is how all of their
+properties are stored. JSON-lib.sf.net's JSONObject implementation is quite nice in that
+it implements java.util.Map, so it is easy to .put(key,value), and .get(key) properties.
+
+Additionally, you can transfer data to and from JavaBeans with the JSON-lib.sf.net library.
+(see: http://json-lib.sourceforge.net/usage.html)
+
+View
+----
+A view is a javascript function that is executed to filter your documents on the server. Since
+they don't have to return full documents, the View returns a ViewResult. From the ViewResult, you can
+retrieve a List<Document> of what the view returns. From these Documents, you can retrieve the full
+Document from your database, if you wish.
+
+To explain it in SQL terms, you can retrieve as much or as little of a row as you want in each query.
+A Document is like the complete row of a table, and the View is like a SQL SELECT. (This is a gross
+over simplification, but you get the idea.
+
+
+
+Example
+-------
+Session s = new Session("localhost",5984);
+Database db = s.getDatabase("foodb");
+
+Document doc = db.getDocument("documentid1234");
+doc.put("foo","bar");
+db.saveDocument(doc);
+
+Document newdoc = new Document();
+newdoc.put("foo","baz");
+db.saveDocument(newdoc); // auto-generated id given by the database
+
+// Running a view
+
+ViewResult result = db.getAllDocuments(); // same as db.view("_all_dbs");
+for (Document d: result.getResults()) {
+ System.out.println(d.getId());
+
+ /*
+ ViewResults don't actually contain the full document, only what the view
+ returned. So, in order to get the full document, you need to request a
+ new copy from the database.
+ */
+ Document full = db.getDocument(d.getId());
+}
+
+// Ad-Hoc view
+
+ViewResult resultAdHoc = db.adhoc("function (doc) { if (doc.foo=='bar') { emit(null, doc); }}");
+
+Requirements
+------------
+The libraries that are included in the SVN src/lib file are required to use CouchDB4J.
+There are two main dependecies that CouchDB4J relies upon: Apache Commons HttpClient and
+JSON-lib.sf.net. Each of these brings with it a set of other dependencies, so we end up
+with the following:
+
+Apache commons:
+commons-httpclient-3.1.jar
+commons-beanutils.jar
+commons-codec-1.3.jar
+commons-collections.jar
+commons-lang.jar
+commons-logging-1.1.jar
+
+SourceForge:
+json-lib-2.0-jdk15.jar
+ezmorph-1.0.3.jar
+
+(Version numbers are those used at the time...)
+
+License
+-------
+CouchDB4J is licensed under the terms of the Apache 2.0 license as listed in the
+LICENSE.TXT file.
+
+Testing
+---------
+If you are running tests against a CouchDB instance that isn't on localhost:8888, you need to alter the
+src/test/couchdb-test.properties file to contain the host and port of your test server.
105 build.xml
@@ -0,0 +1,105 @@
+<?xml version="1.0"?>
+<project name="couchdb4j" basedir="." default="jar">
+
+ <property name="version.major" value="0"/>
+ <property name="version.minor" value="3.0-SVN"/>
+ <property name="java.src.dir" value="src/java"/>
+
+ <property name="lib.dir" value="lib/"/>
+ <property name="dist.dir" value="dist/"/>
+
+ <property name="build.dir" value="build"/>
+ <property name="build.classes.dir" value="build/classes"/>
+
+ <property name="test.src.dir" value="src/test"/>
+ <property name="test.lib.dir" value="lib/test"/>
+ <property name="test.build.dir" value="build/test"/>
+ <property name="test.report.dir" value="build/test/reports"/>
+
+ <target name="jar" depends="compile" description="Build jar file">
+ <jar destfile="${dist.dir}/${ant.project.name}-${version.major}.${version.minor}.jar">
+ <fileset dir="${build.classes.dir}"/>
+ <fileset file="LICENSE.TXT"/>
+ </jar>
+ </target>
+ <target name="compile" depends="init">
+ <javac srcdir="${java.src.dir}"
+ destdir="${build.classes.dir}"
+ classpathref="build.classpath"
+ debug="on"
+ target="1.5"
+ />
+ </target>
+
+ <!-- Run unit tests -->
+ <target name="test" depends="compile" description="Run all unit tests">
+ <property name="testing" value=""/>
+ <mkdir dir="${test.build.dir}"/>
+ <mkdir dir="${test.report.dir}"/>
+ <mkdir dir="${test.report.dir}/html"/>
+
+ <javac srcdir="${test.src.dir}" destdir="${test.build.dir}" debug="on">
+ <classpath refid="test.classpath"/>
+ </javac>
+
+ <junit printsummary="yes" haltonfailure="no" fork="yes">
+ <classpath refid="test.classpath" />
+ <formatter type="xml"/>
+ <batchtest todir="${test.report.dir}">
+ <fileset dir="${test.src.dir}"
+ excludes="**/Base*"
+ />
+ </batchtest>
+ </junit>
+ <junitreport todir="${test.report.dir}">
+ <fileset dir="${test.report.dir}">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames" todir="${test.report.dir}/html"/>
+ </junitreport>
+ </target>
+
+ <!-- Cleanup the build paths...
+ Remove all old compiled classes and auto-generated files
+ -->
+ <target name="clean" description="Clean the build directory for a fresh start">
+ <delete dir="build"/>
+ <antcall target="init"/>
+ </target>
+
+ <!-- build paths -->
+ <path id="build.classpath">
+ <fileset dir="${lib.dir}" includes="**/*jar"/>
+ <dirset dir="${build.dir}"/>
+ </path>
+ <path id="test.classpath">
+ <fileset dir="${lib.dir}" includes="**/*jar"/>
+ <fileset dir="${test.lib.dir}" includes="**/*jar"/>
+ <dirset dir="${build.dir}"/>
+ <dirset dir="${test.build.dir}"/>
+ <dirset dir="${test.src.dir}"/>
+ </path>
+ <!-- Making directories required for building... -->
+ <target name="init">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${build.classes.dir}"/>
+ <mkdir dir="${dist.dir}"/>
+ </target>
+ <target name="javadoc">
+ <delete dir="javadoc"/>
+ <mkdir dir="javadoc"/>
+ <javadoc
+ destdir="javadoc"
+ author="true"
+ version="true"
+ use="true"
+ classpathref="build.classpath"
+ windowtitle="CouchDB4AJ ${version.major}.${version.minor} API">
+
+ <packageset dir="src/java" defaultexcludes="yes">
+ <include name="**"/>
+ </packageset>
+ </javadoc>
+ </target>
+
+</project>
42 javadoc/allclasses-frame.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_19) on Thu Jun 25 16:46:13 EDT 2009 -->
+<TITLE>
+All Classes (CouchDB4AJ 0.3.0-SVN API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B>All Classes</B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/fourspaces/couchdb/AdHocView.html" title="class in com.fourspaces.couchdb" target="classFrame">AdHocView</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/CouchResponse.html" title="class in com.fourspaces.couchdb" target="classFrame">CouchResponse</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/Database.html" title="class in com.fourspaces.couchdb" target="classFrame">Database</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb" target="classFrame">Document</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/Session.html" title="class in com.fourspaces.couchdb" target="classFrame">Session</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/View.html" title="class in com.fourspaces.couchdb" target="classFrame">View</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb" target="classFrame">ViewResults</A>
+<BR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+</BODY>
+</HTML>
42 javadoc/allclasses-noframe.html
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_19) on Thu Jun 25 16:46:13 EDT 2009 -->
+<TITLE>
+All Classes (CouchDB4AJ 0.3.0-SVN API)
+</TITLE>
+
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
+
+
+</HEAD>
+
+<BODY BGCOLOR="white">
+<FONT size="+1" CLASS="FrameHeadingFont">
+<B>All Classes</B></FONT>
+<BR>
+
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
+<TR>
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="com/fourspaces/couchdb/AdHocView.html" title="class in com.fourspaces.couchdb">AdHocView</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/CouchResponse.html" title="class in com.fourspaces.couchdb">CouchResponse</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/Database.html" title="class in com.fourspaces.couchdb">Database</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/Session.html" title="class in com.fourspaces.couchdb">Session</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/View.html" title="class in com.fourspaces.couchdb">View</A>
+<BR>
+<A HREF="com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A>
+<BR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+</BODY>
+</HTML>
256 javadoc/com/fourspaces/couchdb/AdHocView.html
@@ -0,0 +1,256 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_19) on Thu Jun 25 16:46:13 EDT 2009 -->
+<TITLE>
+AdHocView (CouchDB4AJ 0.3.0-SVN API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="com.fourspaces.couchdb.AdHocView class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="AdHocView (CouchDB4AJ 0.3.0-SVN API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/fourspaces/couchdb/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AdHocView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/CouchResponse.html" title="class in com.fourspaces.couchdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?com/fourspaces/couchdb/AdHocView.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="AdHocView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.fourspaces.couchdb.View">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_com.fourspaces.couchdb.View">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+com.fourspaces.couchdb</FONT>
+<BR>
+Class AdHocView</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/fourspaces/couchdb/View.html" title="class in com.fourspaces.couchdb">com.fourspaces.couchdb.View</A>
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.fourspaces.couchdb.AdHocView</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>AdHocView</B><DT>extends <A HREF="../../../com/fourspaces/couchdb/View.html" title="class in com.fourspaces.couchdb">View</A></DL>
+</PRE>
+
+<P>
+Creates an AdHoc view... this basically just creates a new View with a name
+ of "_temp_view" and a defined function.
+<P>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>mbreese</DD>
+</DL>
+<HR>
+
+<P>
+<!-- =========== FIELD SUMMARY =========== -->
+
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TH>
+</TR>
+</TABLE>
+&nbsp;<A NAME="fields_inherited_from_class_com.fourspaces.couchdb.View"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Fields inherited from class com.fourspaces.couchdb.<A HREF="../../../com/fourspaces/couchdb/View.html" title="class in com.fourspaces.couchdb">View</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../com/fourspaces/couchdb/View.html#count">count</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#document">document</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#endKey">endKey</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#function">function</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#name">name</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#reverse">reverse</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#skip">skip</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#startKey">startKey</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#update">update</A></CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/AdHocView.html#AdHocView(java.lang.String)">AdHocView</A></B>(java.lang.String&nbsp;function)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_com.fourspaces.couchdb.View"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class com.fourspaces.couchdb.<A HREF="../../../com/fourspaces/couchdb/View.html" title="class in com.fourspaces.couchdb">View</A></B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../com/fourspaces/couchdb/View.html#getFullName()">getFullName</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#getFunction()">getFunction</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#getName()">getName</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#getQueryString()">getQueryString</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#setCount(java.lang.Integer)">setCount</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#setEndKey(java.lang.String)">setEndKey</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#setReverse(java.lang.Boolean)">setReverse</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#setSkip(java.lang.String)">setSkip</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#setStartKey(java.lang.String)">setStartKey</A>, <A HREF="../../../com/fourspaces/couchdb/View.html#setUpdate(java.lang.Boolean)">setUpdate</A></CODE></TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="AdHocView(java.lang.String)"><!-- --></A><H3>
+AdHocView</H3>
+<PRE>
+public <B>AdHocView</B>(java.lang.String&nbsp;function)</PRE>
+<DL>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/fourspaces/couchdb/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AdHocView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/CouchResponse.html" title="class in com.fourspaces.couchdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?com/fourspaces/couchdb/AdHocView.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="AdHocView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.fourspaces.couchdb.View">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_com.fourspaces.couchdb.View">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
363 javadoc/com/fourspaces/couchdb/CouchResponse.html
@@ -0,0 +1,363 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_19) on Thu Jun 25 16:46:13 EDT 2009 -->
+<TITLE>
+CouchResponse (CouchDB4AJ 0.3.0-SVN API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="com.fourspaces.couchdb.CouchResponse class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="CouchResponse (CouchDB4AJ 0.3.0-SVN API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/fourspaces/couchdb/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CouchResponse.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/AdHocView.html" title="class in com.fourspaces.couchdb"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/Database.html" title="class in com.fourspaces.couchdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?com/fourspaces/couchdb/CouchResponse.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="CouchResponse.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+com.fourspaces.couchdb</FONT>
+<BR>
+Class CouchResponse</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.fourspaces.couchdb.CouchResponse</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>CouchResponse</B><DT>extends java.lang.Object</DL>
+</PRE>
+
+<P>
+The CouchResponse parses the HTTP response returned by the CouchDB server.
+ This is almost never called directly by the user, but indirectly through
+ the Session and Database objects.
+ <p>
+ Given a CouchDB response, it will determine if the request was successful
+ (status 200,201,202), or was an error. If there was an error, it parses the returned json error
+ message.
+<P>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>mbreese</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;net.sf.json.JSONObject</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/CouchResponse.html#getBodyAsJSON()">getBodyAsJSON</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the body of the response as a JSON Object (such as for a document)</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;net.sf.json.JSONArray</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/CouchResponse.html#getBodyAsJSONArray()">getBodyAsJSONArray</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the body of the request as a JSONArray object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/CouchResponse.html#getErrorId()">getErrorId</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;What was the error id?</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/CouchResponse.html#getErrorReason()">getErrorReason</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;what was the error reason given?</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/CouchResponse.html#getHeader(java.lang.String)">getHeader</A></B>(java.lang.String&nbsp;key)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a specific header from the response (not really used anymore)</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/CouchResponse.html#isOk()">isOk</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Was the request successful?</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/CouchResponse.html#toString()">toString</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="toString()"><!-- --></A><H3>
+toString</H3>
+<PRE>
+public java.lang.String <B>toString</B>()</PRE>
+<DL>
+<DD><DL>
+<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getBodyAsJSONArray()"><!-- --></A><H3>
+getBodyAsJSONArray</H3>
+<PRE>
+public net.sf.json.JSONArray <B>getBodyAsJSONArray</B>()</PRE>
+<DL>
+<DD>Retrieves the body of the request as a JSONArray object. (such as listing database names)
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="isOk()"><!-- --></A><H3>
+isOk</H3>
+<PRE>
+public boolean <B>isOk</B>()</PRE>
+<DL>
+<DD>Was the request successful?
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getErrorId()"><!-- --></A><H3>
+getErrorId</H3>
+<PRE>
+public java.lang.String <B>getErrorId</B>()</PRE>
+<DL>
+<DD>What was the error id?
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getErrorReason()"><!-- --></A><H3>
+getErrorReason</H3>
+<PRE>
+public java.lang.String <B>getErrorReason</B>()</PRE>
+<DL>
+<DD>what was the error reason given?
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getBodyAsJSON()"><!-- --></A><H3>
+getBodyAsJSON</H3>
+<PRE>
+public net.sf.json.JSONObject <B>getBodyAsJSON</B>()</PRE>
+<DL>
+<DD>Returns the body of the response as a JSON Object (such as for a document)
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getHeader(java.lang.String)"><!-- --></A><H3>
+getHeader</H3>
+<PRE>
+public java.lang.String <B>getHeader</B>(java.lang.String&nbsp;key)</PRE>
+<DL>
+<DD>Retrieves a specific header from the response (not really used anymore)
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>key</CODE> -
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/fourspaces/couchdb/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CouchResponse.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/AdHocView.html" title="class in com.fourspaces.couchdb"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/Database.html" title="class in com.fourspaces.couchdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?com/fourspaces/couchdb/CouchResponse.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="CouchResponse.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
644 javadoc/com/fourspaces/couchdb/Database.html
@@ -0,0 +1,644 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_19) on Thu Jun 25 16:46:13 EDT 2009 -->
+<TITLE>
+Database (CouchDB4AJ 0.3.0-SVN API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="com.fourspaces.couchdb.Database class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Database (CouchDB4AJ 0.3.0-SVN API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/fourspaces/couchdb/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Database.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/CouchResponse.html" title="class in com.fourspaces.couchdb"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?com/fourspaces/couchdb/Database.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="Database.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+com.fourspaces.couchdb</FONT>
+<BR>
+Class Database</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.fourspaces.couchdb.Database</B>
+</PRE>
+<HR>
+<DL>
+<DT><PRE>public class <B>Database</B><DT>extends java.lang.Object</DL>
+</PRE>
+
+<P>
+This represents a particular database on the CouchDB server
+ <p>
+ Using this object, you can get/create/update/delete documents.
+ You can also call views (named and adhoc) to query the underlying database.
+<P>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>mbreese</DD>
+</DL>
+<HR>
+
+<P>
+
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#adhoc(com.fourspaces.couchdb.AdHocView)">adhoc</A></B>(<A HREF="../../../com/fourspaces/couchdb/AdHocView.html" title="class in com.fourspaces.couchdb">AdHocView</A>&nbsp;view)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs an ad-hoc view from an AdHocView object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#adhoc(java.lang.String)">adhoc</A></B>(java.lang.String&nbsp;function)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs an ad-hoc view from a string</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#bulkSaveDocuments(com.fourspaces.couchdb.Document[])">bulkSaveDocuments</A></B>(<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>[]&nbsp;documents)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#deleteDocument(com.fourspaces.couchdb.Document)">deleteDocument</A></B>(<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>&nbsp;d)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deletes a document</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getAllDocuments()">getAllDocuments</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs the standard "_all_docs" view on this database</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getAllDocuments(int)">getAllDocuments</A></B>(int&nbsp;revision)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs "_all_docs_by_update_seq?startkey=revision" view on this database</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getAllDocumentsWithCount(int)">getAllDocumentsWithCount</A></B>(int&nbsp;count)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs the standard "_all_docs" view on this database, with count</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getDocument(java.lang.String)">getDocument</A></B>(java.lang.String&nbsp;id)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a document from the CouchDB database</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getDocument(java.lang.String, java.lang.String)">getDocument</A></B>(java.lang.String&nbsp;id,
+ java.lang.String&nbsp;revision)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a specific document revision</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getDocument(java.lang.String, java.lang.String, boolean)">getDocument</A></B>(java.lang.String&nbsp;id,
+ java.lang.String&nbsp;revision,
+ boolean&nbsp;showRevisions)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a specific document revision and (optionally) asks for a list of all revisions</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getDocumentCount()">getDocumentCount</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of documents in the database <b>at the time that it was retrieved from the session</b>
+ This number probably isn't accurate after the initial load...</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getDocumentWithRevisions(java.lang.String)">getDocumentWithRevisions</A></B>(java.lang.String&nbsp;id)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a document from the database and asks for a list of it's revisions.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getName()">getName</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the database</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;int</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#getUpdateSeq()">getUpdateSeq</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The update seq from the initial database load.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#saveDocument(com.fourspaces.couchdb.Document)">saveDocument</A></B>(<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>&nbsp;doc)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save a document w/o specifying an id (can be null)</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#saveDocument(com.fourspaces.couchdb.Document, java.lang.String)">saveDocument</A></B>(<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>&nbsp;doc,
+ java.lang.String&nbsp;docId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save a document at the given _id</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#view(java.lang.String)">view</A></B>(java.lang.String&nbsp;fullname)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs a named view <i>Not currently working in CouchDB code</i></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;<A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../com/fourspaces/couchdb/Database.html#view(com.fourspaces.couchdb.View)">view</A></B>(<A HREF="../../../com/fourspaces/couchdb/View.html" title="class in com.fourspaces.couchdb">View</A>&nbsp;view)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Runs a named view on the database
+ This will run a view and apply any filtering that is requested (reverse, startkey, etc).</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TH>
+</TR>
+</TABLE>
+
+<A NAME="getName()"><!-- --></A><H3>
+getName</H3>
+<PRE>
+public java.lang.String <B>getName</B>()</PRE>
+<DL>
+<DD>The name of the database
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocumentCount()"><!-- --></A><H3>
+getDocumentCount</H3>
+<PRE>
+public int <B>getDocumentCount</B>()</PRE>
+<DL>
+<DD>The number of documents in the database <b>at the time that it was retrieved from the session</b>
+ This number probably isn't accurate after the initial load... so if you want an accurate
+ assessment, call Session.getDatabase() again to reload a new database object.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getUpdateSeq()"><!-- --></A><H3>
+getUpdateSeq</H3>
+<PRE>
+public int <B>getUpdateSeq</B>()</PRE>
+<DL>
+<DD>The update seq from the initial database load. The update sequence is the 'revision id' of an entire database. Useful for getting all documents in a database since a certain revision
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD><DT><B>See Also:</B><DD><A HREF="../../../com/fourspaces/couchdb/Database.html#getAllDocuments()"><CODE>getAllDocuments()</CODE></A></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllDocuments()"><!-- --></A><H3>
+getAllDocuments</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A> <B>getAllDocuments</B>()</PRE>
+<DL>
+<DD>Runs the standard "_all_docs" view on this database
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>ViewResults - the results of the view... this can be iterated over to get each document.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllDocumentsWithCount(int)"><!-- --></A><H3>
+getAllDocumentsWithCount</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A> <B>getAllDocumentsWithCount</B>(int&nbsp;count)</PRE>
+<DL>
+<DD>Runs the standard "_all_docs" view on this database, with count
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>ViewResults - the results of the view... this can be iterated over to get each document.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllDocuments(int)"><!-- --></A><H3>
+getAllDocuments</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A> <B>getAllDocuments</B>(int&nbsp;revision)</PRE>
+<DL>
+<DD>Runs "_all_docs_by_update_seq?startkey=revision" view on this database
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>ViewResults - the results of the view... this can be iterated over to get each document.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="view(com.fourspaces.couchdb.View)"><!-- --></A><H3>
+view</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A> <B>view</B>(<A HREF="../../../com/fourspaces/couchdb/View.html" title="class in com.fourspaces.couchdb">View</A>&nbsp;view)</PRE>
+<DL>
+<DD>Runs a named view on the database
+ This will run a view and apply any filtering that is requested (reverse, startkey, etc).
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>view</CODE> -
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="view(java.lang.String)"><!-- --></A><H3>
+view</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A> <B>view</B>(java.lang.String&nbsp;fullname)</PRE>
+<DL>
+<DD>Runs a named view <i>Not currently working in CouchDB code</i>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>name</CODE> - - the fullname (including the document name) ex: foodoc:viewname
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="adhoc(java.lang.String)"><!-- --></A><H3>
+adhoc</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A> <B>adhoc</B>(java.lang.String&nbsp;function)</PRE>
+<DL>
+<DD>Runs an ad-hoc view from a string
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>function</CODE> - - the Javascript function to use as the filter.
+<DT><B>Returns:</B><DD>results</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="adhoc(com.fourspaces.couchdb.AdHocView)"><!-- --></A><H3>
+adhoc</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A> <B>adhoc</B>(<A HREF="../../../com/fourspaces/couchdb/AdHocView.html" title="class in com.fourspaces.couchdb">AdHocView</A>&nbsp;view)</PRE>
+<DL>
+<DD>Runs an ad-hoc view from an AdHocView object. You probably won't use this much, unless
+ you want to add filtering to the view (reverse, startkey, etc...)
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>view</CODE> -
+<DT><B>Returns:</B><DD></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="saveDocument(com.fourspaces.couchdb.Document, java.lang.String)"><!-- --></A><H3>
+saveDocument</H3>
+<PRE>
+public void <B>saveDocument</B>(<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>&nbsp;doc,
+ java.lang.String&nbsp;docId)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Save a document at the given _id
+ <p>
+ if the docId is null or empty, then this performs a POST to the database and retrieves a new
+ _id.
+ <p>
+ Otherwise, a PUT is called.
+ <p>
+ Either way, a new _id and _rev are retrieved and updated in the Document object
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>doc</CODE> - <DD><CODE>docId</CODE> -
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="saveDocument(com.fourspaces.couchdb.Document)"><!-- --></A><H3>
+saveDocument</H3>
+<PRE>
+public void <B>saveDocument</B>(<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>&nbsp;doc)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Save a document w/o specifying an id (can be null)
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>doc</CODE> -
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="bulkSaveDocuments(com.fourspaces.couchdb.Document[])"><!-- --></A><H3>
+bulkSaveDocuments</H3>
+<PRE>
+public void <B>bulkSaveDocuments</B>(<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>[]&nbsp;documents)
+ throws java.io.IOException</PRE>
+<DL>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocument(java.lang.String)"><!-- --></A><H3>
+getDocument</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A> <B>getDocument</B>(java.lang.String&nbsp;id)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Retrieves a document from the CouchDB database
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>id</CODE> -
+<DT><B>Returns:</B><DD>
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocumentWithRevisions(java.lang.String)"><!-- --></A><H3>
+getDocumentWithRevisions</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A> <B>getDocumentWithRevisions</B>(java.lang.String&nbsp;id)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Retrieves a document from the database and asks for a list of it's revisions.
+ The list of revision keys can be retrieved from Document.getRevisions();
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>id</CODE> -
+<DT><B>Returns:</B><DD>
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocument(java.lang.String, java.lang.String)"><!-- --></A><H3>
+getDocument</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A> <B>getDocument</B>(java.lang.String&nbsp;id,
+ java.lang.String&nbsp;revision)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Retrieves a specific document revision
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>id</CODE> - <DD><CODE>revision</CODE> -
+<DT><B>Returns:</B><DD>
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getDocument(java.lang.String, java.lang.String, boolean)"><!-- --></A><H3>
+getDocument</H3>
+<PRE>
+public <A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A> <B>getDocument</B>(java.lang.String&nbsp;id,
+ java.lang.String&nbsp;revision,
+ boolean&nbsp;showRevisions)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Retrieves a specific document revision and (optionally) asks for a list of all revisions
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>id</CODE> - <DD><CODE>revision</CODE> - <DD><CODE>showRevisions</CODE> -
+<DT><B>Returns:</B><DD>the document
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="deleteDocument(com.fourspaces.couchdb.Document)"><!-- --></A><H3>
+deleteDocument</H3>
+<PRE>
+public boolean <B>deleteDocument</B>(<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb">Document</A>&nbsp;d)
+ throws java.io.IOException</PRE>
+<DL>
+<DD>Deletes a document
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>d</CODE> -
+<DT><B>Returns:</B><DD>was the delete successful?
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.IllegalArgumentException</CODE> - for blank document id
+<DD><CODE>java.io.IOException</CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/fourspaces/couchdb/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Database.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/CouchResponse.html" title="class in com.fourspaces.couchdb"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/Document.html" title="class in com.fourspaces.couchdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?com/fourspaces/couchdb/Database.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="Database.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+
+</BODY>
+</HTML>
1,881 javadoc/com/fourspaces/couchdb/Document.html
@@ -0,0 +1,1881 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.5.0_19) on Thu Jun 25 16:46:13 EDT 2009 -->
+<TITLE>
+Document (CouchDB4AJ 0.3.0-SVN API)
+</TITLE>
+
+<META NAME="keywords" CONTENT="com.fourspaces.couchdb.Document class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+ parent.document.title="Document (CouchDB4AJ 0.3.0-SVN API)";
+}
+</SCRIPT>
+<NOSCRIPT>
+</NOSCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+ <TR ALIGN="center" VALIGN="top">
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../com/fourspaces/couchdb/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Document.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
+ <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+ </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/Database.html" title="class in com.fourspaces.couchdb"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../com/fourspaces/couchdb/Session.html" title="class in com.fourspaces.couchdb"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+ <A HREF="../../../index.html?com/fourspaces/couchdb/Document.html" target="_top"><B>FRAMES</B></A> &nbsp;
+&nbsp;<A HREF="Document.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
+ }
+ //-->
+</SCRIPT>
+<NOSCRIPT>
+ <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+ SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+com.fourspaces.couchdb</FONT>
+<BR>
+Class Document</H2>
+<PRE>
+java.lang.Object
+ <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.fourspaces.couchdb.Document</B>
+</PRE>
+<DL>
+<DT><B>All Implemented Interfaces:</B> <DD>java.util.Map</DD>
+</DL>
+<DL>
+<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/fourspaces/couchdb/ViewResults.html" title="class in com.fourspaces.couchdb">ViewResults</A></DD>
+</DL>
+<HR>
+<DL>
+<DT><PRE>public class <B>Document</B><DT>extends java.lang.Object<DT>implements java.util.Map</DL>
+</PRE>
+
+<P>
+Everything in CouchDB is a Document. In this case, the document is an object backed by a
+ JSONObject. The Document is also aware of the database that it is connected to. This allows
+ the Document to reload it's properties when needed. The only special fields are "_id", "_rev",
+ "_revisions", and "_view_*".
+ <p>
+ All document have an _id and a _rev. If this is a new document those fields are populated when
+ they are saved to the CouchDB server.
+ <p>
+ _revisions is only populated if the document has been retrieved via database.getDocumentWithRevisions();
+ So, if this document wasn't, then when you call document.getRevisions(), it will go back to the server
+ to reload itself via database.getDocumentWithRevisions().
+ <p>
+ The Document can be treated like a JSONObject, eventhough it doesn't extend JSONObject (it's final).
+ <p>
+ You can also get/set values by calling document.get(key), document.put(key,value), just like a Map.
+ <p>
+ You can get a handle on the backing JSONObject by calling document.getJSONObject(); If this hasn't
+ been loaded yet, it will load the data itself using the given database connection.
+ <p>
+ If you got this Document from a view, you are likely missing elements. To load them you can call
+ document.load().
+<P>
+
+<P>
+<DL>
+<DT><B>Author:</B></DT>
+ <DD>mbreese</DD>
+</DL>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+<A NAME="nested_class_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">