K - the type of keys maintained by the attribute mapV - the type of mapped values *public interface Session<K,V> extends Serializable
Session.| Modifier and Type | Method and Description |
|---|---|
V |
getAttributte(K key)
Gets the attributte.
|
Map<K,V> |
getAttributtes()
Returns the field
attributtes. |
String |
getId()
Returns the field
id. |
Date |
getLastAccess()
Returns the field
lastAccess. |
Locale |
getLocale()
Returns the field
locale. |
int |
getMaxInactiveTime()
Returns the field
maxInactiveTime. |
Date |
getStartTime()
Returns the field
startTime. |
User<Permission,Role<Permission>> |
getUser()
Returns the field
user. |
V |
setAttribute(K key,
V value)
Sets the attribute.
|
void |
setAttributtes(Map<K,V> attributtes)
Sets the field
attributtes. |
void |
setId(String id)
Sets the field
id. |
void |
setLastAccess(Date lastAccess)
Sets the field
lastAccess. |
void |
setLocale(Locale locale)
Sets the field
locale. |
void |
setMaxInactiveTime(int maxInactiveTime)
Sets the field
maxInactiveTime. |
void |
setStartTime(Date startTime)
Sets the field
startTime. |
void |
setUser(User<Permission,Role<Permission>> user)
Sets the field
user. |
V getAttributte(K key)
key - the keyMap<K,V> getAttributtes()
attributtes.attributtes.String getId()
id.id.Date getLastAccess()
lastAccess.lastAccess.Locale getLocale()
locale.locale.int getMaxInactiveTime()
maxInactiveTime.maxInactiveTime.Date getStartTime()
startTime.startTime.User<Permission,Role<Permission>> getUser()
user.user.V setAttribute(K key, V value)
key - the keyvalue - the valuevoid setAttributtes(Map<K,V> attributtes)
attributtes.attributtes - The attributtes to setvoid setId(String id)
id.id - The id to setvoid setLastAccess(Date lastAccess)
lastAccess.lastAccess - The lastAccess to setvoid setLocale(Locale locale)
locale.locale - The locale to setvoid setMaxInactiveTime(int maxInactiveTime)
maxInactiveTime.maxInactiveTime - The maxInactiveTime to setvoid setStartTime(Date startTime)
startTime.startTime - The startTime to setvoid setUser(User<Permission,Role<Permission>> user)
user.user - The user to set.Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.