openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From janI <>
Subject Re: Opinion: CMIS UCP Open
Date Sat, 17 Aug 2013 09:24:02 GMT
On 17 August 2013 11:16, Rajath Shashidhara <>wrote:

> Hello,
> I need opinion on how to implement "open" command in my cmis ucp.
> Since, cmis supports versioning, the make any changes to the document, the
> document has to be checked out. Later, the changes have to checked in.
> So, when the user "open" a folder from the file dialog, there are two
> options:
> 1. Open the document as a "read-only" copy. Provide an option to
> 2. Checkout the document and open it.
> What do you feel is best way to go about it?
> Please provide your opinion.

Since you do not know if the user will save it again (or when) I would
avoid doing too many checkout (some cmis systems blocks the document when
you do a checkout).

I would suggest the following pattern:

open, retrieve read-only, mark the version number

1) control version numbers (did anybody else change the document in cmis)
   warn user if different.
2) checkout and checkin the changed document

jan I

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

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