portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r351852 - in /portals/jetspeed-2/trunk: components/page-manager/src/java/org/apache/jetspeed/om/page/ components/page-manager/src/java/org/apache/jetspeed/om/page/impl/ components/page-manager/src/java/org/apache/jetspeed/om/page/psml/ jets...
Date Fri, 02 Dec 2005 23:46:46 GMT
Author: rwatler
Date: Fri Dec  2 15:46:35 2005
New Revision: 351852

URL: http://svn.apache.org/viewcvs?rev=351852&view=rev
Log:
remove NYI clone() from PageManager om APIs

Modified:
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentPageImpl.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/PageImpl.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/AbstractBaseElement.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/FragmentImpl.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PageImpl.java
    portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PropertyImpl.java
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Fragment.java
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Page.java

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java
Fri Dec  2 15:46:35 2005
@@ -118,15 +118,6 @@
     }
 
     /* (non-Javadoc)
-     * @see org.apache.jetspeed.om.page.Fragment#clone()
-     */
-    public Object clone() throws CloneNotSupportedException
-    {
-        
-        return fragment.clone();
-    }
-
-    /* (non-Javadoc)
      * @see org.apache.jetspeed.om.page.Fragment#getDecorator()
      */
     public String getDecorator()

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentPageImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentPageImpl.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentPageImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentPageImpl.java
Fri Dec  2 15:46:35 2005
@@ -122,15 +122,6 @@
     }
 
     /* (non-Javadoc)
-     * @see org.apache.jetspeed.om.page.Page#clone()
-     */
-    public Object clone() throws CloneNotSupportedException
-    {
-        
-        return new ContentPageImpl((Page)page.clone());
-    }
-
-    /* (non-Javadoc)
      * @see org.apache.jetspeed.om.page.Page#getDefaultDecorator(java.lang.String)
      */
     public String getDefaultDecorator(String fragmentType)

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/FragmentImpl.java
Fri Dec  2 15:46:35 2005
@@ -650,14 +650,6 @@
     }
     
     /* (non-Javadoc)
-     * @see org.apache.jetspeed.om.page.Fragment#clone()
-     */
-    public Object clone() throws CloneNotSupportedException
-    {
-        return null; // NYI
-    }
-
-    /* (non-Javadoc)
      * @see org.apache.jetspeed.om.page.Fragment#getPreferences()
      */
     public List getPreferences()

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/PageImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/PageImpl.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/PageImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/impl/PageImpl.java
Fri Dec  2 15:46:35 2005
@@ -228,14 +228,6 @@
     }
 
     /* (non-Javadoc)
-     * @see org.apache.jetspeed.om.page.Page#clone()
-     */
-    public Object clone() throws CloneNotSupportedException
-    {
-        return null; // NYI
-    }
-    
-    /* (non-Javadoc)
      * @see org.apache.jetspeed.om.page.Page#getMenuDefinitions()
      */
     public List getMenuDefinitions()

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/AbstractBaseElement.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/AbstractBaseElement.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/AbstractBaseElement.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/AbstractBaseElement.java
Fri Dec  2 15:46:35 2005
@@ -559,16 +559,6 @@
     }
 
     /**
-     * Create a clone of this object
-     */
-    public Object clone()
-        throws java.lang.CloneNotSupportedException
-    {
-        Object cloned = super.clone();
-        return cloned;
-    }
-
-    /**
      * <p>
      * equals
      * </p>

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/FragmentImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/FragmentImpl.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/FragmentImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/FragmentImpl.java
Fri Dec  2 15:46:35 2005
@@ -221,16 +221,6 @@
         }
     }
     
-    public Object clone() throws java.lang.CloneNotSupportedException
-    {
-        Object cloned = super.clone();
-
-        // TBD: copy the properties and fragment structures
-
-        return cloned;
-
-    } // clone
-
     /**
      * <p>
      * equals

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PageImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PageImpl.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PageImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PageImpl.java
Fri Dec  2 15:46:35 2005
@@ -224,15 +224,6 @@
         this.defaults = defaults;
     }
 
-    public Object clone() throws java.lang.CloneNotSupportedException
-    {
-        Object cloned = super.clone();
-
-        // TBD: clone the inner content
-
-        return cloned;
-    }
-
     /**
      * <p>
      * getType

Modified: portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PropertyImpl.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PropertyImpl.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PropertyImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/psml/PropertyImpl.java
Fri Dec  2 15:46:35 2005
@@ -64,12 +64,6 @@
         this.value = value;
     }
 
-    public Object clone()
-        throws java.lang.CloneNotSupportedException
-    {
-        return super.clone();
-    }
-
     /**
      * <p>
      * getIntValue

Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Fragment.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Fragment.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Fragment.java
(original)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Fragment.java
Fri Dec  2 15:46:35 2005
@@ -42,7 +42,7 @@
  *
  * @version $Id$
  */
-public interface Fragment extends BaseElement, Cloneable, java.io.Serializable
+public interface Fragment extends BaseElement, java.io.Serializable
 {
     /**
      * A fragment of type PORTLET is considered to be a compliant portlet
@@ -229,12 +229,6 @@
      */
     public boolean isReference();
 
-    /**
-     * Creates a clone of this object
-     */
-    public Object clone()
-        throws java.lang.CloneNotSupportedException;
-    
     /**
      * Get collection of fragment preference objects used
      * to initialize user preferences

Modified: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Page.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Page.java?rev=351852&r1=351851&r2=351852&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Page.java (original)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/om/page/Page.java Fri
Dec  2 15:46:35 2005
@@ -29,7 +29,7 @@
  *
  * @version $Id$
  */
-public interface Page extends Document, java.io.Serializable, Cloneable
+public interface Page extends Document, java.io.Serializable
 {
     String DOCUMENT_TYPE = ".psml";
     
@@ -103,11 +103,6 @@
      * @return the list of found Fragment objects or null if not found
      */
     List getFragmentsByName(String name);
-
-    /**
-     * Create a clone of this object
-     */
-    Object clone() throws java.lang.CloneNotSupportedException;
 
     /**
      * getMenuDefinitions - get list of menu definitions



---------------------------------------------------------------------
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