CesBankDecoratedTransaction Class Reference

Abstract class for transaction decorators. More...

Inheritance diagram for CesBankDecoratedTransaction:
IcesDBObject CesBankTransactionInterface CesBankInterExchangeTransaction CesBankLevyedTransaction CesInteropCENIPTransaction CesInteropCENIPIncomingTransaction CesInteropCENIPOutgoingTransaction

Public Member Functions

 __construct ($parent, $record)
 TODO: document. More...
 
 acceptByAccount ($account_id)
 Implements CesBankTransactionInterface::acceptByAccount(). More...
 
 apply ()
 TODO: document. More...
 
 check ()
 TODO: document. More...
 
 deleteExtraData ()
 Delete object data. More...
 
 getAmount (CesBankCurrency $currency=NULL)
 TODO: document. More...
 
 getConcept ()
 TODO: document. More...
 
 getCreated ()
 Implements CesBankTransactionInterface::getCreated(). More...
 
 getFromAccountName ()
 TODO: document. More...
 
 getId ()
 TODO: document. More...
 
 getLog ($state)
 TODO: document. More...
 
 getParent ()
 TODO: document. More...
 
 getRecord ()
 Return object record. More...
 
 getState ()
 TODO: document. More...
 
 getToAccountName ()
 TODO: document. More...
 
 getUser ()
 TODO: document. More...
 
 log ($messages)
 TODO: document. More...
 
 revoke ()
 TODO: document. More...
 
 saveExtraData ()
 Save object data. More...
 
 setState ($state)
 Set the state of this transction. More...
 
 trigger ()
 TODO: document. More...
 

Data Fields

const STATE_ACCEPTED = 2
 The transaction has been accepted by all authorities. More...
 
const STATE_ARCHIVED = 4
 The transaction is archieved and successfully applied. More...
 
const STATE_COMMITTED = 3
 The transaction has been successfully applied. More...
 
const STATE_DISCARDED = 6
 The transaction is discarded and has not been applied. More...
 
const STATE_ERROR = 11
 There has been a system error with this transaction. More...
 
const STATE_NEW = 0
 The transaction has been created but hasn't already been triggered to apply. More...
 
const STATE_REJECTED = 5
 The transaction -triggered to apply- has been rejected by some of the authorities. More...
 
const STATE_REVOKE_ACCEPTED = 8
 The revoke operation has been accepted by all authorities. More...
 
const STATE_REVOKE_REJECTED = 9
 Some authorities rejected the revoke operation, so the transaction will remain applied. More...
 
const STATE_REVOKE_TRIGGERED = 7
 The transaction has been triggered to be revoked. More...
 
const STATE_REVOKED = 10
 The transaction has been successfully revoked. More...
 
const STATE_TRIGGERED = 1
 The transaction has been triggered to be applied. More...
 

Static Public Attributes

static $table = 'ces_transaction'
 

Protected Member Functions

 getSimpleRecord ()
 Object simple record. More...
 
 loadRecord ($record)
 Loads a database record to this object. More...
 

Protected Attributes

 $parent
 

Detailed Description

Abstract class for transaction decorators.


The documentation for this class was generated from the following file: