Anca Paula Luca wrote:
> Hi developers,
> 
> I would like to refactor
> 
> String getURL(String documentName, String action, String queryString, String 
> anchor)
> 
> in the DocumentAccessBridge (whose documentName is actually used as a 
> document 
> fullName) to
> 
> String getURL(DocumentName documentName, String action, String queryString, 
> String anchor)
> 
> and implement multiwiki support for it, since now it uses XWiki.getURL() 
> which 
> uses current context wiki to generate the URL.
> 
> The calls to current function would be transformed in:
> 
> DocumentNameFactory docNameFactory = ...
> getURL(docNameFactory.createDocumentName(fullName), ...)
> 
> which will have the same result as before.
> 
> Since we will need to change all internal reference to documents in 
> DocumentNames instead of fullNames as Strings, this would be a step in this 
> direction, facilitated by the new DocumentNameSerializer and 
> DocumentNameFactory.
> 
> Here's my +1

This vote is deprecated by the more generic one Vincent sent. Still, +1

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

Reply via email to