C# Class Rebel.Hive.ProviderSupport.AbstractProviderTransaction

Inheritance: DisposableObject, IProviderTransaction
Exibir arquivo Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
Commit ( IProviderUnit unit ) : void

Commits this transaction.

EnsureBegun ( ) : void
GetTransactionId ( ) : string
HasCommitalActionsToPerform ( ) : bool

Determines whether this transaction has actions to perform prior to committing, e.g. cache flushing.

PerformPreCommitalActions ( ) : void

Performs the pre commital actions, e.g. cache flushing.

Rollback ( IProviderUnit unit ) : void

Rolls back this transaction.

Rollback ( bool requestIsImplicit ) : void

Rolls back this transaction and stores a value for whether the rollback request was as a result of an implicit operation, like the disposal of the transaction.

Protected Methods

Method Description
AbstractProviderTransaction ( ) : System
DisposeResources ( ) : void
PerformCommit ( ) : bool
PerformExplicitRollback ( ) : bool
PerformImplicitRollback ( ) : bool

Method Details

AbstractProviderTransaction() protected method

protected AbstractProviderTransaction ( ) : System
return System

Commit() public method

Commits this transaction.
public Commit ( IProviderUnit unit ) : void
unit IProviderUnit
return void

DisposeResources() protected method

protected DisposeResources ( ) : void
return void

EnsureBegun() public abstract method

public abstract EnsureBegun ( ) : void
return void

GetTransactionId() public method

public GetTransactionId ( ) : string
return string

HasCommitalActionsToPerform() public method

Determines whether this transaction has actions to perform prior to committing, e.g. cache flushing.
public HasCommitalActionsToPerform ( ) : bool
return bool

PerformCommit() protected abstract method

protected abstract PerformCommit ( ) : bool
return bool

PerformExplicitRollback() protected abstract method

protected abstract PerformExplicitRollback ( ) : bool
return bool

PerformImplicitRollback() protected abstract method

protected abstract PerformImplicitRollback ( ) : bool
return bool

PerformPreCommitalActions() public method

Performs the pre commital actions, e.g. cache flushing.
public PerformPreCommitalActions ( ) : void
return void

Rollback() public method

Rolls back this transaction.
public Rollback ( IProviderUnit unit ) : void
unit IProviderUnit
return void

Rollback() public method

Rolls back this transaction and stores a value for whether the rollback request was as a result of an implicit operation, like the disposal of the transaction.
public Rollback ( bool requestIsImplicit ) : void
requestIsImplicit bool if set to true [request is implicit].
return void