|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.common.impl.BaseEntity com.hack23.cia.model.application.impl.common.UserSession
@Entity public class UserSession
The Class UserSession.
Constructor Summary | |
---|---|
UserSession()
Instantiates a new user session. |
|
UserSession(User user,
Language language,
Portal portal,
String sessionId,
String clientHost,
String serverHost,
Date createdAt,
String userAgent)
Instantiates a new user session. |
Method Summary | |
---|---|
boolean |
getActive()
Gets the active. |
String |
getClientHost()
Gets the client host. |
Date |
getCreatedAt()
Gets the created at. |
Date |
getEndedAt()
Gets the ended at. |
List<AbstractActionEvent> |
getEvents()
Gets the events. |
Long |
getId()
/* (non-Javadoc) |
Language |
getLanguage()
Gets the language. |
Portal |
getPortal()
Gets the portal. |
ResourceType |
getResourceType()
Gets the resource type. |
String |
getServerHost()
Gets the server host. |
String |
getSessionId()
Gets the session id. |
User |
getUser()
Gets the user. |
String |
getUserAgent()
Gets the user agent. |
Long |
getVersion()
Gets the version. |
void |
setActive(boolean active)
Sets the active. |
void |
setClientHost(String clientHost)
Sets the client host. |
void |
setCreatedAt(Date createdAt)
Sets the created at. |
void |
setEndedAt(Date endedAt)
Sets the ended at. |
void |
setEvents(List<AbstractActionEvent> events)
Sets the events. |
void |
setId(Long id)
Sets the id. |
void |
setLanguage(Language language)
Sets the language. |
void |
setPortal(Portal portal)
Sets the portal. |
void |
setResourceType(ResourceType resourceType)
Sets the resource type. |
void |
setServerHost(String serverHost)
Sets the server host. |
void |
setSessionId(String sessionId)
Sets the session id. |
void |
setUser(User user)
Sets the user. |
void |
setUserAgent(String userAgent)
Sets the user agent. |
void |
setVersion(Long version)
Sets the version. |
Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
---|
equals, hashCode, isNew |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject |
---|
isNew |
Constructor Detail |
---|
public UserSession()
public UserSession(User user, Language language, Portal portal, String sessionId, String clientHost, String serverHost, Date createdAt, String userAgent)
user
- the userlanguage
- the languageportal
- the portalsessionId
- the session idclientHost
- the client hostserverHost
- the server hostcreatedAt
- the created atuserAgent
- the user agentMethod Detail |
---|
public boolean getActive()
public String getClientHost()
public Date getCreatedAt()
public Date getEndedAt()
public List<AbstractActionEvent> getEvents()
public Long getId()
getId
in interface PersistedModelObject
getId
in class BaseEntity
org.directdemocracyportal.democracy.model.core.BaseEntity#getId()
public Language getLanguage()
public Portal getPortal()
public ResourceType getResourceType()
Resource
getResourceType
in interface Resource
public String getServerHost()
public String getSessionId()
public User getUser()
public String getUserAgent()
public Long getVersion()
BaseEntity
getVersion
in interface PersistedModelObject
getVersion
in class BaseEntity
public void setActive(boolean active)
active
- the new activepublic void setClientHost(String clientHost)
clientHost
- the new client hostpublic void setCreatedAt(Date createdAt)
createdAt
- the new created atpublic void setEndedAt(Date endedAt)
endedAt
- the new ended atpublic void setEvents(List<AbstractActionEvent> events)
events
- the new eventspublic void setId(Long id)
PersistedModelObject
setId
in interface PersistedModelObject
id
- the new idpublic void setLanguage(Language language)
language
- the new languagepublic void setPortal(Portal portal)
portal
- the new portalpublic void setResourceType(ResourceType resourceType)
Resource
setResourceType
in interface Resource
resourceType
- the new resource typepublic void setServerHost(String serverHost)
serverHost
- the new server hostpublic void setSessionId(String sessionId)
sessionId
- the new session idpublic void setUser(User user)
user
- the new userpublic void setUserAgent(String userAgent)
userAgent
- the new user agentpublic void setVersion(Long version)
PersistedModelObject
setVersion
in interface PersistedModelObject
version
- the new version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |