public class AnnotationAdapter extends Document.AbstractAdapter<AnnotationAdapter>
adapter, documentId, repositoryNameapi, apiClass, nuxeoClientheaderInterceptors, headerValues, okhttpBuilder, retrofit, retrofitBuilder| Constructor and Description |
|---|
AnnotationAdapter(Document document) |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
create(Annotation annotation) |
Annotation |
fetch(String annotationId) |
Annotation |
fetchByEntityId(String entityId) |
Comments |
fetchComments(List<String> annotationIds) |
Annotations |
list()
Fetches annotations for
Document.DEFAULT_FILE_CONTENT blob. |
Annotations |
list(String xpath) |
void |
remove(String annotationId) |
void |
removeByEntityId(String entityId) |
CommentAdapter |
repliesAdapter(String commentId) |
Annotation |
update(Annotation annotation) |
Annotation |
update(String annotationId,
Annotation annotation) |
Annotation |
updateByEntityId(String entityId,
Annotation annotation) |
delete, delete, delete, delete, get, get, get, get, getDocumentId, post, post, post, post, put, put, put, putbuildRetrofit, fetchResponse, fetchResponse, reconnectWithconnectTimeout, depth, enrichers, enrichers, enrichersForDocument, fetchProperties, fetchProperties, fetchPropertiesForDocument, fetchPropertiesForGroup, header, header, header, header, header, header, header, readTimeout, replaceWith, schemas, schemas, timeout, transactionTimeout, versionpublic AnnotationAdapter(Document document)
public Annotation create(Annotation annotation)
public Annotations list()
Document.DEFAULT_FILE_CONTENT blob.public Annotations list(String xpath)
public Annotation fetch(String annotationId)
public Annotation fetchByEntityId(String entityId)
public Annotation update(Annotation annotation)
public Annotation update(String annotationId, Annotation annotation)
public Annotation updateByEntityId(String entityId, Annotation annotation)
public void remove(String annotationId)
public void removeByEntityId(String entityId)
public CommentAdapter repliesAdapter(String commentId)
Copyright © 2018 Nuxeo. All rights reserved.