Hello, When I install the new .oxt created by me, I get an error: apache.ooffice.gsoc.cmisucp.ucp.CentralRegistrationClass;org.apache.aoo.ucp.cmisucp.ucp,CentralRegistrationClass.
These are my previous package names and new package name. I have uninstalled the previous extension. It was working previously. Please help. I rebuilt openoffice and tried again. It didnt work. On Wed, Jun 12, 2013 at 7:26 PM, Rajath Shashidhara < [email protected]> wrote: > Hello, > > service resultSet implements XResultSetUpdate. > > I don't understand the purpose of "void insertRow()" and "void > deleteRow()". > > Will calling deleteRow() delete the child object itself?(Actually I dont > think it should be like that. I'm just verifying). > > I'm not understanding when to update the properties of a row? Should I > create event listeners for each value in XRow or update the row only when > some function is called? > > > > > On Wed, Jun 12, 2013 at 12:43 PM, Rajath Shashidhara < > [email protected]> wrote: > >> Yes. I have done that. :) >> >> >> On Wed, Jun 12, 2013 at 12:42 PM, Jürgen Schmidt >> <[email protected]>wrote: >> >>> On 6/12/13 9:04 AM, Rajath Shashidhara wrote: >>> > Hello Juergen, >>> > >>> > I have already implemented my own XRow. I'm implementing the result set >>> > service by defining a List<XRow> with each XRow containing the >>> information >>> > of a child object in case of a folder. >>> >>> good, keep in mind to return only the properties that the cmd ask for >>> >>> Juergen >>> >>> >>> > >>> > >>> > On Wed, Jun 12, 2013 at 12:31 PM, Jürgen Schmidt < >>> [email protected]>wrote: >>> > >>> >> On 6/12/13 8:45 AM, Rajath Shashidhara wrote: >>> >>> Hello Juergen, >>> >>> >>> >>> I'm following this: >>> >>> >>> >> >>> http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/Content.html >>> >>> . >>> >>> Is there any other revised source that I have to follow? >>> >> >>> >> ok, I see what you mean. You have to implement simply a UNO object >>> >> implementing the XRow interface. And yes the docu say it is similar >>> to a >>> >> ResultSet. >>> >> >>> >> But is much easier than you expect, I have done this before and have >>> to >>> >> find the code ... will take some time, probably I can send you an >>> >> example in the evening. >>> >> >>> >> Or you can implement an object supporting the XRow interface on your >>> >> your own. >>> >> >>> >> See also the DevGuide >>> >> >>> >> >>> http://wiki.openoffice.org/wiki/Documentation/DevGuide/UCB/Obtaining_Content_Properties >>> >> >>> >> And please don't ask me why it was designed this way ;-) >>> >> >>> >> Juergen >>> >> >>> >> >>> >>> >>> >>> >>> >>> On Wed, Jun 12, 2013 at 12:10 PM, Rajath Shashidhara < >>> >>> [email protected]> wrote: >>> >>> >>> >>>> Hello Juergen, >>> >>>> >>> >>>> But the return datatype of Open Command is a dynamic result set. >>> So, a >>> >>>> result set service must be implemented right? >>> >>>> >>> >>>> >>> >>>> On Wed, Jun 12, 2013 at 11:44 AM, Jürgen Schmidt < >>> [email protected] >>> >>> wrote: >>> >>>> >>> >>>>> On 6/12/13 6:55 AM, Rajath Shashidhara wrote: >>> >>>>>> Hello, >>> >>>>>> Just a small doubt. >>> >>>>>> I was looking at the methods to be implemented in ResultSet. >>> >>>>>> m_RowCount stores the current row being accessed. >>> >>>>>> I have a doubt in the following methods. >>> >>>>>> Methods: >>> >>>>>> next(),previous(),beforeFirst(),afterLast() . >>> >>>>>> >>> >>>>>> Initially when the resultset is constructed, m_RowCount will be >>> zero >>> >>>>>> according to the api reference. >>> >>>>>> If there are 'X' Rows. >>> >>>>>> So, m_RowCount can take 0,1,......,X,X+1 values only or can it >>> take >>> >> any >>> >>>>>> value? >>> >>>>>> >>> >>>>>> Because even X+2 is afterLast() and -1 is beforeFirst(). >>> >>>>>> >>> >>>>> >>> >>>>> I would not use ResultSet in this context, it was mainly designed >>> and >>> >>>>> used in the context of databases. >>> >>>>> >>> >>>>> Internally you can use whatever you want and the return via the >>> API is >>> >>>>> just a property sequence. Use whatever you want and ensure that it >>> can >>> >>>>> be fast converted in a sequence (in Java array) of properties. >>> >>>>> >>> >>>>> 2 open commands have to update the values anyway because in the >>> time >>> >>>>> between both commands the values could have changed anyway, e.g. a >>> file >>> >>>>> got written/updated from somewhere else. >>> >>>>> >>> >>>>> Juergen >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >>> --------------------------------------------------------------------- >>> >>>>> To unsubscribe, e-mail: [email protected] >>> >>>>> For additional commands, e-mail: [email protected] >>> >>>>> >>> >>>>> >>> >>>> >>> >>>> >>> >>>> -- >>> >>>> Rajath S, >>> >>>> M.Sc(Hons.) Physics, >>> >>>> Birla Institute of Technology and Science - Pilani, >>> >>>> Pilani >>> >>>> >>> >>> >>> >>> >>> >>> >>> >> >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: [email protected] >>> >> For additional commands, e-mail: [email protected] >>> >> >>> >> >>> > >>> > >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> Rajath S, >> M.Sc(Hons.) Physics, >> Birla Institute of Technology and Science - Pilani, >> Pilani >> > > > > -- > Rajath S, > M.Sc(Hons.) Physics, > Birla Institute of Technology and Science - Pilani, > Pilani > -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani
