You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2007/05/29 11:27:18 UTC

DO NOT REPLY [Bug 36026] - Quota Listener

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36026>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36026





------- Additional Comments From rui-miguel.valerio@univ-rennes1.fr  2007-05-29 02:27 -------
Created an attachment (id=20284)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20284&action=view)
Quota Listener to manage quota in Slide (package
org.apache.slide.webdav.event.quota)

Hi, 
The quota code is now in a new package named 
org.apache.slide.webdav.event.quota and the constant NAMESPACE_ESUP is picked
up from the Domain.xml.

In order to use the QuotaListener, you must define the listener in the
Domain.xml.
So, add these different lines :

<events>
...
<event classname="org.apache.slide.webdav.event.DetailedWebdavEvent"
enable="true"/>
<event classname="org.apache.slide.webdav.event.WebdavEvent" enable="true" />
...
<listener classname="org.apache.slide.webdav.event.quota.QuotaListener">
	    <configuration>
	      <path>/files</path>
	      <quotaNamespace>QUOTA:</quotaNamespace>
	      <appleQuotaMetadata>true</appleQuotaMetadata>
	    </configuration>
</listener>
...
</events>


Description of the three parameters of the QuotaListener configuration.

path : this parameter notice where the quota will be apply.

quotaNamespace :  this parameter enable to choose the namespace which will be
used for the non-DAV metadata.

appleQuotaMetadata : this parameter allow to use or not the apple quota
metadatas.


Regards,

Miguel

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org