public class CommentAdapter extends Document.AbstractAdapter<CommentAdapter>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
NAME |
adapter, documentId, repositoryNameapi, apiClass, nuxeoClientheaderInterceptors, headerValues, okhttpBuilder, retrofit, retrofitBuilder| Modifier | Constructor and Description |
|---|---|
|
CommentAdapter(Document document) |
protected |
CommentAdapter(NuxeoClient nuxeoClient,
String repositoryName,
String documentId) |
| Modifier and Type | Method and Description |
|---|---|
Comment |
create(Comment comment) |
Comment |
fetch(String commentId) |
Comment |
fetchByEntityId(String entityId) |
Comments |
list() |
Comments |
list(long pageSize,
long currentPageIndex) |
void |
remove(String commentId) |
void |
removeByEntityId(String entityId) |
CommentAdapter |
repliesAdapter(String parentId) |
Comment |
update(Comment comment) |
Comment |
update(String commentId,
Comment comment) |
Comment |
updateByEntityId(String entityId,
Comment comment) |
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, versionprotected static final String NAME
public CommentAdapter(Document document)
protected CommentAdapter(NuxeoClient nuxeoClient, String repositoryName, String documentId)
Copyright © 2018 Nuxeo. All rights reserved.