incubator-jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r775504 - /incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java
Date Sat, 16 May 2009 18:19:30 GMT
Author: ajaquith
Date: Sat May 16 18:19:30 2009
New Revision: 775504

URL: http://svn.apache.org/viewvc?rev=775504&view=rev
Log:
Reverted WikiPage.save() so that this method is no longer deprecated. Added documentation
requiring implementations to delegate to ContentManager.save() so that events are fired correctly.

Modified:
    incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java

Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java?rev=775504&r1=775503&r2=775504&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java Sat May 16 18:19:30
2009
@@ -210,10 +210,11 @@
     
     /**
      *  Stores the state of the page, creating a new version in the
-     *  repository.
+     *  repository. Implementations must, at least, call
+     *  {@link org.apache.wiki.content.ContentManager#save(WikiPage)}
+     *  to ensure that internal events related page-saving fire properly.
      *  
      *  @throws ProviderException If the save cannot be completed.
-     *  @deprecated use {@link org.apache.wiki.content.ContentManager#save(WikiPage)} instead
      */
     public void save() throws ProviderException;
     



Mime
View raw message