summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/Context.java
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-08-28 15:55:47 +0200
committerDavid A. Madore <david+git@madore.org>2011-08-28 15:55:47 +0200
commitdb0a709f2743d9502fb601bed4a1f115d3856c61 (patch)
treed93bc9df7227cedc91e08b46245a0031bba3a429 /org/madore/damlengine/Context.java
parent0003925549ea009bb0a99c225b5d1992ccd8e7af (diff)
downloaddamlengine-db0a709f2743d9502fb601bed4a1f115d3856c61.tar.gz
damlengine-db0a709f2743d9502fb601bed4a1f115d3856c61.tar.bz2
damlengine-db0a709f2743d9502fb601bed4a1f115d3856c61.zip
Prepare for weblog selection (and mess everything up).
Diffstat (limited to 'org/madore/damlengine/Context.java')
-rw-r--r--org/madore/damlengine/Context.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/org/madore/damlengine/Context.java b/org/madore/damlengine/Context.java
index 5ae7285..d001389 100644
--- a/org/madore/damlengine/Context.java
+++ b/org/madore/damlengine/Context.java
@@ -25,6 +25,29 @@ public class Context implements Cloneable {
public GeneralContext gc;
+ public static abstract class WeblogSelectionContext {
+ }
+
+ public static class WeblogMonthSelectionContext
+ extends WeblogSelectionContext {
+ public String year;
+ public String month;
+ public WeblogMonthSelectionContext(String year, String month) {
+ this.year = year;
+ this.month = month;
+ }
+ }
+
+ public static class WeblogCategorySelectionContext
+ extends WeblogSelectionContext {
+ public String code;
+ public WeblogCategorySelectionContext(String code) {
+ this.code = code;
+ }
+ }
+
+ public WeblogSelectionContext wsc;
+
public static class EntryContext {
public String year;
public String month;