List Info

Thread: Slide server Api sample




Slide server Api sample
user name
2006-08-28 01:48:28
Thanks!

Do you have more samples for "save file" OR
"set privilege" ....

chengj
2006/8/28

----- Original Message ----- 
From: "Rakesh Saha" <rakesh.sahaoracle.com>
To: "Slide Users Mailing List"
<slide-userjakarta.apache.org>
Sent: Monday, August 28, 2006 2:54 AM
Subject: Re: Slide server Api sample


> Sample API to read file :
> 
>    NodeRevisionDescriptors revisionDescriptors = 
> content.retrieve(slideToken, <file
resourcePath>);
> 
>    if (revisionDescriptors.hasRevisions()) {
> 
>      // Retrieve latest revision descriptor
>      NodeRevisionDescriptor revisionDescriptor = 
> content.retrieve(slideToken, revisionDescriptors);
> 
>      if (revisionDescriptor != null) {
>          InputStream slideStream = null;
>         slideStream = content.retrieve(slideToken,
revisionDescriptors, 
> revisionDescriptor).streamContent();
>      }
>   }       
> 
> HTH.
> 
> Thanks,
> Rakesh
> 
> chengj wrote:
>>
>>
>> Hi all,
>>       I want to use SLIDE to store files. By the
Architecture of  
>> SLIDE I think I only need to invoke Server API of 
SLIDE, and don't 
>> need to use WebDAV Servlet.
>>      who can show me a sample of using Server API
of  SLIDE.
>>     Thanks a lot.
>>
>>
>>
>> chengj
>> 2006/8/25
>>
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
>> For additional commands, e-mail:
slide-user-helpjakarta.apache.org
>>
>>
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
> 
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )