org.sakaiproject.search.transaction.impl
Class IndexItemsTransactionImpl

java.lang.Object
  extended by org.sakaiproject.search.transaction.impl.IndexTransactionImpl
      extended by org.sakaiproject.search.transaction.impl.IndexItemsTransactionImpl
All Implemented Interfaces:
IndexItemsTransaction, IndexTransaction
Direct Known Subclasses:
IndexMergeTransactionImpl, IndexUpdateTransactionImpl

public abstract class IndexItemsTransactionImpl
extends IndexTransactionImpl
implements IndexItemsTransaction

Base for index transactions with items

Author:
ieb
See Also:
org.sakaiproject.search.indexer.impl.test.TransactionalIndexWorkerTest

Field Summary
 
Fields inherited from class org.sakaiproject.search.transaction.impl.IndexTransactionImpl
manager, transactionId, transactionState
 
Fields inherited from interface org.sakaiproject.search.transaction.api.IndexTransaction
STATUS_ACTIVE, STATUS_COMMITTED, STATUS_COMMITTING, STATUS_MARKED_ROLLBACK, STATUS_NO_TRANSACTION, STATUS_PREPARED, STATUS_PREPARING, STATUS_ROLLEDBACK, STATUS_ROLLING_BACK, STATUS_UNKNOWN, TRANSACTION_ACTIVE, TRANSACTION_STATUS
 
Constructor Summary
IndexItemsTransactionImpl(TransactionManagerImpl manager, Map<String,Object> m)
           
 
Method Summary
 List<SearchBuilderItem> getItems()
           
 void setItems(List<SearchBuilderItem> items)
           
 
Methods inherited from class org.sakaiproject.search.transaction.impl.IndexTransactionImpl
clear, close, commit, doAfterClose, doAfterCommit, doAfterOpen, doAfterPrepare, doAfterRollback, doBeforeClose, doBeforeCommit, doBeforeOpen, doBeforePrepare, doBeforeRollback, get, getStatus, getTransactionId, open, prepare, put, rollback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.search.transaction.api.IndexTransaction
clear, close, commit, get, getStatus, getTransactionId, open, prepare, put, rollback
 

Constructor Detail

IndexItemsTransactionImpl

public IndexItemsTransactionImpl(TransactionManagerImpl manager,
                                 Map<String,Object> m)
Parameters:
m -
impl -
Throws:
IndexTransactionException
Method Detail

setItems

public void setItems(List<SearchBuilderItem> items)
              throws IndexTransactionException
Specified by:
setItems in interface IndexItemsTransaction
Throws:
IndexTransactionException

getItems

public List<SearchBuilderItem> getItems()
Specified by:
getItems in interface IndexItemsTransaction
Returns:
See Also:
org.sakaiproject.search.component.service.index.transactional.api.IndexUpdateTransaction#getItems()


Copyright © 2003-2012 Sakai Project. All Rights Reserved.