incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <>
Subject Re: What is the replacement for WikiEngine.getAttachmentManager()?
Date Thu, 30 Apr 2009 23:30:59 GMT

Actually, simple refactoring is still fine, because that helps us when  
we're getting rid of deprecated classes.  Wouldn't spend too much time  
on them though; just fix what is obvious.


On 1 May 2009, at 02:20, Greg Kable wrote:

> Thanks.  I was asking because I came across calls to the deprecated  
> APIs and I would have fixed them has I been able to.  Since I don't  
> know enough about what's happening here, I'll just leave them for  
> later.
> Greg
> Janne Jalkanen wrote:
>> To explain a bit more (now that I've got a bit more time):  
>> Attachments are becoming just regular WikiPages, with the  
>> difference that they 1) always have a wikipage as a parent, and 2)  
>> they've got an non-jspwiki MIME type.  This also means that the  
>> main class for handling them should be ContentManager, though it's  
>> possible that AttachmentManager will become a helper class for  
>> managing only the attachments.  But the basic CRUD operations  
>> should be done through ContentManager.
>> /Janne

View raw message