org.kuali.ole.docstore.transaction
Class TransactionManager
java.lang.Object
org.kuali.ole.docstore.transaction.TransactionManager
public class TransactionManager
- extends Object
Encapsulates reusable common logic to support ACID transactions in DocStore.
User: tirumalesh.b
Date: 26/9/12 Time: 10:40 AM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionManager
public TransactionManager()
startSession
public void startSession(String user,
String operation)
throws OleDocStoreException
- Throws:
OleDocStoreException
closeSession
public void closeSession()
startTransaction
public void startTransaction(String user,
String operation)
throws OleDocStoreException
- Throws:
OleDocStoreException
commit
public void commit()
throws OleDocStoreException
- Throws:
OleDocStoreException
commit
public void commit(BatchIngestStatistics batchIngestStatistics)
throws OleDocStoreException
- Throws:
OleDocStoreException
abort
public void abort()
close
public void close()
ingest
public List<ResponseDocument> ingest(List<RequestDocument> requestDocuments)
throws OleDocStoreException
- Throws:
OleDocStoreException
ingest
public ResponseDocument ingest(RequestDocument requestDocument)
throws OleDocStoreException
- Throws:
OleDocStoreException
checkIn
public List<ResponseDocument> checkIn(List<RequestDocument> requestDocuments)
throws OleDocStoreException
- Throws:
OleDocStoreException
checkOut
public List<ResponseDocument> checkOut(List<RequestDocument> requestDocuments,
String user)
throws OleDocStoreException
- Throws:
OleDocStoreException
checkIn
public ResponseDocument checkIn(RequestDocument requestDocument)
throws OleDocStoreException
- Throws:
OleDocStoreException
bind
public List<ResponseDocument> bind(List<RequestDocument> requestDocuments,
String operation)
throws Exception,
javax.jcr.RepositoryException,
OleException,
FileNotFoundException
- Throws:
Exception
javax.jcr.RepositoryException
OleException
FileNotFoundException
unbind
public List<ResponseDocument> unbind(List<RequestDocument> requestDocuments,
String operation)
throws Exception,
javax.jcr.RepositoryException,
OleException,
FileNotFoundException
- Throws:
Exception
javax.jcr.RepositoryException
OleException
FileNotFoundException
batchIngest
public void batchIngest(BulkProcessRequest bulkProcessRequest,
List<RequestDocument> requestDocuments)
throws OleDocStoreException
- Throws:
OleDocStoreException
delete
public List<ResponseDocument> delete(List<RequestDocument> requestDocuments)
throws Exception
- Throws:
Exception
deleteVerify
public List<ResponseDocument> deleteVerify(List<RequestDocument> requestDocuments)
throws Exception
- Throws:
Exception
getIndexerService
public IndexerService getIndexerService()
setIndexerService
public void setIndexerService(IndexerService indexerService)
transferInstances
public void transferInstances(List<RequestDocument> requestDocuments)
throws Exception
- Throws:
Exception
transferItems
public void transferItems(List<RequestDocument> requestDocuments)
throws Exception
- Throws:
Exception
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.