Thanks! This helps a lot.  I will try it.

-----Original Message-----
From: Miguel Figueiredo [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 13, 2004 9:08 AM
To: 'Slide Users Mailing List'
Subject: RE: Using the slide api directly vs. using the webdav client


Hello,


 Maybe I can help you start. To start using the server-side SLIDE API, you
should first get and instance of the NamespaceAccessToken interface, package
common. From there you can get every kind of helpers, witch are the only
ones intended to api-users, including the macro helper. You can get this
information on the
slide-doc\javadoc\org\apache\slide\common\package-summary.html javadocs
path.

 So now you should be upset about getting an instance from
NamespaceAccessToken interface, witch you get from the 'factory' class named
Domain, also inside common package.

 The problem about using the helper interfaces should be about synchronizing
the repository state information in every kind of aspect like, versioning
and locking. Good news is it should be safe to use the macros helper, but
not sure about the rest of the others. Also, it's always safer using the
client API, since it does the state synchronizing job transparently for you,
in the server side.

Hope that helps,
Miguel Figueiredo



_______

Hi,

 

I am just getting started with Slide, and want to write a simple

example showing how to (a) create a new file node, and (b)

import a document into it, using the slide (not webdav) api.

 

Can anyone help me with this example ?

 

1)  Get a Strucure Helper   -- getStructureHelper()   -- FROM WHERE ?

2)   Create a new node in the file branch    -- createObjectNode

3) Get a macro Helper  - getMacroHelper()  -- FROM WHERE ??

4) Do an Import  (how ??)

 

I am trying to understand how these pieces fit together, when using

the slide api (ie, what is a slidetoken, etc).

 

Nick



---------------------------------------------------------------------
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]

Reply via email to