jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r468380 - in /jackrabbit/trunk/jcr-server: server/src/java/org/apache/jackrabbit/webdav/jcr/observation/SubscriptionImpl.java webdav/src/java/org/apache/jackrabbit/webdav/observation/ObservationConstants.java
Date Fri, 27 Oct 2006 13:39:39 GMT
Author: mreutegg
Date: Fri Oct 27 06:39:38 2006
New Revision: 468380

URL: http://svn.apache.org/viewvc?view=rev&rev=468380
Log:
- introduce new attribute on event bundle: dcr:islocal

Modified:
    jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/observation/SubscriptionImpl.java
    jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/observation/ObservationConstants.java

Modified: jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/observation/SubscriptionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/observation/SubscriptionImpl.java?view=diff&rev=468380&r1=468379&r2=468380
==============================================================================
--- jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/observation/SubscriptionImpl.java
(original)
+++ jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/webdav/jcr/observation/SubscriptionImpl.java
Fri Oct 27 06:39:38 2006
@@ -378,6 +378,7 @@
 
         public Element toXml(Document document) {
             Element bundle = DomUtil.createElement(document, XML_EVENTBUNDLE, NAMESPACE);
+            DomUtil.setAttribute(bundle, XML_EVENT_IS_LOCAL, NAMESPACE, Boolean.toString(!info.isNoLocal()));
             while (events.hasNext()) {
                 Event event = events.nextEvent();
                 Element eventElem = DomUtil.addChildElement(bundle, XML_EVENT, NAMESPACE);

Modified: jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/observation/ObservationConstants.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/observation/ObservationConstants.java?view=diff&rev=468380&r1=468379&r2=468380
==============================================================================
--- jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/observation/ObservationConstants.java
(original)
+++ jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/observation/ObservationConstants.java
Fri Oct 27 06:39:38 2006
@@ -61,6 +61,7 @@
 
     public static final String XML_EVENTDISCOVERY = "eventdiscovery";
     public static final String XML_EVENTBUNDLE = "eventbundle";
+    public static final String XML_EVENT_IS_LOCAL = "islocal";
     public static final String XML_EVENT = "event";
     public static final String XML_EVENTUSERID = "eventuserid";
 



Mime
View raw message