Package org.sakaiproject.portal.api
Interface StoredState
-
public interface StoredStateStored state is used to store the request state over a number of requests, It is used to restore state over a login sequence of during a direct placement into a tool state.- Since:
- Sakai 2.4
- Version:
- $Rev$
- Author:
- ieb
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlacementgetPlacement()Get the placement of the stored stateHttpServletRequestgetRequest(HttpServletRequest req)Get the request of the stored stateStringgetSkin()Get the skin associated with the stored stateStringgetToolContextPath()Get the Tool Context Path that the state was stored againstStringgetToolPathInfo()Get the Path info to the target toolvoidsetPlacement(Placement siteTool)set the placementvoidsetRequest(HttpServletRequest req)Set the request in the stored statevoidsetSkin(String skin)set the skinvoidsetToolContextPath(String toolContextPath)set the tool contextvoidsetToolPathInfo(String toolPathInfo)set the tool path info
-
-
-
Method Detail
-
getToolContextPath
String getToolContextPath()
Get the Tool Context Path that the state was stored against- Returns:
-
getRequest
HttpServletRequest getRequest(HttpServletRequest req)
Get the request of the stored state- Parameters:
req-- Returns:
-
getPlacement
Placement getPlacement()
Get the placement of the stored state- Returns:
-
getToolPathInfo
String getToolPathInfo()
Get the Path info to the target tool- Returns:
-
getSkin
String getSkin()
Get the skin associated with the stored state- Returns:
-
setRequest
void setRequest(HttpServletRequest req)
Set the request in the stored state- Parameters:
req-
-
setPlacement
void setPlacement(Placement siteTool)
set the placement- Parameters:
siteTool-
-
setToolContextPath
void setToolContextPath(String toolContextPath)
set the tool context- Parameters:
toolContextPath-
-
setToolPathInfo
void setToolPathInfo(String toolPathInfo)
set the tool path info- Parameters:
toolPathInfo-
-
setSkin
void setSkin(String skin)
set the skin- Parameters:
skin-
-
-