On Tue, Sep 29, 2009 at 17:11, Vincent Massol <[email protected]> wrote:
> Hi,
>
> I'd like to add:
> *  List<AttachmentName> getAttachments(DocumentName documentName)
> throws Exception;
> *  byte[] getAttachmentContent(AttachmentName attachmentName) throws
> Exception;

I would prefer

InputStream getAttachmentContent(AttachmentName attachmentName) throws
Exception;

instead which is more generic.

>
> And deprecate:
> * List<String> getAttachmentURLs(DocumentName documentName, boolean
> isFullURL) throws Exception;
> * byte[] getAttachmentContent(String documentName, String
> attachmentName) throws Exception;
>
> I need this fix a bug in the Script Macro when using jarurls parameter
> (for 2.0.1).
>
> Here's my +1

+1 for the general change strings to proper objects.

>
> Thanks
> -Vincent
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to