> Can you clarify how your approach is different than the WCK work > already in slide?
What's the WCK work ? When I started using Slide, I had many difficulties to understand how it works. I still think that to do a simple request (create a file, get metadata, make a DASL search, modify ACL), it's really complex (and not much documented). So when you're a newbie it's easier to give up Slide and look for a better technology, than to keep working on it. That's why I decided to try to make a simple API. Here are two examples of my work : 1/ If you want to know wether a resource is updatable by a certain role you just have to write : --------------------------------------------------------------- String url = "http://localhost:8080/slide/files/myfile.txt"; WebDavRess ress = new WebDavRess(url,"root","root"); boolean isAllowed = ress.isWritableByRole("user"); ress.close(); --------------------------------------------------------------- 2/ You've got a java bean class (WebDavBean.class) representing a Slide resource (for instance attributes "getcontentlength", "name", "title", "summary", "keywords"), if you want to get the metadata of a specific resource, you write : --------------------------------------------------------------- String url = "http://localhost:8080/slide/files/mydocument.txt"; String server = "http://localhost:8080/slide"; WebDavManager webdav = new WebDavManager(server,"root","root"); WebDavBean bean = (WebDavBean)webdav.getBean(WebDavBean.class,url); --------------------------------------------------------------- Regards, Bertrand. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
