Mendix Runtime
Documentation for the Mendix Runtime Environment API
com.mendix.systemwideinterfaces.core.IChangeBatch Interface Reference
+ Inheritance diagram for com.mendix.systemwideinterfaces.core.IChangeBatch:

List of all members.

Public Member Functions

boolean hasNext ()
IMendixObject next () throws CoreException
IMendixObject next (IMendixObject object) throws CoreException

Detailed Description

Change batches can be used to push similar changes on a big amounts of objects to the database. This is way faster than change + committing separate objects.


Member Function Documentation

boolean com.mendix.systemwideinterfaces.core.IChangeBatch.hasNext ( )
Returns:
whether the batch has a next object
IMendixObject com.mendix.systemwideinterfaces.core.IChangeBatch.next ( ) throws CoreException

This method can't be used if no set of objects is pre-loaded.

Returns:
the next object
Exceptions:
CoreException
NoSuchElementExceptionif hasNext() == false
IMendixObject com.mendix.systemwideinterfaces.core.IChangeBatch.next ( IMendixObject  object) throws CoreException

Add the given object to the change batch

Parameters:
object
Returns:
returns the given object
Exceptions:
CoreException

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