c

scalut.data

AbstractDataManager

abstract class AbstractDataManager[T <: DataManager[T]] extends DataManager[T]

Base class for working with data.

Linear Supertypes
DataManager[T], AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractDataManager
  2. DataManager
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractDataManager(dataManager: T)
  2. new AbstractDataManager()

Abstract Value Members

  1. abstract def beginCore(): Unit

    returns

    true if transaction opened

    Attributes
    protected
  2. 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
  3. abstract def commitCore(): Unit

    returns

    true if transaction commited

    Attributes
    protected
  4. abstract def isInTransactionCore: Boolean

    returns

    true if transaction is active.

    Attributes
    protected
  5. 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
  6. 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
  7. abstract def rollbackCore(): Unit

    returns

    true if transaction rollbacked

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def begin(): Unit

    Begins transaction.

    Begins transaction.

    Definition Classes
    AbstractDataManagerDataManager
  6. var beginTransactionInvoked: Boolean

    Flag to indicate that this manager has been successfully invoked method beginTransaction for external manager.

    Flag to indicate that this manager has been successfully invoked method beginTransaction for external manager.

    Attributes
    protected
  7. def checkOpen(): Unit

    Checks whether the session is open.

    Checks whether the session is open. If not, it throws an exception.

    Attributes
    protected
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def close(commitTransaction: Boolean): Unit
    Definition Classes
    AbstractDataManagerDataManager
  10. final def close(): Unit

    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
    AbstractDataManagerDataManager → AutoCloseable
  11. final def commit(): Unit

    Commits transaction.

    Commits transaction.

    Definition Classes
    AbstractDataManagerDataManager
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. var externalDataManager: T

    External manager, a session that you want to use.

    External manager, a session that you want to use.

    Attributes
    protected
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  18. final def initialize(dataManager: T): Unit

    Indicates the manager, a session that you want to use.

    Indicates the manager, a session that you want to use.

    Definition Classes
    AbstractDataManagerDataManager
  19. final def isInTransaction: Boolean

    Opened whether transaction?

    Opened whether transaction?

    returns

    Return true if manager in trasaction, else false.

    Definition Classes
    AbstractDataManagerDataManager
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def isOpen: Boolean

    Opened whether session?

    Opened whether session?

    returns

    Return true if session is opened, else false.

    Definition Classes
    AbstractDataManagerDataManager
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. final def open(beginTransaction: Boolean): Unit

    Invoke open() and begin().

    Invoke open() and begin().

    Definition Classes
    AbstractDataManagerDataManager
  26. final def open(): Unit

    Begin session work.

    Begin session work.

    Definition Classes
    AbstractDataManagerDataManager
  27. var openInvoked: Boolean

    Flag to indicate that this manager has been successfully invoked method open for external manager.

    Flag to indicate that this manager has been successfully invoked method open for external manager.

    Attributes
    protected
  28. final def rollback(): Unit

    Rollback transaction.

    Rollback transaction.

    Definition Classes
    AbstractDataManagerDataManager
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DataManager[T]

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped