Package com.logicaldoc.core.security
Class Device
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.security.Device
-
- All Implemented Interfaces:
Serializable
public class Device extends PersistentObject implements Serializable
Represents a device with wich a user connects to the platform- Since:
- 8.5.3
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_DEVICE
-
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getBrowser()
String
getBrowserVersion()
Date
getCreation()
String
getDeviceId()
String
getIp()
String
getLabel()
Date
getLastLogin()
String
getOperativeSystem()
int
getTrusted()
String
getType()
long
getUserId()
String
getUsername()
int
hashCode()
void
setBrowser(String browser)
void
setBrowserVersion(String browserVersion)
void
setCreation(Date creation)
void
setDeviceId(String deviceId)
void
setIp(String ip)
void
setLabel(String label)
void
setLastLogin(Date lastLogin)
void
setOperativeSystem(String operativeSystem)
void
setTrusted(int trusted)
void
setType(String type)
void
setUserId(long userId)
void
setUsername(String username)
String
toString()
-
Methods inherited from class com.logicaldoc.core.PersistentObject
getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
-
-
-
Field Detail
-
PARAM_DEVICE
public static final String PARAM_DEVICE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBrowser
public String getBrowser()
-
setBrowser
public void setBrowser(String browser)
-
getBrowserVersion
public String getBrowserVersion()
-
setBrowserVersion
public void setBrowserVersion(String browserVersion)
-
getOperativeSystem
public String getOperativeSystem()
-
setOperativeSystem
public void setOperativeSystem(String operativeSystem)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getCreation
public Date getCreation()
-
setCreation
public void setCreation(Date creation)
-
getLastLogin
public Date getLastLogin()
-
setLastLogin
public void setLastLogin(Date lastLogin)
-
getUserId
public long getUserId()
-
setUserId
public void setUserId(long userId)
-
getDeviceId
public String getDeviceId()
-
setDeviceId
public void setDeviceId(String deviceId)
-
getTrusted
public int getTrusted()
-
setTrusted
public void setTrusted(int trusted)
-
getIp
public String getIp()
-
setIp
public void setIp(String ip)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
toString
public String toString()
- Overrides:
toString
in classPersistentObject
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classPersistentObject
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPersistentObject
-
-