Package mc.core.model.system
Class CSUserSession
java.lang.Object
mc.core.model.system.CSUserSession
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity
Entity representing a user session. Contains login, date created, namespace and licence key. Date of last access is
refreshed periodically as long as the user is active to prevent timeout. Timed out CSUserSessions are removed from
database by maintenance job.
CS = control station, these objects always go to the default persistence unit
CS = control station, these objects always go to the default persistence unit
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetId()getLogin()booleaninthashCode()voidsetCreated(Calendar created) voidsetId(long id) voidsetLastAccess(Calendar lastAccess) voidsetLicenceKey(String licenceKey) voidvoidsetNamespace(String namespace) voidsetUseLicence(boolean useLicence) toString()
-
Constructor Details
-
CSUserSession
public CSUserSession()
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getCreated
-
setCreated
-
getLastAccess
-
setLastAccess
-
getLicenceKey
-
setLicenceKey
-
getLogin
-
setLogin
-
getUseLicence
public boolean getUseLicence() -
setUseLicence
public void setUseLicence(boolean useLicence) -
getNamespace
-
setNamespace
-
equals
-
hashCode
public int hashCode() -
toString
-