Package org.europa.together.domain.acl
Class LoginDO
java.lang.Object
org.europa.together.domain.acl.LoginDO
- All Implemented Interfaces:
Serializable
LOGIN OBJECT. Store the Logins of an user (Account) for statistics. The
timestamp is stored in UTC format and need transformed to the client
timezone.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the used database table for this domain object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the Login of an Account.Get the Browser ID of the Account for this login.Get the IP Address of the Account for this login.getLogin()
Get the Date of this specific Login.Get the logout timestamp of a login object.Get the Operation System of the Account for this login.getUuid()
Get the UUID of an Login Object.int
hashCode()
void
setAccount
(AccountDO account) Create a login for an Account.void
setBrowserID
(String browserID) Set the Browser ID of the Account for this login.void
setIpAddress
(String ipAddress) Set the IP Address of the Account for this login.void
Set the Date for the login.void
Set the logout time for a login object.void
setOperationSystem
(String operationSystem) Set the Operation System of the Account for this login.void
Set the UUID of an Login Object.toString()
-
Field Details
-
TABLE_NAME
The name of the used database table for this domain object.- See Also:
-
-
Constructor Details
-
LoginDO
public LoginDO()Default Constructor. -
LoginDO
Constructor.- Parameters:
account
- as Account
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
toString
-
getUuid
Get the UUID of an Login Object. Primary Key.- Returns:
- uuid as String
-
setUuid
Set the UUID of an Login Object. Primary Key.- Parameters:
uuid
- as String
-
getAccount
Get the Login of an Account.- Returns:
- Account as Object
-
setAccount
Create a login for an Account.- Parameters:
account
- as Object
-
getLogin
Get the Date of this specific Login.- Returns:
- login as Timestamp
-
setLogin
Set the Date for the login.- Parameters:
login
- as Date
-
getIpAddress
Get the IP Address of the Account for this login.- Returns:
- ipAddress as String
-
setIpAddress
Set the IP Address of the Account for this login.- Parameters:
ipAddress
- as String
-
getBrowserID
Get the Browser ID of the Account for this login.- Returns:
- browserId as String
-
setBrowserID
Set the Browser ID of the Account for this login.- Parameters:
browserID
- as String
-
getOperationSystem
Get the Operation System of the Account for this login.- Returns:
- operationSystem as String
-
setOperationSystem
Set the Operation System of the Account for this login.- Parameters:
operationSystem
- as String
-
getLogout
Get the logout timestamp of a login object.- Returns:
- logout as Date
-
setLogout
Set the logout time for a login object.- Parameters:
logout
- as Date
-