Author: julien(a)jboss.com
Date: 2007-11-13 16:47:48 -0500 (Tue, 13 Nov 2007)
New Revision: 8913
Modified:
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/server/ModelLoader.java
Log:
update of model loader.
Modified:
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
19:30:14 UTC (rev 8912)
+++
branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/server/ModelLoader.java 2007-11-13
21:47:48 UTC (rev 8913)
@@ -22,7 +22,8 @@
******************************************************************************/
package org.jboss.portal.presentation.server;
-import org.jboss.portal.presentation.model2.UIObject;
+import java.util.Map;
+import java.util.List;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
@@ -31,8 +32,10 @@
public interface ModelLoader
{
- void loadState(UIObject object);
+ Map<String, String> loadState(String objectId);
- void loadChildren(UIObject object);
+ List<String> loadChildren(String objectId);
+ String loadParent(String objectId);
+
}