Class TransactionServiceImpl
- java.lang.Object
-
- org.craftercms.studio.impl.v1.service.transaction.TransactionServiceImpl
-
- All Implemented Interfaces:
TransactionService
public class TransactionServiceImpl extends Object implements TransactionService
Provide different types of transactions to the site- Author:
- russdanner
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentRepository
_contentRepository
-
Constructor Summary
Constructors Constructor Description TransactionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentRepository
getContentRepository()
getter for content repositoryjavax.transaction.UserTransaction
getTransaction()
get a standard user transactionvoid
setContentRepository(ContentRepository repo)
setter for content repository
-
-
-
Field Detail
-
_contentRepository
protected ContentRepository _contentRepository
-
-
Method Detail
-
getTransaction
public javax.transaction.UserTransaction getTransaction()
get a standard user transaction- Specified by:
getTransaction
in interfaceTransactionService
-
getContentRepository
public ContentRepository getContentRepository()
getter for content repository
-
setContentRepository
public void setContentRepository(ContentRepository repo)
setter for content repository
-
-