#include <OperationObjectBatch.hxx>
|
| static void | deleteOperationObjectBatches (OperationObjectBatchList &objectBatches) |
| |
| static int | populateOperationBatches (const std::string &operationId, int *operationInt, const BulkInputList *inputs, OperationObjectBatchList &batches) |
| |
| static int | populateOperationBatchesForCreate (const std::string &operationID, int *operationInt, const BulkInputList *inputs, OperationObjectBatchList &batches) |
| |
| static int | populateOperationBatchesForIslandOfData (const std::string &operationID, int *operationInt, const BulkInputList *inputs, OperationObjectBatchList &batches) |
| |
| static int | populateOperationBatchesInternal (const std::string &operationID, int *operationInt, const BulkInputList *bulkInputs, OperationObjectBatchList &objBatches) |
| |
Definition at line 42 of file OperationObjectBatch.hxx.
| Teamcenter::OperationObjectBatch::OperationObjectBatch |
( |
| ) |
|
|
private |
| void Teamcenter::OperationObjectBatch::addBulkInputObjects |
( |
const BulkInput * |
inputObjects | ) |
|
|
private |
Adds the bulk input objects to the created/existing object batches
- Parameters
-
| inputObjects | (I) The list of BulkInput objects to be added to the object batch |
Deletes the operation object batches
- Parameters
-
Returns the pointer to enable GenImpl bulk operation dispatcher code to update the BulkInput data while processing nested operations
| void Teamcenter::OperationObjectBatch::getBulkInputObjects |
( |
BulkInputList & |
bulkInputObjects | ) |
const |
Retrieves the BulkInput object list from this instance
- Parameters
-
Retrieves the operation dispatcher object from this instance
| static int Teamcenter::OperationObjectBatch::populateOperationBatches |
( |
const std::string & |
operationId, |
|
|
int * |
operationInt, |
|
|
const BulkInputList * |
inputs, |
|
|
OperationObjectBatchList & |
batches |
|
) |
| |
|
static |
Populates the object batches For Delete.
This method is invoked during fnd0BulkDelete / fnd0Refresh / fnd0Lock / fnd0Unlock / fnd0Save
- Returns
-
ITK_ok on success
-
EXTENSIONFRAMEWORK_Operation_Dispatcher_not_found if any object type in the
bulkInputs does not support the operation specified by operationID or operationInt.
-
EXTENSIONFRAMEWORK_Operation_Dispatcher_not_found if
operationID is empty and operationInt is "-1".
- Parameters
-
| operationId | (I) The operation ID. If it is empty, a valid value must be provided for operationInt. |
| operationInt | (I/O) The operation integer related to the operation ID. br/>If its value is "-1", a valid operationID must be provided, and the operationID is used to compute the value of operationInt. |
| inputs | (I) The list of BulkInput objects provided for computing the OperationObjectBatch objects |
| batches | (O) The list of created OperationObjectBatch objects |
| static int Teamcenter::OperationObjectBatch::populateOperationBatchesForCreate |
( |
const std::string & |
operationID, |
|
|
int * |
operationInt, |
|
|
const BulkInputList * |
inputs, |
|
|
OperationObjectBatchList & |
batches |
|
) |
| |
|
static |
Populates the object batches for Create.
This method is applicable only for Create scenario.
- Returns
-
ITK_ok on success
-
EXTENSIONFRAMEWORK_Operation_Dispatcher_not_found if any object type in the
bulkInputs does not support the operation specified by operationID or operationInt.
-
EXTENSIONFRAMEWORK_Operation_Dispatcher_not_found if
operationID is empty and operationInt is "-1".
- Parameters
-
| operationID | (I) The operation ID. If it is empty, a valid value must be provided for operationInt. |
| operationInt | (I/O) The operation integer related to the operation ID.
If its value is "-1", a valid operationID must be provided, and the operationID is used to compute the value of operationInt. |
| inputs | (I) The list of BulkInput objects provided for computing the OperationObjectBatch objects |
| batches | (O) The list of created OperationObjectBatch objects |
| static int Teamcenter::OperationObjectBatch::populateOperationBatchesForIslandOfData |
( |
const std::string & |
operationID, |
|
|
int * |
operationInt, |
|
|
const BulkInputList * |
inputs, |
|
|
OperationObjectBatchList & |
batches |
|
) |
| |
|
static |
Populates the object batches for Island of Data. The Island of Data includes all the attached Business Objects that will be copied over when the top Business Object is SaveAsed.
This method is applicable only for Save-As scenario.
- Returns
-
ITK_ok on success
-
EXTENSIONFRAMEWORK_Operation_Dispatcher_not_found if any object type in the
bulkInputs does not support the operation specified by operationID or operationInt.
-
EXTENSIONFRAMEWORK_Operation_Dispatcher_not_found if
operationID is empty and operationInt is "-1".
- Parameters
-
| operationID | (I) The operation ID. If it is empty, a valid value must be provided for operationInt. |
| operationInt | (I/O) The operation integer related to the operation ID.
If its value is "-1", a valid operationID must be provided, and the operationID is used to compute the value of operationInt. |
| inputs | (I) The list of BulkInput objects provided for computing the OperationObjectBatch objects |
| batches | (O) The list of created OperationObjectBatch objects |
| static int Teamcenter::OperationObjectBatch::populateOperationBatchesInternal |
( |
const std::string & |
operationID, |
|
|
int * |
operationInt, |
|
|
const BulkInputList * |
bulkInputs, |
|
|
OperationObjectBatchList & |
objBatches |
|
) |
| |
|
static |
Creates the operation batches based on the operation ID and the BulkInput objects.
- Returns
-
ITK_ok on success
-
EXTENSIONFRAMEWORK_Operation_Dispatcher_not_found if any object type in the
bulkInputs does not support the operation specified by operationID or operationInt.
-
EXTENSIONFRAMEWORK_Operation_Dispatcher_not_found if
operationID is empty and operationInt is "-1".
- Parameters
-
| operationID | (I) The operation ID. If it is empty, a valid value must be provided for operationInt. |
| operationInt | (I/O) The operation integer related to the operation ID.
If its value is "-1", a valid operationID must be provided, and the operationID is used to compute the value of operationInt. |
| bulkInputs | (I) The list of BulkInput objects provided for computing the OperationObjectBatch objects |
| objBatches | (O) The list of created OperationObjectBatch objects |
| void Teamcenter::OperationObjectBatch::setDispatcherObject |
( |
OperationDispatcher * |
dispatcherObject | ) |
|
|
private |
Sets the operation dispatcher associated with the object batch
- Parameters
-
| dispatcherObject | (I) The operation dispatcher object to be set to the object batch |
| friend class Teamcenter::BulkDataImpl |
|
friend |
The documentation for this class was generated from the following file: