public class PortletSession
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Get the value of a given attribute.
|
java.util.Map |
getAttributes()
Get all the attributes as a map.
|
boolean |
getNew()
Determine whether the current portlet is newly created.
|
java.lang.Object |
removeAttribute(java.lang.String name)
Remove a given attribute.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Set the value of a given attribute.
|
public void setAttribute(java.lang.String name, java.lang.Object value)
name
- The name under which to store the value.value
- The value to store under the name.public java.lang.Object getAttribute(java.lang.String name)
name
- The name of the attribute to get.public java.lang.Object removeAttribute(java.lang.String name)
name
- The name of the attribute to remove.public java.util.Map getAttributes()
public boolean getNew()
true
if it is, false
if not.Copyright © 2003-2023 Appian Corporation. All Rights Reserved.