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

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?
> 
> To me it seems to fit DocumentModelBridge.

DocumentModelBridge

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to