org.springframework.extensions.surf.studio
Class WebStudioStateBean

java.lang.Object
  extended by org.springframework.extensions.surf.studio.WebStudioStateBean
All Implemented Interfaces:
Serializable

public class WebStudioStateBean
extends Object
implements Serializable

Manages client side state for the Web Studio application

Author:
muzquiano
See Also:
Serialized Form

Field Summary
protected  HashMap<String,AppletStateBean> applets
           
protected  HashMap<String,ApplicationStateBean> applications
           
 
Constructor Summary
WebStudioStateBean()
           
 
Method Summary
 String[] getAppletIds()
          Returns an array of applet ids for Web Studio
 AppletStateBean getAppletState(String id)
          Retrives the applet state for a given applet id
 String[] getApplicationIds()
          Returns an array of application ids for Web Studio
 ApplicationStateBean getApplicationState(String id)
          Retrieves the application state for a given application id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applications

protected HashMap<String,ApplicationStateBean> applications

applets

protected HashMap<String,AppletStateBean> applets
Constructor Detail

WebStudioStateBean

public WebStudioStateBean()
Method Detail

getApplicationIds

public String[] getApplicationIds()
Returns an array of application ids for Web Studio

Returns:
array of ids

getApplicationState

public ApplicationStateBean getApplicationState(String id)
Retrieves the application state for a given application id

Parameters:
id -
Returns:
application state

getAppletIds

public String[] getAppletIds()
Returns an array of applet ids for Web Studio

Returns:
array of ids

getAppletState

public AppletStateBean getAppletState(String id)
Retrives the applet state for a given applet id

Parameters:
id -
Returns:
applet state


Copyright © 2009 SpringSource, Inc. All Rights Reserved.