> Hi,
>
> > -----Original Message-----
> > From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
> > >
> > > We want to link together lucene and slide for our project -
> > such that
> > > documents checked in through slide are indexed.
> > >
> > > Are there any standard hooks in the slide API to allow this?
> > >
> > >
> > > I can see the following options -
> > > . subclass webdavservlet and add our extra processing
> > > . do a custom version of webdavservlet with our extra processing
> > > . do a custom/extended store that has our extra processing.
> > >
> > > Where the extra processing involves taking the metatags of
> > the document
> > and
> > > sticking that into a lucene document to get the document
> > indexed based on
> > > its tags.
> >
> > You can use the ContentInterceptor class. Extend it, and register the
> > interceptor by adding a <content-interceptor class="Foo"/> in
> > the namespace
> > configuration element in Domain.xml.
> >
> > It allows to easily access all the metadata.
> > I think here you would like to use the postStoreContent call
> > and look at
> > what is in the RevisionDescriptor.
> >
>
> This looks like what I am after.
>
> ...but when I tried to extend it, I created a class in my own package, and
> then I get a compilation warning that my method does not override the
> ContentInterceptor method - because that method is package private.
>
> Are the methods meant to be used in this way - perhaps the methods in
> ContentInterceptor should be public? Or should my class be in the
> org.apache.slide.content package?
No, it's my mistake.
Originally, it was an interface, and I omitted the access modifier. Sorry.
Remy