#include <BatchManager.h>
Public Types | |
enum | BATCH_STATUS { BATCH_NEW = 0, BATCH_INPROGRESS = 10, BATCH_READY = 15, BATCH_FAILED = 20, BATCH_COMPLETED = 30 } |
enum | StorageCategory { Flatfile, XMLfile, MQ, ZIP } |
Public Member Functions | |
virtual | ~BatchManagerBase () |
virtual void | open (const string &storageId, ios_base::openmode openMode)=0 |
virtual void | close (const string &storageId)=0 |
virtual void | commit ()=0 |
virtual void | rollback ()=0 |
const BatchManagerBase & | operator<< (const string &document) |
const BatchManagerBase & | operator<< (BatchManip::BatchMetadata metadata) |
const BatchManagerBase & | operator<< (const BatchManip::BufferSize size) |
const BatchManagerBase & | operator<< (const BatchItem &item) |
void | operator>> (BatchItem &item) |
bool | moreMessages () const |
void | setXPath (const string &xpath) |
string | getXPath () const |
BatchManagerBase::StorageCategory | getStorageCategory () const |
Static Public Member Functions | |
static BatchManagerBase * | CreateBatchManager (const BatchManagerBase::StorageCategory storageCategory) |
static string | ToString (const BatchManagerBase::BATCH_STATUS status) |
Protected Member Functions | |
virtual void | internalEnqueue (const string &document)=0 |
virtual void | internalEnqueue (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *const document)=0 |
virtual void | internalEnqueue (BatchManip::BatchMetadata metadata)=0 |
virtual void | internalEnqueue (const BatchManip::BufferSize size)=0 |
virtual void | internalEnqueue (const BatchItem &item)=0 |
virtual void | internalDequeue (BatchItem &item)=0 |
BatchManagerBase (const BatchManagerBase::StorageCategory storageCategory) | |
Protected Attributes | |
string | m_XPath |
BatchManagerBase::StorageCategory | m_StorageCategory |
bool | m_MoreMessages |
XSLTFilter | m_TransformFilter |
const XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * | m_MetaDoc |
|
inlinevirtual |
|
explicitprotected |
|
pure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
pure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
static |
|
inline |
|
inline |
|
protectedpure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
protectedpure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
protectedpure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
protectedpure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
protectedpure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
protectedpure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
inline |
|
pure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
const BatchManagerBase & BatchManagerBase::operator<< | ( | const string & | document | ) |
const BatchManagerBase & BatchManagerBase::operator<< | ( | BatchManip::BatchMetadata | metadata | ) |
const BatchManagerBase & BatchManagerBase::operator<< | ( | const BatchManip::BufferSize | size | ) |
const BatchManagerBase & BatchManagerBase::operator<< | ( | const BatchItem & | item | ) |
void BatchManagerBase::operator>> | ( | BatchItem & | item | ) |
|
pure virtual |
Implemented in FinTP::BatchManager< T >, and FinTP::BatchManager< FinTP::BatchMQStorage >.
|
inline |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |