|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jaulp.auth.UserSession
public class UserSession
The Class UserSession.
Constructor Summary | |
---|---|
UserSession(User user)
Default constructor. |
Method Summary | |
---|---|
java.util.Map |
getAttributtes()
Returns the field attributtes . |
java.lang.String |
getId()
Returns the field id . |
java.util.Date |
getLastAccess()
Returns the field lastAccess . |
java.util.Locale |
getLocale()
Returns the field locale . |
int |
getMaxInactiveTime()
Returns the field maxInactiveTime . |
java.util.Date |
getStartTime()
Returns the field startTime . |
User |
getUser()
Returns the field user . |
void |
setAttributtes(java.util.Map attributtes)
Sets the field attributtes . |
void |
setId(java.lang.String id)
Sets the field id . |
void |
setLastAccess(java.util.Date lastAccess)
Sets the field lastAccess . |
void |
setLocale(java.util.Locale locale)
Sets the field locale . |
void |
setMaxInactiveTime(int maxInactiveTime)
Sets the field maxInactiveTime . |
void |
setStartTime(java.util.Date startTime)
Sets the field startTime . |
void |
setUser(User user)
Sets the field user . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserSession(User user)
user
- The userMethod Detail |
---|
public java.util.Map getAttributtes()
attributtes
.
getAttributtes
in interface Session
attributtes
.Session.getAttributtes()
public java.lang.String getId()
id
.
getId
in interface Session
id
.Session.getId()
public java.util.Date getLastAccess()
lastAccess
.
getLastAccess
in interface Session
lastAccess
.Session.getLastAccess()
public java.util.Locale getLocale()
locale
.
getLocale
in interface Session
locale
.Session.getLocale()
public int getMaxInactiveTime()
maxInactiveTime
.
getMaxInactiveTime
in interface Session
maxInactiveTime
.Session.getMaxInactiveTime()
public java.util.Date getStartTime()
startTime
.
getStartTime
in interface Session
startTime
.Session.getStartTime()
public User getUser()
user
.
getUser
in interface Session
user
.Session.getUser()
public void setAttributtes(java.util.Map attributtes)
attributtes
.
setAttributtes
in interface Session
attributtes
- The attributtes
to setSession.setAttributtes(java.util.Map)
public void setId(java.lang.String id)
id
.
setId
in interface Session
id
- The id
to setSession.setId(java.lang.String)
public void setLastAccess(java.util.Date lastAccess)
lastAccess
.
setLastAccess
in interface Session
lastAccess
- The lastAccess
to setSession.setLastAccess(java.util.Date)
public void setLocale(java.util.Locale locale)
locale
.
setLocale
in interface Session
locale
- The locale
to setSession.setLocale(java.util.Locale)
public void setMaxInactiveTime(int maxInactiveTime)
maxInactiveTime
.
setMaxInactiveTime
in interface Session
maxInactiveTime
- The maxInactiveTime
to setSession.setMaxInactiveTime(int)
public void setStartTime(java.util.Date startTime)
startTime
.
setStartTime
in interface Session
startTime
- The startTime
to setSession.setStartTime(java.util.Date)
public void setUser(User user)
user
.
setUser
in interface Session
user
- The user
to set.Session.setUser(net.sourceforge.jaulp.auth.interfaces.User)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |