org.kuali.ole.docstore.service
Class DocumentServiceImpl

java.lang.Object
  extended by org.kuali.ole.docstore.service.DocumentServiceImpl
All Implemented Interfaces:
DocumentService

public class DocumentServiceImpl
extends Object
implements DocumentService

Implements DocumentService interface. User: tirumalesh.b Date: 28/8/12 Time: 12:09 PM


Field Summary
protected  RepositoryManager repositoryManager
           
 
Method Summary
 void batchIngest(BulkProcessRequest bulkProcessRequest, List<RequestDocument> requestDocuments)
           
 void bulkIngest(BulkProcessRequest bulkProcessRequest, List<RequestDocument> requestDocuments)
           
 void bulkProcess(BulkProcessRequest request)
          Processes the documents, as per the operation specified, in the given request.
 BulkProcessRequest getBulkIngestRequest()
           
static DocumentServiceImpl getInstance()
           
 Response process(Request request)
          Processes the documents, as per the operation specified, in the given request.
 void setBulkIngestRequest(BulkProcessRequest bulkIngestRequest)
           
 void setRepositoryManager(RepositoryManager repositoryManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repositoryManager

protected RepositoryManager repositoryManager
Method Detail

getInstance

public static DocumentServiceImpl getInstance()

process

public Response process(Request request)
                 throws OleDocStoreException,
                        javax.jcr.RepositoryException,
                        OleException,
                        FileNotFoundException
Description copied from interface: DocumentService
Processes the documents, as per the operation specified, in the given request. The given request specifies a single operation to be performed on one or more documents of same or different [cat-type-format].

Specified by:
process in interface DocumentService
Returns:
Throws:
OleDocStoreException
javax.jcr.RepositoryException
OleException
FileNotFoundException

bulkProcess

public void bulkProcess(BulkProcessRequest request)
                 throws Exception
Description copied from interface: DocumentService
Processes the documents, as per the operation specified, in the given request. The given request specifies a single operation to be performed on generally a large number of documents of same [cat-type-format].

Specified by:
bulkProcess in interface DocumentService
Throws:
OleDocStoreException
Exception

bulkIngest

public void bulkIngest(BulkProcessRequest bulkProcessRequest,
                       List<RequestDocument> requestDocuments)
                throws OleDocStoreException
Throws:
OleDocStoreException

batchIngest

public void batchIngest(BulkProcessRequest bulkProcessRequest,
                        List<RequestDocument> requestDocuments)

setRepositoryManager

public void setRepositoryManager(RepositoryManager repositoryManager)

getBulkIngestRequest

public BulkProcessRequest getBulkIngestRequest()

setBulkIngestRequest

public void setBulkIngestRequest(BulkProcessRequest bulkIngestRequest)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.