You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by aj...@apache.org on 2009/05/16 20:19:30 UTC
svn commit: r775504 -
/incubator/jspwiki/trunk/src/java/org/apache/wiki/api/WikiPage.java
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;