public class

UserEntity

extends Object
implements User
java.lang.Object
   ↳ com.pdftron.collab.db.entity.UserEntity

Class Overview

Immutable model class for a user

Summary

Public Constructors
UserEntity(String id, String name, Long date, String activeAnnotation)
Public Methods
String getActiveAnnotation()
Gets the annotation id the user is currently reading
Long getDate()
String getId()
Gets the unique identifier of the user
String getName()
Gets the name of the user
boolean isCurrentUser()
void setIsCurrentUser(boolean isCurrentUser)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pdftron.collab.model.User

Public Constructors

public UserEntity (String id, String name, Long date, String activeAnnotation)

Public Methods

public String getActiveAnnotation ()

Gets the annotation id the user is currently reading

public Long getDate ()

public String getId ()

Gets the unique identifier of the user

public String getName ()

Gets the name of the user

public boolean isCurrentUser ()

public void setIsCurrentUser (boolean isCurrentUser)