Mendix Runtime
Documentation for the Mendix Runtime Environment API
Deprecated List
Member com.mendix.core.Core.changeBatch (IContext context, String xpathQuery, int batchSize, boolean autoCommit)
This is no longer needed for performance, use Core.commitWithoutEvents.
Member com.mendix.core.Core.changeBatch (IContext context, List< IMendixObject > changeObjects, int batchSize, boolean autoCommit)
This is no longer needed for performance, use Core.commitWithoutEvents.
Member com.mendix.core.Core.create (IContext context, String objectType)
use Core.instantiate instead.
Member com.mendix.core.Core.createBatch (IContext context, String objectType, int batchSize, boolean autoCommit)
This is no longer needed for performance, use Core.instantiate and Core.commitWithoutEvents.
Member com.mendix.core.Core.getFileDocumentContentAsFile (IContext context, IMendixObject fileDocument)
use getFileDocumentContenxt(Context,IMendixObject) instead.
Member com.mendix.core.Core.getFormPath (String languageCode, String formName)
use Core.getFormNames() instead. File path should not be accessed directly.
Member com.mendix.core.Core.getMode ()
use Core.isInDevelopment() instead.
Member com.mendix.core.Core.getSystemContext ()
use createSystemContext instead
Member com.mendix.core.Core.isSubClassOf (String superClass, int typeHash)
Use the method call with a short as parameter instead.
Member com.mendix.core.Core.remove (IContext context, IMendixObject...objects)
Replaced by {delete(IContext, IMendixObject[])
Member com.mendix.core.Core.removeAsync (IContext context, IMendixIdentifier id, boolean useDeleteBehavior)
use Core.deleteAsync() instead. This new version does not allow passing an identifier but only objects, however within this deprecated method the object is simply retrieved using Core.retrieveId() as well. To make this perform better, you should gather ids and retrieve all objects with Core.retrieveIdList() and then use Core.deleteAsync using the list.
Member com.mendix.core.Core.removeBatch (IContext context, String objectType, int batchSize, boolean autoCommit, boolean useDeleteBehavior)
This is no longer needed for performance, use Core.deleteWithoutEvents.
Member com.mendix.systemwideinterfaces.core.IContext.getRequestId ()
use getExecutionId() instead.
Member com.mendix.systemwideinterfaces.core.IMendixIdentifier.getGuid ()
Use toLong() instead.
Member com.mendix.systemwideinterfaces.core.IMendixIdentifier.getObjectTypeHash ()
Use getEntityId() instead.
Member com.mendix.systemwideinterfaces.core.ISession.getContext ()
use createContext instead
Class com.mendix.systemwideinterfaces.utils.ReadOnlyList
use java.util.Collections.umodifiableList, java.util.Collections.unmodifiableCollection and java.util.Collections.unmodifiableMap instead.