roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r393335 - /incubator/roller/branches/roller-newbackend/src/org/roller/pojos/WeblogEntryData.java
Date Wed, 12 Apr 2006 00:10:21 GMT
Author: agilliland
Date: Tue Apr 11 17:10:20 2006
New Revision: 393335

URL: http://svn.apache.org/viewcvs?rev=393335&view=rev
Log:
removing WeblogEntry.save() method.  logic moved to WeblogManager.storeWeblogEntry().


Modified:
    incubator/roller/branches/roller-newbackend/src/org/roller/pojos/WeblogEntryData.java

Modified: incubator/roller/branches/roller-newbackend/src/org/roller/pojos/WeblogEntryData.java
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller-newbackend/src/org/roller/pojos/WeblogEntryData.java?rev=393335&r1=393334&r2=393335&view=diff
==============================================================================
--- incubator/roller/branches/roller-newbackend/src/org/roller/pojos/WeblogEntryData.java
(original)
+++ incubator/roller/branches/roller-newbackend/src/org/roller/pojos/WeblogEntryData.java
Tue Apr 11 17:10:20 2006
@@ -527,28 +527,6 @@
     {
         this.pinnedToMain = pinnedToMain;
     }
-
-    //------------------------------------------------------------------------
-
-    /**
-     * Save the entry and queue applicable web log update pings if the entry is published.
-     * @see org.roller.pojos.PersistentObject#save()
-     */
-    public void save() throws RollerException
-    {
-        // TODO BACKEND: move createAnchor() and queuePings() logic to pres layer
-        // If no anchor then create one
-        if (getAnchor()==null || getAnchor().trim().equals(""))
-        {
-            setAnchor(createAnchor());
-        }
-        super.save();
-        if (isPublished()) 
-        {
-            // Queue applicable pings for this update.
-            RollerFactory.getRoller().getAutopingManager().queueApplicableAutoPings(this);
-        }
-    }
     
     //------------------------------------------------------------------------
     



Mime
View raw message