#463 - ENH: Add @DraftReset support - property that is set to null on the draft been when it is published (@Draftable feature)

This commit is contained in:
Robin Bygrave committed 2015-11-25 11:06:14 +13:00
1 parent 5f194f066a
commit 4f51a3b130
7 files changed
+132 -22

No files matched your search

@@ -152,10 +152,12 @@ public class AnnotationFields extends AnnotationParser {
if (get(prop, DraftOnly.class) != null) {
prop.setDraftOnly();
}
if (get(prop, DraftDirty.class) != null) {
prop.setDraftDirty();
}
if (get(prop, DraftReset.class) != null) {
prop.setDraftReset();
}
DbJson dbJson = get(prop, DbJson.class);
if (dbJson != null) {