cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolf Kulemann <r...@apache.org>
Subject [PROP] Repository interface
Date Mon, 05 Apr 2004 11:19:47 GMT
[Related to http://issues.apache.org/bugzilla/show_bug.cgi?id=28189]

<quote src="Guido Capser">
As for WebDAVRepsoitoryVersioningHelper.setVersioned(): I don't think it
is a good idea to throw an 
UnsupportedOperationException only under certain conditions.
</quote>

Agreed.

Maybe it makes sense to split setVersioned(String, boolean) into two
methods

1.) setVersioned(String)
2.) unsetVersioned(String)

in order to be more flexible in the implementation decisions?

<quote src="Guido Capser">
A setVersioned(uri, false) might be implemented by deleting and  
recreating the 
resource (making copies for safety and checking for auto-versioning).
</quote>

Ehem, how can I check for auto-versioning?

-- 
Regards,

    Rolf Kulemann


Mime
View raw message