Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Public Member Functions | |
abstract void | setMemberValue (String name, Object value) throws CoreException |
abstract IMendixObjectMember<?> | getMember (String name) throws CoreException |
abstract IMendixObject | getCurrentObject () |
abstract void | addAssociationValue (String associationName, IMendixIdentifier id) throws CoreException |
abstract void | addBatchForAssociation (IBatch batchAssociation, String associationName) throws CoreException |
abstract void | addAssociationInfo (IBatch parentBatch, String associationName, boolean isParent) throws CoreException |
abstract List< IMendixIdentifier > | commit () throws CoreException |
abstract Future< List < IMendixIdentifier > > | commitAsync () throws CoreException |
abstract Object | clone () throws CloneNotSupportedException |
IBatch | getParentBatch () |
Generic interface for create and change batches.
abstract void com.mendix.systemwideinterfaces.core.IBatch.addAssociationInfo | ( | IBatch | parentBatch, |
String | associationName, | ||
boolean | isParent | ||
) | throws CoreException [pure virtual] |
Set the given parentBatch as parent batch for this batch
and add all objects created till now to the association of the current active object of the parent batch.
parentBatch | |
associationName | |
isParent |
CoreException |
abstract void com.mendix.systemwideinterfaces.core.IBatch.addAssociationValue | ( | String | associationName, |
IMendixIdentifier | id | ||
) | throws CoreException [pure virtual] |
Add the given id to the given associationName.
If the association is a MendixObjectReference the value will be 'id'.
If the association is a MendixObjectReferenceSet the value will be currentValue + 'id'.
associationName | |
id |
CoreException |
abstract void com.mendix.systemwideinterfaces.core.IBatch.addBatchForAssociation | ( | IBatch | batchAssociation, |
String | associationName | ||
) | throws CoreException [pure virtual] |
Add child batch for the given association
batchAssociation | |
associationName |
CoreException |
abstract Object com.mendix.systemwideinterfaces.core.IBatch.clone | ( | ) | throws CloneNotSupportedException [pure virtual] |
Creates a clone of this batch, is used for committing the current batch asynchronous while this batch can be used at the same time for creating or changing a new set of objects.
CloneNotSupportedException |
abstract List<IMendixIdentifier> com.mendix.systemwideinterfaces.core.IBatch.commit | ( | ) | throws CoreException [pure virtual] |
Commit the current batch
CoreException |
abstract Future<List<IMendixIdentifier> > com.mendix.systemwideinterfaces.core.IBatch.commitAsync | ( | ) | throws CoreException [pure virtual] |
Commit the current batch in a separate thread
CoreException |
abstract IMendixObject com.mendix.systemwideinterfaces.core.IBatch.getCurrentObject | ( | ) | [pure virtual] |
abstract IMendixObjectMember<?> com.mendix.systemwideinterfaces.core.IBatch.getMember | ( | String | name | ) | throws CoreException [pure virtual] |
name |
CoreException |
IBatch com.mendix.systemwideinterfaces.core.IBatch.getParentBatch | ( | ) |
abstract void com.mendix.systemwideinterfaces.core.IBatch.setMemberValue | ( | String | name, |
Object | value | ||
) | throws CoreException [pure virtual] |
Set a member value of the current object
name | |
value |
CoreException |