portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r376822 - in /portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page: DelegatingPageManager.java impl/DatabasePageManager.java psml/CastorXmlPageManager.java
Date Fri, 10 Feb 2006 19:52:37 GMT
Author: taylor
Date: Fri Feb 10 11:52:36 2006
New Revision: 376822

URL: http://svn.apache.org/viewcvs?rev=376822&view=rev
Log:
this is a test method that i will soon delete
im checking it in for other developers to test tx DAO behavior for JS2-495

Modified:
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/DelegatingPageManager.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/impl/DatabasePageManager.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/psml/CastorXmlPageManager.java

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/DelegatingPageManager.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/DelegatingPageManager.java?rev=376822&r1=376821&r2=376822&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/DelegatingPageManager.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/DelegatingPageManager.java
Fri Feb 10 11:52:36 2006
@@ -179,4 +179,10 @@
         // TODO Auto-generated method stub
 
     }
+    
+    public int addPages(Page[] pages)
+    throws JetspeedException
+    {
+        throw new JetspeedException("not impl");
+    }
 }

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/impl/DatabasePageManager.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/impl/DatabasePageManager.java?rev=376822&r1=376821&r2=376822&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/impl/DatabasePageManager.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/impl/DatabasePageManager.java
Fri Feb 10 11:52:36 2006
@@ -1253,4 +1253,15 @@
         PageManagerUtils.deepCopyFolder(this, srcFolder, destinationPath, owner);
     }
     
+    public int addPages(Page[] pages)
+    throws JetspeedException
+    {
+        System.out.println("Adding first page");
+        this.updatePage(pages[0]);
+        System.out.println("Adding second page");
+        this.updatePage(pages[1]);
+        System.out.println("About to throw ex");
+        throw new JetspeedException("Its gonna blow captain!");
+    }
+    
 }

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/psml/CastorXmlPageManager.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/psml/CastorXmlPageManager.java?rev=376822&r1=376821&r2=376822&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/psml/CastorXmlPageManager.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/page/psml/CastorXmlPageManager.java
Fri Feb 10 11:52:36 2006
@@ -701,4 +701,13 @@
     {
         return null;
     }
+    
+    public int addPages(Page[] pages)
+    throws JetspeedException
+    {
+        this.updatePage(pages[0]);
+        this.updatePage(pages[1]);
+        throw new JetspeedException("Its gonna blow captain!");
+    }
+    
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message