Document: Add save().
authorMurray Cumming <murrayc@murrayc.com>
Sun, 20 May 2012 12:10:14 +0000 (14:10 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Sun, 20 May 2012 12:10:14 +0000 (14:10 +0200)
commiteae4d872a31520d9cd1f731cbe7416e2dff8953e
tree843795e7ba6610fc34e3708dddd8e9ee716f19ca
parent6691b2246e98462b1ea034ee99ba9742e5fa916e
Document: Add save().

* src/main/java/org/glom/web/shared/libglom/Translatable.java:
Added getTranslationsMap() for use while saving.
* src/main/java/org/glom/web/shared/libglom/layout/LayoutItemField.java:
Adedd getUseDefaultFormatting() for use while saving.
* src/main/java/org/glom/web/server/libglom/Document.java: Added save()
and several private methods that it uses.

This will be useful while testing via self-hosting.
It is not complete, but should be complete enough for testing.
ChangeLog
src/main/java/org/glom/web/server/libglom/Document.java
src/main/java/org/glom/web/shared/libglom/Translatable.java
src/main/java/org/glom/web/shared/libglom/layout/LayoutItemField.java