public interface DocumentManager
Modifier and Type | Method and Description |
---|---|
void |
addResourceId(RequestDocument requestDocument,
ResponseDocument respDoc) |
ResponseDocument |
bind(RequestDocument requestDocument,
Object object,
String operation) |
ResponseDocument |
buildResponseDocument(RequestDocument requestDocument) |
void |
bulkIngest(BulkProcessRequest bulkProcessRequest,
List<RequestDocument> requestDocuments)
Performs bulk ingest as per the details in the given bulkProcessRequest.
|
List<ResponseDocument> |
checkin(List<RequestDocument> requestDocuments,
Object object) |
ResponseDocument |
checkin(RequestDocument requestDocument,
Object object,
ResponseDocument respDoc) |
List<ResponseDocument> |
checkout(List<RequestDocument> requestDocuments,
Object object) |
ResponseDocument |
checkout(RequestDocument requestDocument,
Object object) |
List<ResponseDocument> |
delete(List<RequestDocument> requestDocuments,
Object object) |
ResponseDocument |
delete(RequestDocument requestDocument,
Object object) |
List<ResponseDocument> |
deleteVerify(List<RequestDocument> requestDocument,
Object object) |
ResponseDocument |
deleteVerify(RequestDocument requestDocument,
Object object) |
void |
index(List<RequestDocument> requestDocuments,
boolean commit)
Indexes the given documents in discovery.
|
List<ResponseDocument> |
ingest(List<RequestDocument> requestDocuments,
Object object)
Ingests (stores and indexes) the given documents.
|
ResponseDocument |
ingest(RequestDocument requestDocument,
Object object,
ResponseDocument respDoc)
Ingests (stores and indexes) the given document.
|
javax.jcr.Node |
storeDocument(RequestDocument requestDocument,
Object object,
ResponseDocument responseDocument)
Deletes the given documents, along with linked documents, from the discovery.
|
ResponseDocument |
unbind(RequestDocument requestDocument,
Object object,
String operation) |
void |
validateInput(RequestDocument requestDocument,
Object object,
List<String> valuesList) |
List<ResponseDocument> ingest(List<RequestDocument> requestDocuments, Object object) throws OleDocStoreException
requestDocuments
- OleDocStoreException
ResponseDocument ingest(RequestDocument requestDocument, Object object, ResponseDocument respDoc) throws OleDocStoreException
requestDocument
- respDoc
- OleDocStoreException
List<ResponseDocument> checkout(List<RequestDocument> requestDocuments, Object object) throws OleDocStoreException
OleDocStoreException
ResponseDocument checkout(RequestDocument requestDocument, Object object) throws OleDocStoreException
OleDocStoreException
List<ResponseDocument> checkin(List<RequestDocument> requestDocuments, Object object) throws OleDocStoreException
OleDocStoreException
ResponseDocument checkin(RequestDocument requestDocument, Object object, ResponseDocument respDoc) throws OleDocStoreException
OleDocStoreException
List<ResponseDocument> delete(List<RequestDocument> requestDocuments, Object object) throws Exception
Exception
ResponseDocument delete(RequestDocument requestDocument, Object object) throws Exception
Exception
ResponseDocument buildResponseDocument(RequestDocument requestDocument)
void validateInput(RequestDocument requestDocument, Object object, List<String> valuesList) throws OleDocStoreException
OleDocStoreException
void bulkIngest(BulkProcessRequest bulkProcessRequest, List<RequestDocument> requestDocuments) throws OleDocStoreException
bulkProcessRequest
- requestDocuments
- documents to be processed in the current invocation.OleDocStoreException
void index(List<RequestDocument> requestDocuments, boolean commit) throws OleDocStoreException
requestDocuments
- commit
- indicates whether to commit the changes.OleDocStoreException
javax.jcr.Node storeDocument(RequestDocument requestDocument, Object object, ResponseDocument responseDocument) throws OleDocStoreException
requestDocument
- responseDocument
- OleDocStoreException
ResponseDocument bind(RequestDocument requestDocument, Object object, String operation) throws OleDocStoreException, javax.jcr.RepositoryException, OleException, FileNotFoundException
OleDocStoreException
javax.jcr.RepositoryException
OleException
FileNotFoundException
ResponseDocument unbind(RequestDocument requestDocument, Object object, String operation) throws OleDocStoreException, javax.jcr.RepositoryException, OleException, FileNotFoundException
OleDocStoreException
javax.jcr.RepositoryException
OleException
FileNotFoundException
List<ResponseDocument> deleteVerify(List<RequestDocument> requestDocument, Object object)
ResponseDocument deleteVerify(RequestDocument requestDocument, Object object) throws Exception
Exception
void addResourceId(RequestDocument requestDocument, ResponseDocument respDoc)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.