public interface RepositoryAPI
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<okhttp3.ResponseBody> |
cancelWorkflowInstance(String workflowInstanceId) |
retrofit2.Call<Document> |
createDocumentById(String parentId,
Document document) |
retrofit2.Call<Document> |
createDocumentById(String parentId,
Document document,
String repositoryName) |
retrofit2.Call<Document> |
createDocumentByPath(String parentPath,
Document document) |
retrofit2.Call<Document> |
createDocumentByPath(String parentPath,
Document document,
String repositoryName) |
retrofit2.Call<Object> |
createForAdapter(String documentId,
String adapter,
String pathSuffix,
Map<String,Serializable> queryParams,
Object object) |
retrofit2.Call<Object> |
createForAdapter(String repositoryName,
String documentId,
String adapter,
String pathSuffix,
Map<String,Serializable> queryParams,
Object object) |
retrofit2.Call<okhttp3.ResponseBody> |
deleteDocument(String documentId) |
retrofit2.Call<okhttp3.ResponseBody> |
deleteDocument(String documentId,
String repositoryName) |
retrofit2.Call<okhttp3.ResponseBody> |
deleteForAdapter(String documentId,
String adapter,
String pathSuffix,
Map<String,Serializable> queryParams) |
retrofit2.Call<okhttp3.ResponseBody> |
deleteForAdapter(String repositoryName,
String documentId,
String adapter,
String pathSuffix,
Map<String,Serializable> queryParams) |
retrofit2.Call<Audit> |
fetchAuditById(String documentId) |
retrofit2.Call<Audit> |
fetchAuditById(String documentId,
String repositoryName) |
retrofit2.Call<Audit> |
fetchAuditByPath(String documentPath) |
retrofit2.Call<Audit> |
fetchAuditByPath(String documentPath,
String repositoryName) |
retrofit2.Call<FileBlob> |
fetchBlobById(String documentId,
String fieldPath)
Deprecated.
since 3.1
|
retrofit2.Call<FileBlob> |
fetchBlobById(String documentId,
String fieldPath,
String repositoryName)
Deprecated.
since 3.1
|
retrofit2.Call<FileBlob> |
fetchBlobByPath(String documentPath,
String fieldPath)
Deprecated.
since 3.1
|
retrofit2.Call<FileBlob> |
fetchBlobByPath(String documentPath,
String fieldPath,
String repositoryName)
Deprecated.
since 3.1
|
retrofit2.Call<Documents> |
fetchChildrenById(String parentId) |
retrofit2.Call<Documents> |
fetchChildrenById(String parentId,
String repositoryName) |
retrofit2.Call<Documents> |
fetchChildrenByPath(String parentPath) |
retrofit2.Call<Documents> |
fetchChildrenByPath(String parentPath,
String repositoryName) |
retrofit2.Call<Document> |
fetchDocumentById(String documentId) |
retrofit2.Call<Document> |
fetchDocumentById(String documentId,
String repositoryName) |
retrofit2.Call<Document> |
fetchDocumentByPath(String docPath) |
retrofit2.Call<Document> |
fetchDocumentByPath(String docPath,
String repositoryName) |
retrofit2.Call<Document> |
fetchDocumentRoot() |
retrofit2.Call<Document> |
fetchDocumentRoot(String repositoryName) |
retrofit2.Call<Object> |
fetchForAdapter(String documentId,
String adapter,
String pathSuffix,
Map<String,Serializable> queryParams) |
retrofit2.Call<Object> |
fetchForAdapter(String repositoryName,
String documentId,
String adapter,
String pathSuffix,
Map<String,Serializable> queryParams) |
retrofit2.Call<ACP> |
fetchPermissionsById(String documentId) |
retrofit2.Call<ACP> |
fetchPermissionsById(String documentId,
String repositoryName) |
retrofit2.Call<ACP> |
fetchPermissionsByPath(String documentPath) |
retrofit2.Call<ACP> |
fetchPermissionsByPath(String documentPath,
String repositoryName) |
retrofit2.Call<Workflow> |
fetchWorkflowInstance(String workflowInstanceId) |
retrofit2.Call<Graph> |
fetchWorkflowInstanceGraph(String workflowInstanceId) |
retrofit2.Call<Workflows> |
fetchWorkflowInstances(String documentId) |
retrofit2.Call<Workflows> |
fetchWorkflowInstances(String documentId,
String repositoryName) |
retrofit2.Call<Workflows> |
fetchWorkflowInstancesByDocPath(String documentPath) |
retrofit2.Call<Workflows> |
fetchWorkflowInstancesByDocPath(String documentPath,
String repositoryName) |
retrofit2.Call<Workflow> |
fetchWorkflowModel(String workflowModelName) |
retrofit2.Call<Graph> |
fetchWorkflowModelGraph(String workflowModelName) |
retrofit2.Call<Workflows> |
fetchWorkflowModels() |
retrofit2.Call<Documents> |
query(String query) |
retrofit2.Call<Documents> |
query(String query,
String pageSize,
String currentPageIndex,
String maxResults,
String sortBy,
String sortOrder,
String queryParams) |
retrofit2.Call<Documents> |
queryByProvider(String providerName,
String pageSize,
String currentPageIndex,
String maxResults,
String sortBy,
String sortOrder,
String queryParams) |
retrofit2.Call<Workflow> |
startWorkflowInstanceWithDocId(String documentId,
Workflow workflow) |
retrofit2.Call<Workflow> |
startWorkflowInstanceWithDocId(String documentId,
Workflow workflow,
String repositoryName) |
retrofit2.Call<Workflow> |
startWorkflowInstanceWithDocPath(String documentPath,
Workflow workflow) |
retrofit2.Call<Workflow> |
startWorkflowInstanceWithDocPath(String documentPath,
Workflow workflow,
String repositoryName) |
retrofit2.Call<StreamBlob> |
streamBlobById(String documentId,
String fieldPath) |
retrofit2.Call<StreamBlob> |
streamBlobById(String documentId,
String fieldPath,
String repositoryName) |
retrofit2.Call<StreamBlob> |
streamBlobByPath(String documentPath,
String fieldPath) |
retrofit2.Call<StreamBlob> |
streamBlobByPath(String documentPath,
String fieldPath,
String repositoryName) |
retrofit2.Call<Document> |
updateDocument(String documentId,
Document document) |
retrofit2.Call<Document> |
updateDocument(String documentId,
Document document,
String repositoryName) |
retrofit2.Call<Object> |
updateForAdapter(String documentId,
String adapter,
String pathSuffix,
Map<String,Serializable> queryParams,
Object object) |
retrofit2.Call<Object> |
updateForAdapter(String repositoryName,
String documentId,
String adapter,
String pathSuffix,
Map<String,Serializable> queryParams,
Object object) |
@GET(value="repo/{repositoryName}/path/")
retrofit2.Call<Document> fetchDocumentRoot(@Path(value="repositoryName")
String repositoryName)
@GET(value="path/") retrofit2.Call<Document> fetchDocumentRoot()
@GET(value="repo/{repositoryName}/id/{documentId}")
retrofit2.Call<Document> fetchDocumentById(@Path(value="documentId")
String documentId,
@Path(value="repositoryName")
String repositoryName)
@POST(value="repo/{repositoryName}/id/{parentId}")
retrofit2.Call<Document> createDocumentById(@Path(value="parentId")
String parentId,
@Body
Document document,
@Path(value="repositoryName")
String repositoryName)
@PUT(value="repo/{repositoryName}/id/{documentId}")
retrofit2.Call<Document> updateDocument(@Path(value="documentId")
String documentId,
@Body
Document document,
@Path(value="repositoryName")
String repositoryName)
@DELETE(value="repo/{repositoryName}/id/{documentId}")
retrofit2.Call<okhttp3.ResponseBody> deleteDocument(@Path(value="documentId")
String documentId,
@Path(value="repositoryName")
String repositoryName)
@GET(value="id/{documentId}")
retrofit2.Call<Document> fetchDocumentById(@Path(value="documentId")
String documentId)
@POST(value="id/{parentId}")
retrofit2.Call<Document> createDocumentById(@Path(value="parentId")
String parentId,
@Body
Document document)
@PUT(value="id/{documentId}")
retrofit2.Call<Document> updateDocument(@Path(value="documentId")
String documentId,
@Body
Document document)
@DELETE(value="id/{documentId}")
retrofit2.Call<okhttp3.ResponseBody> deleteDocument(@Path(value="documentId")
String documentId)
@GET(value="repo/{repositoryName}/path{docPath}")
retrofit2.Call<Document> fetchDocumentByPath(@Path(value="docPath",encoded=true)
String docPath,
@Path(value="repositoryName")
String repositoryName)
@POST(value="repo/{repositoryName}/path{parentPath}")
retrofit2.Call<Document> createDocumentByPath(@Path(value="parentPath")
String parentPath,
@Body
Document document,
@Path(value="repositoryName")
String repositoryName)
@GET(value="path{documentPath}")
retrofit2.Call<Document> fetchDocumentByPath(@Path(value="documentPath",encoded=true)
String docPath)
@POST(value="path{parentPath}")
retrofit2.Call<Document> createDocumentByPath(@Path(value="parentPath",encoded=true)
String parentPath,
@Body
Document document)
@GET(value="query") retrofit2.Call<Documents> query(@Query(value="query") String query, @Query(value="pageSize") String pageSize, @Query(value="currentPageIndex") String currentPageIndex, @Query(value="maxResults") String maxResults, @Query(value="sortBy") String sortBy, @Query(value="sortOrder") String sortOrder, @Query(value="queryParams") String queryParams)
@GET(value="query/{providerName}")
retrofit2.Call<Documents> queryByProvider(@Path(value="providerName")
String providerName,
@Query(value="pageSize")
String pageSize,
@Query(value="currentPageIndex")
String currentPageIndex,
@Query(value="maxResults")
String maxResults,
@Query(value="sortBy")
String sortBy,
@Query(value="sortOrder")
String sortOrder,
@Query(value="queryParams")
String queryParams)
@GET(value="path{documentPath}/@audit")
retrofit2.Call<Audit> fetchAuditByPath(@Path(value="documentPath",encoded=true)
String documentPath)
@GET(value="id/{documentId}/@audit")
retrofit2.Call<Audit> fetchAuditById(@Path(value="documentId")
String documentId)
@GET(value="repo/{repositoryName}/path{documentPath}/@audit")
retrofit2.Call<Audit> fetchAuditByPath(@Path(value="documentPath",encoded=true)
String documentPath,
@Path(value="repositoryName")
String repositoryName)
@GET(value="repo/{repositoryName}/id/{documentId}/@audit")
retrofit2.Call<Audit> fetchAuditById(@Path(value="documentId")
String documentId,
@Path(value="repositoryName")
String repositoryName)
@GET(value="path{documentPath}/@acl")
retrofit2.Call<ACP> fetchPermissionsByPath(@Path(value="documentPath",encoded=true)
String documentPath)
@GET(value="id/{documentId}/@acl")
retrofit2.Call<ACP> fetchPermissionsById(@Path(value="documentId")
String documentId)
@GET(value="repo/{repositoryName}/path{documentPath}/@acl")
retrofit2.Call<ACP> fetchPermissionsByPath(@Path(value="documentPath",encoded=true)
String documentPath,
@Path(value="repositoryName")
String repositoryName)
@GET(value="repo/{repositoryName}/id/{documentId}/@acl")
retrofit2.Call<ACP> fetchPermissionsById(@Path(value="documentId")
String documentId,
@Path(value="repositoryName")
String repositoryName)
@GET(value="path{parentPath}/@children")
retrofit2.Call<Documents> fetchChildrenByPath(@Path(value="parentPath",encoded=true)
String parentPath)
@GET(value="id/{parentId}/@children")
retrofit2.Call<Documents> fetchChildrenById(@Path(value="parentId")
String parentId)
@GET(value="repo/{repositoryName}/path{parentPath}/@children")
retrofit2.Call<Documents> fetchChildrenByPath(@Path(value="parentPath",encoded=true)
String parentPath,
@Path(value="repositoryName")
String repositoryName)
@GET(value="repo/{repositoryName}/id/{parentId}/@children")
retrofit2.Call<Documents> fetchChildrenById(@Path(value="parentId")
String parentId,
@Path(value="repositoryName")
String repositoryName)
@Deprecated @GET(value="path{documentPath}/@blob/{fieldPath}") retrofit2.Call<FileBlob> fetchBlobByPath(@Path(value="documentPath",encoded=true) String documentPath, @Path(value="fieldPath",encoded=true) String fieldPath)
@Deprecated @GET(value="id/{documentId}/@blob/{fieldPath}") retrofit2.Call<FileBlob> fetchBlobById(@Path(value="documentId") String documentId, @Path(value="fieldPath",encoded=true) String fieldPath)
@Deprecated @GET(value="repo/{repositoryName}/path{documentPath}/@blob/{fieldPath}") retrofit2.Call<FileBlob> fetchBlobByPath(@Path(value="documentPath",encoded=true) String documentPath, @Path(value="fieldPath",encoded=true) String fieldPath, @Path(value="repositoryName") String repositoryName)
@Deprecated @GET(value="repo/{repositoryName}/id/{documentId}/@blob/{fieldPath}") retrofit2.Call<FileBlob> fetchBlobById(@Path(value="documentId") String documentId, @Path(value="fieldPath",encoded=true) String fieldPath, @Path(value="repositoryName") String repositoryName)
@GET(value="path{documentPath}/@blob/{fieldPath}")
retrofit2.Call<StreamBlob> streamBlobByPath(@Path(value="documentPath",encoded=true)
String documentPath,
@Path(value="fieldPath",encoded=true)
String fieldPath)
@GET(value="id/{documentId}/@blob/{fieldPath}")
retrofit2.Call<StreamBlob> streamBlobById(@Path(value="documentId")
String documentId,
@Path(value="fieldPath",encoded=true)
String fieldPath)
@GET(value="repo/{repositoryName}/path{documentPath}/@blob/{fieldPath}")
retrofit2.Call<StreamBlob> streamBlobByPath(@Path(value="documentPath",encoded=true)
String documentPath,
@Path(value="fieldPath",encoded=true)
String fieldPath,
@Path(value="repositoryName")
String repositoryName)
@GET(value="repo/{repositoryName}/id/{documentId}/@blob/{fieldPath}")
retrofit2.Call<StreamBlob> streamBlobById(@Path(value="documentId")
String documentId,
@Path(value="fieldPath",encoded=true)
String fieldPath,
@Path(value="repositoryName")
String repositoryName)
@POST(value="id/{documentId}/@workflow")
retrofit2.Call<Workflow> startWorkflowInstanceWithDocId(@Path(value="documentId")
String documentId,
@Body
Workflow workflow)
@POST(value="repo/{repositoryName}/id/{documentId}/@workflow")
retrofit2.Call<Workflow> startWorkflowInstanceWithDocId(@Path(value="documentId")
String documentId,
@Body
Workflow workflow,
@Path(value="repositoryName")
String repositoryName)
@POST(value="path{documentPath}/@workflow")
retrofit2.Call<Workflow> startWorkflowInstanceWithDocPath(@Path(value="documentPath",encoded=true)
String documentPath,
@Body
Workflow workflow)
@POST(value="repo/{repositoryName}/path{documentPath}/@workflow")
retrofit2.Call<Workflow> startWorkflowInstanceWithDocPath(@Path(value="documentPath",encoded=true)
String documentPath,
@Body
Workflow workflow,
@Path(value="repositoryName")
String repositoryName)
@GET(value="id/{documentId}/@workflow")
retrofit2.Call<Workflows> fetchWorkflowInstances(@Path(value="documentId")
String documentId)
@GET(value="repo/{repositoryName}/id/{documentId}/@workflow")
retrofit2.Call<Workflows> fetchWorkflowInstances(@Path(value="documentId")
String documentId,
@Path(value="repositoryName")
String repositoryName)
@GET(value="path{documentPath}/@workflow")
retrofit2.Call<Workflows> fetchWorkflowInstancesByDocPath(@Path(value="documentPath",encoded=true)
String documentPath)
@GET(value="repo/{repositoryName}/id/{documentId}/@workflow")
retrofit2.Call<Workflows> fetchWorkflowInstancesByDocPath(@Path(value="documentPath")
String documentPath,
@Path(value="repositoryName")
String repositoryName)
@GET(value="workflow/{workflowInstanceId}")
retrofit2.Call<Workflow> fetchWorkflowInstance(@Path(value="workflowInstanceId")
String workflowInstanceId)
@DELETE(value="workflow/{workflowInstanceId}")
retrofit2.Call<okhttp3.ResponseBody> cancelWorkflowInstance(@Path(value="workflowInstanceId")
String workflowInstanceId)
@GET(value="workflow/{workflowInstanceId}/graph")
retrofit2.Call<Graph> fetchWorkflowInstanceGraph(@Path(value="workflowInstanceId")
String workflowInstanceId)
@GET(value="workflowModel/{workflowModelName}")
retrofit2.Call<Workflow> fetchWorkflowModel(@Path(value="workflowModelName")
String workflowModelName)
@GET(value="workflowModel/{workflowModelName}/graph")
retrofit2.Call<Graph> fetchWorkflowModelGraph(@Path(value="workflowModelName")
String workflowModelName)
@GET(value="workflowModel") retrofit2.Call<Workflows> fetchWorkflowModels()
@POST(value="id/{parentId}/@{adapter}/{pathSuffix}")
retrofit2.Call<Object> createForAdapter(@Path(value="parentId")
String documentId,
@Path(value="adapter")
String adapter,
@Path(value="pathSuffix",encoded=true)
String pathSuffix,
@QueryMap(encoded=true)
Map<String,Serializable> queryParams,
@Body
Object object)
@POST(value="repo/{repositoryName}/id/{parentId}/@{adapter}/{pathSuffix}")
retrofit2.Call<Object> createForAdapter(@Path(value="repositoryName")
String repositoryName,
@Path(value="parentId")
String documentId,
@Path(value="adapter")
String adapter,
@Path(value="pathSuffix",encoded=true)
String pathSuffix,
@QueryMap(encoded=true)
Map<String,Serializable> queryParams,
@Body
Object object)
@GET(value="id/{parentId}/@{adapter}/{pathSuffix}")
retrofit2.Call<Object> fetchForAdapter(@Path(value="parentId")
String documentId,
@Path(value="adapter")
String adapter,
@Path(value="pathSuffix",encoded=true)
String pathSuffix,
@QueryMap(encoded=true)
Map<String,Serializable> queryParams)
@GET(value="repo/{repositoryName}/id/{parentId}/@{adapter}/{pathSuffix}")
retrofit2.Call<Object> fetchForAdapter(@Path(value="repositoryName")
String repositoryName,
@Path(value="parentId")
String documentId,
@Path(value="adapter")
String adapter,
@Path(value="pathSuffix",encoded=true)
String pathSuffix,
@QueryMap(encoded=true)
Map<String,Serializable> queryParams)
@PUT(value="id/{parentId}/@{adapter}/{pathSuffix}")
retrofit2.Call<Object> updateForAdapter(@Path(value="parentId")
String documentId,
@Path(value="adapter")
String adapter,
@Path(value="pathSuffix",encoded=true)
String pathSuffix,
@QueryMap(encoded=true)
Map<String,Serializable> queryParams,
@Body
Object object)
@PUT(value="repo/{repositoryName}/id/{parentId}/@{adapter}/{pathSuffix}")
retrofit2.Call<Object> updateForAdapter(@Path(value="repositoryName")
String repositoryName,
@Path(value="parentId")
String documentId,
@Path(value="adapter")
String adapter,
@Path(value="pathSuffix",encoded=true)
String pathSuffix,
@QueryMap(encoded=true)
Map<String,Serializable> queryParams,
@Body
Object object)
@DELETE(value="id/{parentId}/@{adapter}/{pathSuffix}")
retrofit2.Call<okhttp3.ResponseBody> deleteForAdapter(@Path(value="parentId")
String documentId,
@Path(value="adapter")
String adapter,
@Path(value="pathSuffix",encoded=true)
String pathSuffix,
@QueryMap(encoded=true)
Map<String,Serializable> queryParams)
@DELETE(value="repo/{repositoryName}/id/{parentId}/@{adapter}/{pathSuffix}")
retrofit2.Call<okhttp3.ResponseBody> deleteForAdapter(@Path(value="repositoryName")
String repositoryName,
@Path(value="parentId")
String documentId,
@Path(value="adapter")
String adapter,
@Path(value="pathSuffix",encoded=true)
String pathSuffix,
@QueryMap(encoded=true)
Map<String,Serializable> queryParams)
Copyright © 2018 Nuxeo. All rights reserved.