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 <jogischm...@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-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


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

Reply via email to