public class WebScriptPortletSession extends Object implements WebScriptSession
| Modifier and Type | Field and Description |
|---|---|
protected javax.portlet.PortletSession |
session |
| Constructor and Description |
|---|
WebScriptPortletSession(javax.portlet.PortletSession session)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the id of the session
|
Object |
getValue(String name)
Gets a value from the session
|
void |
removeValue(String name)
Remove value from the session
|
void |
setValue(String name,
Object value)
Sets a value in the session
|
public WebScriptPortletSession(javax.portlet.PortletSession session)
session - PortletSessionpublic String getId()
WebScriptSessiongetId in interface WebScriptSessionpublic Object getValue(String name)
WebScriptSessiongetValue in interface WebScriptSessionname - value namepublic void removeValue(String name)
WebScriptSessionremoveValue in interface WebScriptSessionname - value namepublic void setValue(String name, Object value)
WebScriptSessionsetValue in interface WebScriptSessionname - value namevalue - valueCopyright © 2005–2019 Alfresco Software. All rights reserved.