Package | Description |
---|---|
org.gatein.api.common | |
org.gatein.api.site |
Modifier and Type | Method and Description |
---|---|
static <T> Attributes.Key<T> |
Attributes.key(String name,
Class<T> type)
Creates a key with the specified name and type.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Attributes.get(Attributes.Key<T> key)
Returns the value to the which the specified key name is mapped.
|
<T> T |
Attributes.put(Attributes.Key<T> key,
T value)
Converts the value into a String using the
toString method |
<T> T |
Attributes.remove(Attributes.Key<T> key)
Removes the attribute that is mapped to the specified key name
|
Modifier and Type | Field and Description |
---|---|
static Attributes.Key<String> |
Site.AttributeKeys.SESSION_BEHAVIOR
The site attribute that sets if a session is kept alive or not.
|
static Attributes.Key<Boolean> |
Site.AttributeKeys.SHOW_PORTLET_INFO_BAR
The site attribute that sets if the info bar is shown by default when adding applications to pages, default 'false'
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.