Class

scalut.data

AbstractDataManager

Related Doc: package data

Permalink

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

Base class for working with data.

Linear Supertypes
DataManager[T], AutoCloseable, AnyRef, Any
Known Subclasses
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)

    Permalink
  2. new AbstractDataManager()

    Permalink

Abstract Value Members

  1. abstract def beginCore(): Unit

    Permalink

    returns

    true if transaction opened

    Attributes
    protected
  2. abstract def closeCore(): Unit

    Permalink

    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

    Permalink

    returns

    true if transaction commited

    Attributes
    protected
  4. abstract def isInTransactionCore: Boolean

    Permalink

    returns

    true if transaction is active.

    Attributes
    protected
  5. abstract def isOpenCore: Boolean

    Permalink

    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

    Permalink

    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

    Permalink

    returns

    true if transaction rollbacked

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final def begin(): Unit

    Permalink

    Begins transaction.

    Begins transaction.

    Definition Classes
    AbstractDataManagerDataManager
  6. var beginTransactionInvoked: Boolean

    Permalink

    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

    Permalink

    Checks whether the session is open.

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

    Attributes
    protected
  8. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AbstractDataManagerDataManager
  10. final def close(): Unit

    Permalink

    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

    Permalink

    Commits transaction.

    Commits transaction.

    Definition Classes
    AbstractDataManagerDataManager
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. var externalDataManager: T

    Permalink

    External manager, a session that you want to use.

    External manager, a session that you want to use.

    Attributes
    protected
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def initialize(dataManager: T): Unit

    Permalink

    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

    Permalink

    Opened whether transaction?

    Opened whether transaction?

    returns

    Return true if manager in trasaction, else false.

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

    Permalink
    Definition Classes
    Any
  21. final def isOpen: Boolean

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def open(beginTransaction: Boolean): Unit

    Permalink

    Invoke open() and begin().

    Invoke open() and begin().

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

    Permalink

    Begin session work.

    Begin session work.

    Definition Classes
    AbstractDataManagerDataManager
  27. var openInvoked: Boolean

    Permalink

    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

    Permalink

    Rollback transaction.

    Rollback transaction.

    Definition Classes
    AbstractDataManagerDataManager
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DataManager[T]

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped