Version: 7.8.0
SALOMESDS::TransactionAddKeyValue Class Referenceabstract

#include <SALOMESDS_Transaction.hxx>

Inheritance diagram for SALOMESDS::TransactionAddKeyValue:

Public Member Functions

 TransactionAddKeyValue (DataScopeServerTransaction *dsct, const std::string &varName, const SALOME::ByteVec &key, const SALOME::ByteVec &value)
 
void prepareRollBackInCaseOfFailure ()
 
void notify ()
 
 ~TransactionAddKeyValue ()
 
PickelizedPyObjServercheckVarExistingAndDict ()
 
void rollBack ()
 
std::string getVarName () const
 
void checkVarExisting ()
 
void checkNotAlreadyExisting ()
 
PortableServer::POA_var getPOA () const
 
virtual void perform ()=0
 
CORBA::Object_var activate ()
 
void enforcedRelease ()
 

Static Public Member Functions

static void FromByteSeqToVB (const SALOME::ByteVec &bsToBeConv, std::vector< unsigned char > &ret)
 
static void FromVBToByteSeq (const std::vector< unsigned char > &bsToBeConv, SALOME::ByteVec &ret)
 

Protected Attributes

PyObject * _key
 
PyObject * _value
 
std::string _zeDataBefore
 
PickelizedPyObjServer_varc
 
DataScopeServerTransaction_dsct
 
std::string _var_name
 

Constructor & Destructor Documentation

TransactionAddKeyValue::TransactionAddKeyValue ( DataScopeServerTransaction dsct,
const std::string &  varName,
const SALOME::ByteVec key,
const SALOME::ByteVec value 
)
TransactionAddKeyValue::~TransactionAddKeyValue ( )

References _key, and _value.

Member Function Documentation

CORBA::Object_var SALOMESDS::POAHolder::activate ( )
inherited

References SALOMESDS::POAHolder::getPOA().

Referenced by SALOMESDS::DataScopeServerTransaction::addKeyValueInVarErrorIfAlreadyExisting(), SALOMESDS::DataScopeServerTransaction::addKeyValueInVarHard(), SALOMESDS::DataScopeServerTransaction::addMultiKeyValueSession(), SALOMESDS::DataScopeServerTransaction::createRdExtInitVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdExtInitVarTransac(), SALOMESDS::DataScopeServer::createRdExtVar(), SALOMESDS::DataScopeServerTransaction::createRdExtVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdExtVarTransac(), SALOMESDS::DataScopeServer::createRdOnlyVar(), SALOMESDS::DataScopeServerTransaction::createRdOnlyVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdOnlyVarTransac(), SALOMESDS::DataScopeServer::createRdWrVar(), SALOMESDS::DataScopeServerTransaction::createRdWrVarInternal(), SALOMESDS::DataScopeServerTransaction::createRdWrVarTransac(), SALOMESDS::DataScopeServerTransaction::createWorkingVarTransac(), SALOMESDS::DataServerManager::DataServerManager(), SALOMESDS::DataScopeServerTransaction::killVarTransac(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdExtOrRdExtInitToRdExt(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdExtOrRdExtInitToRdExtInit(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdOnlyToRdWr(), SALOMESDS::DataScopeServerBase::moveStatusOfVarFromRdWrToRdOnly(), SALOMESDS::DataScopeServerTransaction::removeKeyInVarErrorIfNotAlreadyExisting(), SALOMESDS::DataScopeServerTransaction::waitForKeyInVar(), and SALOMESDS::DataScopeServerTransaction::waitForKeyInVarAndKillIt().

void SALOMESDS::Transaction::checkNotAlreadyExisting ( )
inherited
void SALOMESDS::Transaction::checkVarExisting ( )
inherited
PortableServer::POA_var SALOMESDS::Transaction::getPOA ( ) const
virtualinherited

Implements SALOMESDS::POAHolder.

std::string SALOMESDS::Transaction::getVarName ( ) const
inherited

Referenced by notify().

Field Documentation

std::string SALOMESDS::TransactionDictModify::_zeDataBefore
protectedinherited