Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Public Member Functions | |
abstract void | create () throws CoreException |
ICreateBatch | createBatchForAssociation (String associationName) throws CoreException |
ICreateBatch | createBatchForAssociation (String associationName, boolean isReversedSelfReference) throws CoreException |
Object for creating a batch of objects of the same type.
Only create rights will be checked, update rights not.
DataValidation is optional.
No events will be triggered.
Note: not thread safe
abstract void com.mendix.systemwideinterfaces.core.ICreateBatch.create | ( | ) | throws CoreException [pure virtual] |
Create a new object in this batch
CoreException |
ICreateBatch com.mendix.systemwideinterfaces.core.ICreateBatch.createBatchForAssociation | ( | String | associationName | ) | throws CoreException |
Creates a CreateBatch for the given association.
The batch will be linked hierarchically to each other, meaning that all items created in the CreateBatch for an association will be added to that association of the current object of the parent CreateBatch.
autoCommit, batchSize and useDataValidation are based on the parent batch
associationName |
CoreException |
ICreateBatch com.mendix.systemwideinterfaces.core.ICreateBatch.createBatchForAssociation | ( | String | associationName, |
boolean | isReversedSelfReference | ||
) | throws CoreException |
Creates a Create Bathc for the given association.
The batch will be linked hierarchically to each other, meaning that all items created in the CreateBatch for an association will be added to that association of the current object of the parent CreateBatch.
autoCommit, batchSize and useDataValidation are based on the parent batch
associationName | |
isReversedSelfReference | indicates whether this batch should be treated as a reversed self reference (child -> parent instead of the default parent -> child association). |
CoreException |