[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-dev
Subject: Re: Quota development.
From: Thomas Bellembois <thomas.bellembois () univ-rennes1 ! fr>
Date: 2005-03-23 13:49:56
Message-ID: 42417404.10906 () univ-rennes1 ! fr
[Download RAW message or body]
I have re-installed Slide and it is working now. :-)
I have probably make a mistake the first time.
Thank you.
Thomas
Stefan Lützkendorf wrote:
> Do you have enabled both DetailedWebdavEvent and WebdavEvent in your
> Domain.xml.
>
> <event classname="org.apache.slide.webdav.event.WebdavEvent"
> enable="true" />
> <event classname="org.apache.slide.webdav.event.DetailedWebdavEvent"
> enable="true" />
>
> I have written a test listener, that logs all events, and now I get
> all the events.
>
> Stefan
>
> public class LoggingWebdavListener extends WebdavAdapter {
>
> public void acl(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void bind(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void checkin(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void checkout(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void copy(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void copyAfterCopy(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void copyAfterDelete(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void copyBeforeCopy(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void copyBeforeDelete(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void delete(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void deleteAfterDelete(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void deleteBeforeDelete(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void get(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void label(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void lock(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void mkcol(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void mkcolAfter(WebdavEvent event) throws VetoException {
> System.out.println(event + " mkcolAfter");
> }
> public void mkworkspace(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void move(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void moveAfterCopy(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void moveAfterDelete(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void moveBeforeCopy(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void moveBeforeDelete(DetailedWebdavEvent event) throws
> VetoException {
> System.out.println(event);
> }
> public void options(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void poll(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void propFind(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void propPatch(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void put(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void putAfter(WebdavEvent event) throws VetoException {
> System.out.println(event + "putAfter");
> }
> public void rebind(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void report(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void search(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void subscribe(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void unbind(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void uncheckout(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void unlock(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void unsubscribe(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void update(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void versionControl(WebdavEvent event) throws VetoException {
> System.out.println(event);
> }
> public void versionControlAfter(DetailedWebdavEvent event)
> throws VetoException {
> System.out.println(event);
> }
> public void versionControlBefore(DetailedWebdavEvent event)
> throws VetoException {
> System.out.println(event);
> }
> }
>
>
>
> Thomas Bellembois wrote:
>
>> No problem and thank you.
>> But it does not seem to work yet.
>> Apparently those events are never thrown.
>> Thomas
>>
>> Stefan Lützkendorf wrote:
>>
>>> Sorry,
>>> I missed a required change in WebdavEvent. Now commited.
>>>
>>> Stefan
>>>
>>> Thomas Bellembois wrote:
>>>
>>>> I can't catch the two new events (putAfter and mkcolAfter) (the
>>>> other methods are caught).
>>>> I have checkout and installed the entire project.
>>>> Have you modified the Slide core so that those events are thrown
>>>> after put/mkcol methods ?
>>>> Or is there something special to do in my configuration ?
>>>> Thank you.
>>>>
>>>> Thomas
>>>>
>>>> Thomas Bellembois wrote:
>>>>
>>>>> Thank you very much.
>>>>> Thomas
>>>>>
>>>>> Stefan Lützkendorf wrote:
>>>>>
>>>>>> Ok, I added the stuff at the WebdavListener interface and checked
>>>>>> it in.
>>>>>>
>>>>>>
>>>>>> Thomas Bellembois wrote:
>>>>>>
>>>>>>> And why not mkcolBefore and putBefore too...
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> put() and mkcol() stands for putBefore() and mkcolBefore(). They
>>>>>> always exist
>>>>>> so I can't rename them.
>>>>>>
>>>>>> Cheers, Stefan
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
BELLEMBOIS Thomas
CRI, Université de Rennes 1
Campus de beaulieu
Avenue du Général Leclerc
35042 RENNES Cedex
Tél.: 02.23.23.69.60
Mail: Thomas.Bellembois@univ-rennes1.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic