public interface

AnnotationDao

com.pdftron.collab.db.dao.AnnotationDao

Class Overview

Data Access Object for the annotation table

Summary

Public Methods
abstract void delete(String id)
abstract void deleteAll()
abstract AnnotationEntity getAnnotationSync(String id)
abstract getAnnotations(String docId)
Gets all annotations associated with a document
abstract List<AnnotationEntity> getAnnotationsSync(String docId)
abstract void insert(AnnotationEntity annotationEntity)
abstract void insertAnnotations(List<AnnotationEntity> annotationEntities)
abstract void resetUnreadCount(String id)
abstract void update(String id, String xfdf, String action, String contents, double yPos, int color, float opacity, Date date)
abstract void updateReply(String id, String replyAuthor, String replyContents, Date replyDate)
abstract void updateReviewState(String id, int reviewState)
abstract void updateUnreads(String id, String unreads, int count)

Public Methods

public abstract void delete (String id)

public abstract void deleteAll ()

public abstract AnnotationEntity getAnnotationSync (String id)

public abstract getAnnotations (String docId)

Gets all annotations associated with a document

Parameters
docId the unique identifier of the document
Returns
  • the annotations

public abstract List<AnnotationEntity> getAnnotationsSync (String docId)

public abstract void insert (AnnotationEntity annotationEntity)

public abstract void insertAnnotations (List<AnnotationEntity> annotationEntities)

public abstract void resetUnreadCount (String id)

public abstract void update (String id, String xfdf, String action, String contents, double yPos, int color, float opacity, Date date)

public abstract void updateReply (String id, String replyAuthor, String replyContents, Date replyDate)

public abstract void updateReviewState (String id, int reviewState)

public abstract void updateUnreads (String id, String unreads, int count)