Author: julien(a)jboss.com
Date: 2007-11-13 17:06:10 -0500 (Tue, 13 Nov 2007)
New Revision: 8915
Added:
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state/ModelLoader.java
Removed:
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/server/ModelLoader.java
Modified:
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/RequestContext.java
Log:
moved model loader in a more convenient place
Modified:
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/RequestContext.java
===================================================================
---
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/RequestContext.java 2007-11-13
21:53:52 UTC (rev 8914)
+++
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/RequestContext.java 2007-11-13
22:06:10 UTC (rev 8915)
@@ -24,7 +24,7 @@
import org.jboss.portal.presentation.action.server.ServerAction;
import org.jboss.portal.presentation.model2.UIContext;
-import org.jboss.portal.presentation.server.ModelLoader;
+import org.jboss.portal.presentation.model2.state.ModelLoader;
/**
* The contract that defines the services that the client provides to the server during a
server invocation.
Copied:
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state/ModelLoader.java
(from rev 8914,
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/server/ModelLoader.java)
===================================================================
---
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state/ModelLoader.java
(rev 0)
+++
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/model2/state/ModelLoader.java 2007-11-13
22:06:10 UTC (rev 8915)
@@ -0,0 +1,43 @@
+/******************************************************************************
+ * 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.model2.state;
+
+import org.jboss.portal.presentation.model2.state.ObjectState;
+
+/**
+ * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
+ * @version $Revision: 1.1 $
+ */
+public interface ModelLoader
+{
+
+ /**
+ * Load the state of a specified object.
+ *
+ * @param objectId the object id
+ * @return the state of the object or null if such state does not exist
+ * @throws IllegalArgumentException if the object id argument is null
+ */
+ ObjectState loadState(String objectId) throws IllegalArgumentException;
+
+}
Deleted:
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/server/ModelLoader.java
===================================================================
---
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/server/ModelLoader.java 2007-11-13
21:53:52 UTC (rev 8914)
+++
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/server/ModelLoader.java 2007-11-13
22:06:10 UTC (rev 8915)
@@ -1,43 +0,0 @@
-/******************************************************************************
- * 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.server;
-
-import org.jboss.portal.presentation.model2.state.ObjectState;
-
-/**
- * @author <a href="mailto:julien@jboss.org">Julien Viet</a>
- * @version $Revision: 1.1 $
- */
-public interface ModelLoader
-{
-
- /**
- * Load the state of a specified object.
- *
- * @param objectId the object id
- * @return the state of the object or null if such state does not exist
- * @throws IllegalArgumentException if the object id argument is null
- */
- ObjectState loadState(String objectId) throws IllegalArgumentException;
-
-}