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 pn...@apache.org on 2003/08/18 09:04:56 UTC
cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/resourcekind DeltavCompliantCollectionImpl.java DeltavCompliantImpl.java
pnever 2003/08/18 00:04:56
Modified: src/webdav/server/org/apache/slide/webdav/util/resourcekind
DeltavCompliantCollectionImpl.java
DeltavCompliantImpl.java
Log:
Added stuff for binding
Revision Changes Path
1.5 +8 -3 jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/resourcekind/DeltavCompliantCollectionImpl.java
Index: DeltavCompliantCollectionImpl.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/resourcekind/DeltavCompliantCollectionImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DeltavCompliantCollectionImpl.java 14 Aug 2002 15:36:39 -0000 1.4
+++ DeltavCompliantCollectionImpl.java 18 Aug 2003 07:04:56 -0000 1.5
@@ -104,6 +104,11 @@
*/
public Set getSupportedMethods() {
Set s = super.getSupportedMethods();
+ if (isSupportedFeature(F_BINDING)) {
+ s.add( M_BIND );
+ s.add( M_UNBIND );
+ s.add( M_REBIND );
+ }
if( isSupportedFeature(F_BASELINE) )
s.add( M_BASELINE_CONTROL );
return s;
1.5 +10 -6 jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/resourcekind/DeltavCompliantImpl.java
Index: DeltavCompliantImpl.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/resourcekind/DeltavCompliantImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DeltavCompliantImpl.java 15 Jul 2002 12:26:06 -0000 1.4
+++ DeltavCompliantImpl.java 18 Aug 2003 07:04:56 -0000 1.5
@@ -84,7 +84,7 @@
*/
protected DeltavCompliantImpl() {
}
-
+
/**
* Get the set properties supported by this resource kind.
* @param filter Q_PROTECTED_ONLY or Q_COMPUTED_ONLY (no filtering if null)
@@ -117,6 +117,10 @@
s.add( P_ACL_SEMANTICS );
s.add( P_PRINCIPAL_COLLECTION_SET );
}
+ if (isSupportedFeature(F_BINDING, excludedFeatures)) {
+ s.add( P_RESOURCE_ID );
+ s.add( P_PARENT_SET );
+ }
if( isSupportedFeature(F_VERSION_CONTROL, excludedFeatures) ) {
s.add( P_COMMENT );
s.add( P_CREATOR_DISPLAYNAME );
@@ -130,7 +134,7 @@
s.add( P_VERSION_CONTROLLED_CONFIGURATION );
return s;
}
-
+
/**
* Get the set methods supported by this resource kind.
*/
@@ -161,7 +165,7 @@
}
return s;
}
-
+
/**
* Get the set reports supported by this resource kind.
*/