View Javadoc
1   package org.kuali.ole.docstore.factory;
2   
3   import org.kuali.ole.docstore.document.DocumentManager;
4   import org.kuali.ole.docstore.document.rdbms.RdbmsDocumentManagerFactory;
5   import org.kuali.ole.docstore.transaction.RdbmsTransactionManager;
6   import org.kuali.ole.docstore.transaction.TransactionManager;
7   
8   /**
9    * Created with IntelliJ IDEA.
10   * User: sambasivam
11   * Date: 6/20/13
12   * Time: 3:14 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  public class RdbmsDocstoreFactory extends AbstractDocstoreFactory {
16  
17      @Override
18      public TransactionManager getTransactionManager(String docCategory, String docType, String docFormat) {
19          TransactionManager transactionManager = new RdbmsTransactionManager();
20          return transactionManager;
21      }
22  
23      @Override
24      public DocumentManager getDocumentManager(String docCategory, String docType, String docFormat) {
25          DocumentManager documentManager = RdbmsDocumentManagerFactory.getInstance().getDocumentManager(docCategory, docType, docFormat);
26          return documentManager;
27      }
28  
29  }