Permalink
Browse files

Update DESIGN

  • Loading branch information...
1 parent b833666 commit cad88e5455906ca2f0152f58739abc712205fb13 @sushantk committed Dec 18, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 DESIGN
View
7 DESIGN
@@ -52,10 +52,13 @@ Progressive complexity
// controller class
interface Controller {
- // Config tree would contain the id and the params
- ConfigTree getModel(Context a_context, ConfigTree a_module);
+ IModel getModel(Context a_context, ModelCallback a_cb);
+
+ IModel onResponse(Context a_context, ModelCallback a_cb);
DataObject getFinalResponse(Map<String, DataObject> a_data);
+
+ void setConfigTree(ConfigTree a_moduleTree);
}
// this model allows a data object construction from the raw data.

0 comments on commit cad88e5

Please sign in to comment.