Teamcenter C++ API Reference  2312
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Teamcenter::ManageBulkData Class Reference

#include <ManageBulkData.hxx>

Public Member Functions

BulkDatagetBulkData () const
 
int getPostActionsData (std::vector< Teamcenter::OperationDispatcher * > &opDispVec, std::vector< std::vector< Teamcenter::BulkInput * > > &bulkInputsVec)
 
int getPostActionsData (const std::string &opId, std::vector< Teamcenter::OperationDispatcher * > &opDispVec, std::vector< std::vector< Teamcenter::BulkInput * > > &bulkInputsVec)
 
 ManageBulkData (const BulkData *bd, const std::string &opId)
 
int saveDeleteUnlock ()
 
int saveDeleteUnlock (const std::string &opId)
 
bool stackPostActions (const std::vector< Teamcenter::OperationObjectBatch * > &batches, const std::string &opId)
 
virtual ~ManageBulkData ()
 

Private Member Functions

int createBulkData (const std::string &opId, BulkData *&bd)
 
void deleteBulkData (BulkData *obj)
 
 ManageBulkData ()
 
 ManageBulkData (const ManageBulkData &other)
 
ManageBulkDataoperator= (const ManageBulkData &other)
 

Private Attributes

BulkDatam_bd
 

Detailed Description

Definition at line 38 of file ManageBulkData.hxx.

Constructor & Destructor Documentation

Teamcenter::ManageBulkData::ManageBulkData ( const BulkData bd,
const std::string &  opId 
)

Constructor

Parameters
bd(I) Input BulkData information if applicable
opId(I) current operation ID
virtual Teamcenter::ManageBulkData::~ManageBulkData ( )
virtual

Destructor

Teamcenter::ManageBulkData::ManageBulkData ( )
private

restricting default constructor

Teamcenter::ManageBulkData::ManageBulkData ( const ManageBulkData other)
private

Copy constructor and assignment operator declarations as private to restrict

Member Function Documentation

int Teamcenter::ManageBulkData::createBulkData ( const std::string &  opId,
BulkData *&  bd 
)
private

Creates a BulkData object

Parameters
opId(I) The operation ID
bd(OF) Created BulkData instance
void Teamcenter::ManageBulkData::deleteBulkData ( BulkData obj)
private

Deletes a BulkData object

Parameters
obj(I) Input BulkData instance to be deleted
BulkData* Teamcenter::ManageBulkData::getBulkData ( ) const

Retrieves the BulkData associated with this instance

int Teamcenter::ManageBulkData::getPostActionsData ( std::vector< Teamcenter::OperationDispatcher * > &  opDispVec,
std::vector< std::vector< Teamcenter::BulkInput * > > &  bulkInputsVec 
)

Gets stacked InputsVector objects & OperationDispatchers for postActions for operations if applicable from BullkData

Parameters
opDispVec(O) The vector of OperationDispatcher for the inputs to execute postActions
bulkInputsVec(O) The vector of InputsVector for executing postActions
int Teamcenter::ManageBulkData::getPostActionsData ( const std::string &  opId,
std::vector< Teamcenter::OperationDispatcher * > &  opDispVec,
std::vector< std::vector< Teamcenter::BulkInput * > > &  bulkInputsVec 
)

Gets stacked InputsVector objects & OperationDispatchers for postActions for operations if applicable from BullkData, only when current opId and BulkData's opId are same

Parameters
opId(I) current operation ID
opDispVec(O) The vector of OperationDispatcher for the inputs to execute postActions
bulkInputsVec(O) The vector of InputsVector for executing postActions
ManageBulkData& Teamcenter::ManageBulkData::operator= ( const ManageBulkData other)
private
int Teamcenter::ManageBulkData::saveDeleteUnlock ( )

Performs Database actions for the objects collected in it's BulkData

Returns
  • #ITK_ok on success
int Teamcenter::ManageBulkData::saveDeleteUnlock ( const std::string &  opId)

Performs Database actions for the objects collected in it's BulkData

Returns
  • #ITK_ok on success
Parameters
opId(I) current operation ID
bool Teamcenter::ManageBulkData::stackPostActions ( const std::vector< Teamcenter::OperationObjectBatch * > &  batches,
const std::string &  opId 
)

Performs stacking of InputsVector objects & OperationDispatchers for postActions for operations if applicable with BulkData

Returns
  • true if stacking of postActions is done
  • false if stacking of postAction is not done
Parameters
batches(I) The OperationObjectBatches which need to stacked for current operation
opId(I) current operation ID

Member Data Documentation

BulkData* Teamcenter::ManageBulkData::m_bd
private

Representing BulkData instance

Definition at line 129 of file ManageBulkData.hxx.


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