I don't know if you can turn off versioning/locking/permissions for a
store, but I do know you can provide empty implementations.

My suggestion would be to extend AbstractXAService and implement all of
the *Store interfaces, providing empty implementations for the features
you don't need (hopefully someone else will speak up if this is a bad
idea). You can look at the JNDIPrincipalStore for example of how to
implement an empty interface. I did a lot of that ;).

You may be able to use the TxContent* store as-is for your binary
content. It's a separate store that just handles files. It's setup for
versioning, but with auto-versioning off as long as you don't call any
versioning-specific webdav methods you're fine. If you do go this route
your Store won't need to implement ContentStore. If you want to do it
yourself, you may still be able to take advantage of the ResourceManager
that the TxContent store uses, since it's the ResourceManager that
handles actually writing files to disk.

Metadata should be fairly easy. You need to decide how to map a
NodeRevisionDescriptor to your database schema, but after that it's just
reading and writing records.

-James

>>> [EMAIL PROTECTED] 7/26/2004 10:26:08 PM >>>
Hi all,
 
I am writing my own custom store. The basic requirement is as under.
 
1.                  Actual content should be created in some directory
as per configured in Domain.xml
2.                  Descriptor records (metadata) should be created in
the ORACLE database
3.                  No versioning, locking, permissions, ACL is
required
to be implemented.
 
I am using slide source code version 2.0.
 
Can anybody please guide me what all method I have to take care for
the
above requirements.
Is it possible to disable locking, permissions, ACLs etc of the slide.
 
One more thing I even don't want to use the tables provided by slide,
instead I would like to map
those tables and fields with my oracle db tables and fields.
 
Looking for the help on the above..
 
Thanks,
 
Mihir
 
Sr. Software Engineer
SBU: eBiz, Gandhinagar
 
"Imaginations... its limits are only those of the mind itself"
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to