On Sun, Jan 25, 2004 at 08:12:28PM +0100, Martin Holz wrote: > Its a little bit confusing. There are 7 interfaces. > - Store ( > - NodeStore, > - RevisionDescriptorStore > - RevisionDescriptorsStore > - SecurityStore > - LockStore > - ContentStore, > > > While Store extends the other 6 interfaces, the default implementation > of Store (org.apache.slide.store.StandardStore in slide 1.0.16) delegates > the work to implementations of the other interfaces.You choose a implementation > for each of them in Domain.xml. > JDBCDescriptorsStore, MemoryDescriptorsStore and FileDescriptorsStore > implement the NodeStore, RevisionDescriptorStore, RevisionDescriptorsStore, > SecurityStore and LockStore interfaces. You could choose FileDescriptorsStore > as a start.
I'm looking to implement a slightly altered RDBMS Store. Everything goes into a database, but I need file attachments, so I want to auto-create/delete 'shadow directories' for each non-attachment file; the shadow directory (like 'data.xml' => shadow dir 'data@') is where the attachments will go, and permissions of the attachments and the shadow dir will follow those of the file they're attached to[0]. Is there any documentation (even if it's just a mailinglist thread) that explains stores and their interfaces? Reading the source is pretty slow going. -- Emiliano [0] suggestions for other ways to implement file attachments most welcome! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
