Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10BEC10104 for ; Fri, 21 Jun 2013 07:09:42 +0000 (UTC) Received: (qmail 66460 invoked by uid 500); 21 Jun 2013 07:09:41 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 66109 invoked by uid 500); 21 Jun 2013 07:09:36 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 66092 invoked by uid 99); 21 Jun 2013 07:09:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 07:09:35 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajaths.rajaths@gmail.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-ob0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 07:09:30 +0000 Received: by mail-ob0-f170.google.com with SMTP id ef5so8274540obb.29 for ; Fri, 21 Jun 2013 00:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=7zKSU0gnW+EVqgUwGe5g3nskqpobPzGo+wS8080b1qo=; b=aPtCtfkeezOOUoiZFdcAxWuzYS7mVaj6kpuNnXRHJIehQRqW70kypRQaGF6gRxQDm+ YOFO8UvkvjzLXiUgLZ/ZjCua36lsqFavd4yJbiw0Aa0jfC3lXnZFprDCvtHU1HTSMbV+ yKmNtJT8y7TCC8YznNRF9Wftvs6+7WNlhlb2vw75vZ7AyAeSpv9vCl/C1c1PIHuO9leG nob4PQBO9+XRnn96lZkpAPa7ZBUMhhuKhC5BP5FKHf3WSFddysD4qqFtwOKoqjRMYnVm kUOAd2oX9OnCn1eYP6GFic18gPChrGzFLjmkTLMhMM4Y4N2pLgnqHMx0iiHR9VzrGox6 C8rg== MIME-Version: 1.0 X-Received: by 10.182.176.34 with SMTP id cf2mr2968591obc.45.1371798549307; Fri, 21 Jun 2013 00:09:09 -0700 (PDT) Received: by 10.76.113.228 with HTTP; Fri, 21 Jun 2013 00:09:09 -0700 (PDT) In-Reply-To: <51C3F50C.6030104@gmail.com> References: <51C3F50C.6030104@gmail.com> Date: Fri, 21 Jun 2013 12:39:09 +0530 Message-ID: Subject: Re: "Insert" command From: Rajath Shashidhara To: dev Content-Type: multipart/alternative; boundary=e89a8ff1cf823c2a4a04dfa4bdad X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1cf823c2a4a04dfa4bdad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=FCrgen Schmidt w= rote: > 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 InputStrea= m > 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 > > --=20 Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani --e89a8ff1cf823c2a4a04dfa4bdad--