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:
  • Field Details

  • Constructor Details

    • Device

      public Device()
    • Device

      public Device(javax.servlet.http.HttpServletRequest request)
      Constructs a new Device inspecting the current request
      Parameters:
      request - the current request
  • Method Details

    • 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)
    • 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 class PersistentObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PersistentObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PersistentObject