abstract class SessionDataManager[TSession, TDataManager <: SessionDataManager[TSession, TDataManager]] extends AbstractDataManager[TDataManager]
Base class for working with session - unit of work.
- Alphabetic
- By Inheritance
- SessionDataManager
- AbstractDataManager
- DataManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SessionDataManager(dataManager: TDataManager)(implicit ec: ExecutionContext)
- new SessionDataManager()(implicit ec: ExecutionContext)
Abstract Value Members
-
abstract
def
beginTxCore(): Unit
- returns
true if transaction opened
- Attributes
- protected
- Definition Classes
- AbstractDataManager
-
abstract
def
closeCore(): Unit
When overriding performs the ending work of the current manager (not external manager).
When overriding performs the ending work of the current manager (not external manager).
- returns
true if closed.
- Attributes
- protected
- Definition Classes
- AbstractDataManager
-
abstract
def
commitTxCore(): Unit
- returns
true if transaction commited
- Attributes
- protected
- Definition Classes
- AbstractDataManager
-
abstract
def
isInTransactionCore: Boolean
- returns
true if transaction is active.
- Attributes
- protected
- Definition Classes
- AbstractDataManager
-
abstract
def
isOpenCore: Boolean
When overriding checks the work of the current manager (not external manager).
When overriding checks the work of the current manager (not external manager).
- returns
Return true if current manager in session, else false.
- Attributes
- protected
- Definition Classes
- AbstractDataManager
-
abstract
def
openCore(): Unit
When overriding performs the beginning work of the current manager (not external manager).
When overriding performs the beginning work of the current manager (not external manager).
- Attributes
- protected
- Definition Classes
- AbstractDataManager
-
abstract
def
rollbackTxCore(): Unit
- returns
true if transaction rollbacked
- Attributes
- protected
- Definition Classes
- AbstractDataManager
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
beginTx(): Future[_]
Begins transaction.
Begins transaction.
- Definition Classes
- AbstractDataManager → DataManager
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
close(): Future[_]
Ends session wokr, rollback active transactions, closes connection and clears cashe.If there is external manager, the end session may be that manager in which the method open is called.
Ends session wokr, rollback active transactions, closes connection and clears cashe.If there is external manager, the end session may be that manager in which the method open is called.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
commitTx(): Future[_]
Commits transaction.
Commits transaction.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
var
externalDataManager: TDataManager
External manager, a session that you want to use.
External manager, a session that you want to use.
- Attributes
- protected
- Definition Classes
- AbstractDataManager
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInTransaction: Boolean
Opened whether transaction?
Opened whether transaction?
- returns
Return true if manager in trasaction, else false.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isOpen: Boolean
Opened whether session?
Opened whether session?
- returns
Return true if session is opened, else false.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
open(): Future[_]
Begin session work.
Begin session work.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
rollbackTx(): Future[_]
Rollback transaction.
Rollback transaction.
- Definition Classes
- AbstractDataManager → DataManager
-
var
session: TSession
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
use(dataManager: TDataManager): SessionDataManager.this.type
Indicates the manager, a session that you want to use.
Indicates the manager, a session that you want to use.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )