jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject JCR-Server: Modification Summary [rev. 385540]
Date Mon, 13 Mar 2006 14:14:30 GMT
hi

Please find below a summary of the latest modifications
made to the jcr-server for version 1.0.

I'd like to point out the following API changes related
to the removal of JCR dependencies from the webdav library:

- DavSession.java#getRepositorySession removed
- DavResourceLocator#getJcrPath() renamed to getRepositoryPath()
- DavResource#getDavSession() added, replacing the same method
   formerly present with derived interfaces.

For reasons explained in JCR-343 the Report interface was
modified to take DavResource:

- Report.init(DavResource, ReportInfo) instead of limiting to
   DeltaV resources.

kind regards
angela


List of JIRA issues:

- http://issues.apache.org/jira/browse/JCR-337
- http://issues.apache.org/jira/browse/JCR-340
- http://issues.apache.org/jira/browse/JCR-341
- http://issues.apache.org/jira/browse/JCR-342
- http://issues.apache.org/jira/browse/JCR-343
- http://issues.apache.org/jira/browse/JCR-344
- http://issues.apache.org/jira/browse/JCR-345
- http://issues.apache.org/jira/browse/JCR-346
- http://issues.apache.org/jira/browse/JCR-347


Details:

JCR-337 Remove JCR dependency from WebDAV library
-------------------------------------------------------------------------------

1) DavSession.getRepositorySession() returns javax.jcr.Session
    modifications:
    - remove method from interface
    - abstract class JcrDavSession provides access to javax.jcr.Session

    PLEASE NOTE modified API in o.a.j.webdav.DavSession.java

2) DavResourceLocator.getJcrPath() {naming, javadoc)
    modifications:
    - rename method to 'getRepositoryPath()'
    - adjust javadoc (removing jcr-specific links).

    PLEASE NOTE modified API in o.a.j.webdav.DavResourceLocator

3) DavLocatorFactory javadoc refering to dependency 2)
    modifications:
    - adjust javadoc in o.a.j.webdav.DavLocatorFactory

4) ObservationConstants defining JCR specific event types
    modifications:
    - move specific types from
      o.a.j.webdav.observation.ObservationConstants to
      jcr specific implementation in SubscriptionImpl.java

5) TransactionConstants defines 2 JCR specific property names
    modifications:
    - remove both jcr specific property names from
      o.a.j.webdav.transaction.TransactionConstants


JCR-340 ValuesProperty missing property type information
-------------------------------------------------------------------------------

modification:
- add 'type' attribute to the value enclosing xml element.
- modification only affects classes within the webdav-jcr
   implementation.


JCR-341 registration of ReportTypes fails
-------------------------------------------------------------------------------

modifiction:
fixed check for registered class implementing the Report interface
in ReportType#register(String, Namespace, Class).


JCR-342 DavResource#getDavSession() missing
------------------------------------------------------------------------------- 


modification:
- add getDavSession() [DavSession] to DavResource interface
- remove the corresponding method from the derived interfaces

PLEASE NOTE modified API in:

 > o.a.j.webdav.DavResource
 > o.a.j.webdav.observation.ObservationResource.java
 > o.a.j.webdav.transaction.TransactionResource.java
 > o.a.j.webdav.version.DeltaVResource.java


JCR-343 Report#init limits the Report interface to DeltaV compliant 
resources
------------------------------------------------------------------------------

modification:
- change signature of init method,
   Report#init(DavResource, ReportInfo) instead of taking DeltaVResource.

PLEASE NOTE modified API in o.a.j.webdav.version.report.Report.java


JCR-344 DeltaVResource lists MKWORKSPACE in the method constant.
------------------------------------------------------------------------------

modification:
- fixed METHOD constant in o.a.j.webdav.version.DeltaVResource.java


JCR-345 DavException doesn't allow to specify an exception cause
------------------------------------------------------------------------------

modification:
- added constructor in DavException, modified constructor within derived
   jcr-specific extension (o.a.j.webdav.jcr.JcrDavException)


JCR-346 ItemDefinitionImpl.toXml throws NPE for the root node.
------------------------------------------------------------------------------

modification:
- added missing check in
   o.a.j.webdav.jcr.nodetype.ItemDefinitionImpl.java


JCR-347 Parsing NodeTypeProperty not compliant with definition
------------------------------------------------------------------------------

modification:
- fixing xml parsing while creating a new NodeTypeProperty from
   another DavProperty such as retrived from a MultiStatus.


Varia
------------------------------------------------------------------------------

- fixing various indention issues
- fixing various javadoc issues
- improving arrangement of of constants.
- minor improvements
- minor bug with MultiStatusResponse#createFromXml

Mime
View raw message