openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajath Shashidhara <rajaths.raja...@gmail.com>
Subject Re: "Insert" command
Date Fri, 21 Jun 2013 07:09:09 GMT
Hello Juergen,

I mean if "getPropertyValues" is requested for non-existing content what is
the exception that must be thrown?


On Fri, Jun 21, 2013 at 12:09 PM, J├╝rgen Schmidt <jogischmidt@gmail.com>wrote:

> On 6/21/13 8:05 AM, Rajath Shashidhara wrote:
> > Hello,
> >
> > The explanation for "insert" command is not clear to me.
> >
> > If I call "insert" for a document, then I'll have to set the InputStream
> to
> > to existing document. What happens If I call "insert" for a folder?
>
> you create a folder
>
> >
> > Also, if the object specified by path doesnt exist on the repository,
> what
> > kind of error should be raised? I mean the XContentIdentifer points to a
> > location that doesnt exist, what kind of exception must be thrown?
>
> you should create it and only in case of an error you handle the error
> appropriately and return back to the UCB.
>
> In general you can open, edit and save document and folders, can create
> new document and can delete document, rename document/folder, basic file
> operations and all should be supported.
>
> Juergen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>


-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message