org.springframework.extensions.webscripts
Class ScriptWebStudio

java.lang.Object
  extended by org.springframework.extensions.webscripts.ScriptWebStudio
All Implemented Interfaces:
Serializable

public final class ScriptWebStudio
extends Object
implements Serializable

Author:
muzquiano
See Also:
Serialized Form

Field Summary
protected  RequestContext context
           
protected  Map<String,Object> model
           
 
Constructor Summary
ScriptWebStudio(RequestContext context)
           
 
Method Summary
 String getCurrentSandboxId()
           
 String getCurrentStoreId()
           
 String getCurrentUserId()
           
 String getCurrentWebappId()
           
 String getCurrentWebProjectId()
           
protected  javax.servlet.http.HttpServletRequest getHttpServletRequest()
           
 ScriptImporter getImporter()
           
 Map<String,Object> getModel()
           
protected  WebStudioService getWebStudioService()
           
 boolean login(String username, String password)
           
 void setCurrentSandboxId(String sandboxId)
           
 void setCurrentStoreId(String storeId)
           
 void setCurrentUserId(String currentUserId)
           
 void setCurrentWebappId(String webappId)
           
 void setCurrentWebProjectId(String webProjectId)
           
 void setModel(Map<String,Object> model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected RequestContext context

model

protected Map<String,Object> model
Constructor Detail

ScriptWebStudio

public ScriptWebStudio(RequestContext context)
Method Detail

getWebStudioService

protected WebStudioService getWebStudioService()

getHttpServletRequest

protected javax.servlet.http.HttpServletRequest getHttpServletRequest()

getCurrentWebProjectId

public String getCurrentWebProjectId()

setCurrentWebProjectId

public void setCurrentWebProjectId(String webProjectId)

getCurrentSandboxId

public String getCurrentSandboxId()

setCurrentSandboxId

public void setCurrentSandboxId(String sandboxId)

getCurrentStoreId

public String getCurrentStoreId()

setCurrentStoreId

public void setCurrentStoreId(String storeId)

getCurrentWebappId

public String getCurrentWebappId()

setCurrentWebappId

public void setCurrentWebappId(String webappId)

getCurrentUserId

public String getCurrentUserId()

setCurrentUserId

public void setCurrentUserId(String currentUserId)

setModel

public void setModel(Map<String,Object> model)

getModel

public Map<String,Object> getModel()

login

public boolean login(String username,
                     String password)
              throws Exception
Throws:
Exception

getImporter

public ScriptImporter getImporter()


Copyright © 2009 SpringSource, Inc. All Rights Reserved.