Hi, Nick!

First, you should obtain an instance of the NamespaceAccessToken class, for
example:

Domain.accessNamespace(new SecurityToken(someObject), namespaceName);
Domain.accessNamespace(new SecurityToken(someObject)); 

It has methods that provide you with all helpers.

The org.apache.slide.webdav.method.PutMethod class gives some good examples
of node & descriptors creation.

Yours sincerely,
Andrey.

> -----Original Message-----
> From: Slide Users Mailing List [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 13, 2004 9:36 AM
> To: [EMAIL PROTECTED]
> Subject: Using the slide api directly vs. using the webdav client
> Importance: Low
> 
> 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]

Reply via email to