com.pdftron.collab.db.dao.AnnotationDao |
Data Access Object for the annotation table
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void | delete(String id) | ||||||||||
abstract void | deleteAll() | ||||||||||
abstract
|
getAnnotation(String id) | ||||||||||
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 | updateAuthorName(String authorId, String authorName) | ||||||||||
abstract void | updateReply(String id, String replyAuthor, String replyContents, Date replyDate) | ||||||||||
abstract void | updateReviewState(String id, int reviewState) | ||||||||||
abstract void | updateServerId(String id, String serverId) | ||||||||||
abstract void | updateUnreads(String id, String unreads, int count) |
Gets all annotations associated with a document
docId | the unique identifier of the document |
---|