On Sun, Mar 22, 2009 at 16:48, Sergiu Dumitriu <[email protected]> wrote:
Asiri Rathnayake wrote:
Hi Devs,
I'm in need of a method to set the parent document of a given document. So until the we remodel the model classes (when? xwiki 2.0 release?), I propose to add the following method:
void setParent(String parentDoc);
+1
+1
I'm wondering if a String is the best choice. Could we pass in another DocumentModelBridge instance?
Now the next question is where to add this method? DocumentAccessBridge or DocumentModelBridge?
Or DocumentName, anyway +1 for the general concept of not using String as much as possible since it's where the new model goes.
To me it seems to fit DocumentModelBridge.
DocumentModelBridge
Same
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne