Date: 2005-02-15T17:07:21 Editor: BrianLee Wiki: Jakarta-Slide Wiki Page: WebDavConstructionKit URL: http://wiki.apache.org/jakarta-slide/WebDavConstructionKit
no comment Change Log: ------------------------------------------------------------------------------ @@ -30,6 +30,9 @@ ==== Basics ==== +WCK essentially allows easy creation of a custom Slide Store class. In general a store class is responsible for displaying and storing files. +Given this flexibility, you can store files in a variety of ways (database, regular file system, and so on) and have a consistent interface for which users to access these files. + ===== Essential Interface to Implement ===== Any concrete store must implement the [http://jakarta.apache.org/slide/wck/javadoc/org/apache/slide/simple/store/BasicWebdavStore.html org.apache.slide.simple.store.BasicWebdavStore] interface. @@ -39,13 +42,13 @@ '''* Important Note: Remember that Slide itself will be using your store to create its own system files (/roles, /users, and other folders and files). Therefore it would be wise to implement all of BasicWebdavStore's functions unless otherwise noted - even if your users will not be allowed to perform certain functions - such as creating new folders or deleting. Hint: when the system is using your store to create the files and directories it needs - the Principal parameter object is null.''' - '''1.begin, commit, rollback:''' begins, commits, aborts a request / transaction + '''1.begin, commit, rollback:''' - '''a. begin''' Only the begin function is really required to implement from group one. The begin function is called on every webdav client request. If you look at the reference implementation of WebdavFileStore, it doesn't implement either commit or rollback. + '''a. begin''' Only the begin function is really required to implement from group one. The begin function is called on every webdav client request. If you look at the reference implementation of WebdavFileStore, it doesn't implement either commit or rollback. - '''b. commit''' + '''b. commit''' This commits a transaction. This is not required to implement. - '''c. rollback''' + '''c. rollback''' This aborts a transaction. This is not required to implement. '''2.objectExists, isFolder, isResource:''' existence checks, collection vs. content checks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
