[portal-commits] JBoss Portal SVN: r9100 - in branches/presentation/presentation/src/main/org/jboss/portal/presentation: model and 1 other directory.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Mon Nov 26 06:06:28 EST 2007


Author: julien at jboss.com
Date: 2007-11-26 06:06:27 -0500 (Mon, 26 Nov 2007)
New Revision: 9100

Added:
   branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/StateScopeType.java
Modified:
   branches/presentation/presentation/src/main/org/jboss/portal/presentation/impl/model/UIObjectImpl.java
   branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIObject.java
Log:
minor rename

Modified: branches/presentation/presentation/src/main/org/jboss/portal/presentation/impl/model/UIObjectImpl.java
===================================================================
--- branches/presentation/presentation/src/main/org/jboss/portal/presentation/impl/model/UIObjectImpl.java	2007-11-26 10:58:55 UTC (rev 9099)
+++ branches/presentation/presentation/src/main/org/jboss/portal/presentation/impl/model/UIObjectImpl.java	2007-11-26 11:06:27 UTC (rev 9100)
@@ -23,7 +23,7 @@
 package org.jboss.portal.presentation.impl.model;
 
 import org.jboss.portal.common.NotYetImplemented;
-import org.jboss.portal.presentation.model.StateScope;
+import org.jboss.portal.presentation.model.StateScopeType;
 import org.jboss.portal.presentation.model.UIObject;
 import org.jboss.portal.presentation.model.state.ObjectState;
 
@@ -103,7 +103,7 @@
       return this.id;
    }
 
-   public String getProperty(StateScope scope, String propertyName)
+   public String getProperty(StateScopeType scopeType, String propertyName)
    {
       throw new NotYetImplemented("Just a place holder for now");
    }

Copied: branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/StateScopeType.java (from rev 9090, branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/StateScope.java)
===================================================================
--- branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/StateScopeType.java	                        (rev 0)
+++ branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/StateScopeType.java	2007-11-26 11:06:27 UTC (rev 9100)
@@ -0,0 +1,45 @@
+/******************************************************************************
+ * JBoss, a division of Red Hat                                               *
+ * Copyright 2006, Red Hat Middleware, LLC, and individual                    *
+ * contributors as indicated by the @authors tag. See the                     *
+ * copyright.txt in the distribution for a full listing of                    *
+ * individual contributors.                                                   *
+ *                                                                            *
+ * This is free software; you can redistribute it and/or modify it            *
+ * under the terms of the GNU Lesser General Public License as                *
+ * published by the Free Software Foundation; either version 2.1 of           *
+ * the License, or (at your option) any later version.                        *
+ *                                                                            *
+ * This software is distributed in the hope that it will be useful,           *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU           *
+ * Lesser General Public License for more details.                            *
+ *                                                                            *
+ * You should have received a copy of the GNU Lesser General Public           *
+ * License along with this software; if not, write to the Free                *
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA         *
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.                   *
+ ******************************************************************************/
+package org.jboss.portal.presentation.model;
+
+/**
+ * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public enum StateScopeType
+{
+   /**
+    * The content scope. 
+    */
+   CONTENT,
+
+   /**
+    * The navigational scope.
+    */
+   NAVIGATIONAL,
+
+   /**
+    * The server scope.
+    */
+   SERVER
+}

Modified: branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIObject.java
===================================================================
--- branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIObject.java	2007-11-26 10:58:55 UTC (rev 9099)
+++ branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIObject.java	2007-11-26 11:06:27 UTC (rev 9100)
@@ -51,7 +51,7 @@
    UIObject getChild(String name);
 
 
-   String getProperty(StateScope scope, String propertyName);
+   String getProperty(StateScopeType scopeType, String propertyName);
 
    /**
     * Create a child with a specified type.




More information about the portal-commits mailing list