public interface

UserDao

com.pdftron.collab.db.dao.UserDao

Class Overview

Data Access Object for the user table

Summary

Public Methods
abstract void deleteAll()
abstract getCurrentUser()
Gets current user
abstract UserEntity getCurrentUserSync()
abstract UserEntity getUserSync(String id)
abstract void insert(UserEntity userEntity)
abstract void update(String id, String activeAnnotation)
abstract void updateIsCurrentUser(String id, boolean isCurrentUser)

Public Methods

public abstract void deleteAll ()

public abstract getCurrentUser ()

Gets current user

Returns
  • the user

public abstract UserEntity getCurrentUserSync ()

public abstract UserEntity getUserSync (String id)

public abstract void insert (UserEntity userEntity)

public abstract void update (String id, String activeAnnotation)

public abstract void updateIsCurrentUser (String id, boolean isCurrentUser)