Re: XRowUpdate interface in service ResultSet

2013-06-17 Thread Ariel Constenla-Haile
Hi Rajath, On Mon, Jun 17, 2013 at 10:28:56PM +0530, Rajath Shashidhara wrote: > Hello, > > I have a few questions here: > > XRowUpdate has a few methods like update(int columnindex, > variable). > > This is similar to "setPropertyValues" command. Should these command be > linked to the execut

XRowUpdate interface in service ResultSet

2013-06-17 Thread Rajath Shashidhara
Hello, I have a few questions here: XRowUpdate has a few methods like update(int columnindex, variable). This is similar to "setPropertyValues" command. Should these command be linked to the execute() - "setPropertyValues" command? Or should this even be implemented? -- Rajath S, M.Sc(Hons.)

Re: service ResultSet

2013-06-16 Thread Ariel Constenla-Haile
On Fri, Jun 14, 2013 at 12:00:55AM +0530, Rajath Shashidhara wrote: > Hello Ariel, > > for making the ucp return the same single component factory object, shall I > create a static single component factory object and return it if it is not > null and create a new one if it is null? By this way we

Re: service ResultSet

2013-06-14 Thread Ariel Constenla-Haile
Hi Rajath, On Sat, Jun 15, 2013 at 12:42:01AM +0530, Rajath Shashidhara wrote: > Hello Ariel, > > Can you help me with the OpenOffice Logger. > Where can I open the Log? > I'm using Logger log = Logger.getAnonymousLogger(); > log.log(Level.XXX,"XXX"); > > Where can I check the access the log? T

Re: service ResultSet

2013-06-14 Thread Rajath Shashidhara
UnoObjects( o1, o2 ) >>>> >>>> o3 = CreateUnoService("com.sun.star.comp.FTPContentProvider") >>>> o4 = CreateUnoService("com.sun.star.comp.FTPContentProvider") >>>> MsgBox EqualUnoObjects( o3, o4 ) >>>> End Sub >>>>

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
tance every time. >>> Compare with the FTP content provider implementation: both objects >>> are the same instance. >>> >>> >> I ran the basic code that you have given. I understand what you were >> trying to explain. >> But is it very impor

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
ery important now? How do I approach to solve this problem? Is > this a nice to have problem or a high riorty problem? > > >> Note that you could implement UCB contents caching by other means, but >> a "createOneInstanceComponentFactory()" or the like is a nic

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
have: you are using > CMISContentProvider.__writeRegistryServiceInfo( XRegistryKey > xRegistryKey), this is obsolete, you can use the "Passive Component > Registration" > http://wiki.openoffice.org/wiki/Passive_Component_Registration > > > Leave nice-to-have things for the f

Re: service ResultSet

2013-06-13 Thread Ariel Constenla-Haile
On Thu, Jun 13, 2013 at 11:01:50AM +0530, Rajath Shashidhara wrote: > Hello Ariel, > > I changed: > registration.classname=org.apache.aoo.ucp.cmisucp.ucp.CMISContentProvider > central.registration.class=org.apache.aoo.ucp.cmisucp.ucp.CentralRegistrationClass > > > I created the .oxt. Reinstalled

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
h both the package names > and > > exits. > > > > How do i resolve this? > > > > The data sink thing is clear from the api reference for > XCommandProcessor. > > But, thanks for clarifying my wrong concept of document. Now I'll check > if > > the

Re: service ResultSet

2013-06-13 Thread Jürgen Schmidt
t; the basetype of object stored in the cmis repository is a "cmis:document". > > My previous question is unanswered. In the implementation of service > ResultSet, the method m_RowCount can take values from 0.X+1 where X is > the number of rows . Is this right? or the next

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
> > My previous question is unanswered. > > I leave this to Jürgen :) (or I'll answer later in the morning, it's > 2 AM here, I'm going to sleep). > > > > In the implementation of service > > ResultSet, the method m_RowCount can take values from 0.

Re: service ResultSet

2013-06-12 Thread Ariel Constenla-Haile
e this to Jürgen :) (or I'll answer later in the morning, it's 2 AM here, I'm going to sleep). > In the implementation of service > ResultSet, the method m_RowCount can take values from 0.X+1 where X is > the number of rows . Is this right? or the next() just increases

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
stored in the cmis repository is a "cmis:document". My previous question is unanswered. In the implementation of service ResultSet, the method m_RowCount can take values from 0.X+1 where X is the number of rows . Is this right? or the next() just increases the value of m_RowCount by 1

Re: service ResultSet

2013-06-12 Thread Ariel Constenla-Haile
On Wed, Jun 12, 2013 at 09:01:51AM +0200, Jürgen Schmidt 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

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
previously. Please help. I rebuilt openoffice and tried again. It didnt work. On Wed, Jun 12, 2013 at 7:26 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello, > > service resultSet implements XResultSetUpdate. > > I don't understand the purpose of &q

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
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'

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
Yes. I have done that. :) On Wed, Jun 12, 2013 at 12:42 PM, Jürgen Schmidt 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 with each XRow containing the > info

Re: service ResultSet

2013-06-12 Thread Jürgen Schmidt
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 with each XRow containing the information > of a child object in case of a folder. good, keep in mind to return only the properti

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
Hello Juergen, I have already implemented my own XRow. I'm implementing the result set service by defining a List with each XRow containing the information of a child object in case of a folder. On Wed, Jun 12, 2013 at 12:31 PM, Jürgen Schmidt wrote: > On 6/12/13 8:45 AM, Rajath Shashidhara wro

Re: service ResultSet

2013-06-12 Thread Jürgen Schmidt
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 i

Re: service ResultSet

2013-06-11 Thread Rajath Shashidhara
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? On Wed, Jun 12, 2013 at 12:10 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Juergen, > > But the return

Re: service ResultSet

2013-06-11 Thread Rajath Shashidhara
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 wrote: > On 6/12/13 6:55 AM, Rajath Shashidhara wrote: > > Hello, > > Just a small doubt. > > I was looking at the

Re: service ResultSet

2013-06-11 Thread Jürgen Schmidt
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() . > >

service ResultSet

2013-06-11 Thread Rajath Shashidhara
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