| Modifier and Type | Class and Description | 
|---|---|
static class  | 
InternalCore.Mode
Deprecated.  
 | 
| Constructor and Description | 
|---|
InternalCore(com.mendix.core.component.LocalComponent component)  | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends com.mendix.core.actionmanagement.CoreAction<?>> | 
addListener(com.mendix.core.actionmanagement.ActionListener<T> al)
Registers the given ActionListener to the ActionManager. 
 | 
void | 
addUserAction(Class<? extends UserAction<?>> userActionClass)
Add the action specified by the given action name to action registry. 
 | 
boolean | 
authenticate(IContext context,
            IUser user,
            String password)
Authenticate the given user with the given password. 
 | 
void | 
buildException(StringBuilder trace,
              Throwable e)  | 
boolean | 
change(IContext context,
      IMendixObject object,
      Map<String,String> changes)
Changes the given object in the state store (synchronously). 
 | 
Future<Boolean> | 
changeAsync(IContext context,
           IMendixObject obj,
           Map<String,String> changes)
Changes the object (asynchronously). 
 | 
IMendixObject | 
commit(IContext context,
      IMendixObject object)
Commits the given object. 
 | 
IMendixObject | 
commit(IContext context,
      IMendixObject object,
      int queryTimeout)
Commits the given object. 
 | 
List<IMendixObject> | 
commit(IContext context,
      List<IMendixObject> objects)
Commits the given objects. 
 | 
List<IMendixObject> | 
commit(IContext context,
      List<IMendixObject> objects,
      int queryTimeout)  | 
List<Future<List<IMendixObject>>> | 
commitAsync(IContext context,
           List<IMendixObject> objects)
Commits the given object (asynchronously). 
 | 
IMendixObject | 
commitWithoutEvents(IContext context,
                   IMendixObject object)
Commits the given object without events. 
 | 
IMendixObject | 
commitWithoutEvents(IContext context,
                   IMendixObject object,
                   int queryTimeout)
Commits the given object without events. 
 | 
List<IMendixObject> | 
commitWithoutEvents(IContext context,
                   List<IMendixObject> objects)
Commit the given objects without events. 
 | 
List<IMendixObject> | 
commitWithoutEvents(IContext context,
                   List<IMendixObject> objects,
                   int queryTimeout)
Commit the given objects without events. 
 | 
IDataType | 
createDataType(String type)
Creates a DataType based on a type. 
Possible types: - Boolean - Integer - Long - Float - String - Datetime - {code#id} (enumeration key) - ModuleName.ObjectName (IMendixObject) - [ModuleName.ObjectName] (List  | 
IDataType | 
createDataType(String objectType,
              String attributeName)
Creates a DataType based on an object type and a attribute name 
 | 
IMendixIdentifier | 
createMendixIdentifier(long guid)
Creates a new IMendixIdentifier for the given guid. 
 | 
IMendixIdentifier | 
createMendixIdentifier(String guid)
Creates a IMendixIdentifier for the given guid. 
 | 
IMetaAssociationSchema | 
createMetaAssociationSchema(String metaAssociationName,
                           IRetrievalSchema retrievalSchema)
Create a new IMetaAssociationSchema to specify which associations must be retrieved. 
 | 
IOQLTextGetRequest | 
createOQLTextGetRequest()
Create a new IOQLTextGetRequest. 
 | 
IRetrievalSchema | 
createRetrievalSchema()
Create a new IRetrievalSchema. 
 | 
IContext | 
createSystemContext()
Returns the context of the system session (this is always a sudo context). 
 | 
IXPathTextGetRequest | 
createXPathTextGetRequest()
Create a new IXPathTextGetRequest. 
 | 
boolean | 
delete(IContext context,
      IMendixObject... objects)
Deletes the given objects from the database and server state store (synchronously). 
 | 
boolean | 
delete(IContext context,
      int queryTimeout,
      IMendixObject... objects)
Deletes the given objects from the database and server state store (synchronously). 
 | 
boolean | 
delete(IContext context,
      List<IMendixObject> objectList)
Deletes the given objects from the database and server state store (synchronously). 
 | 
List<Future<Boolean>> | 
deleteAsync(IContext context,
           IMendixObject object,
           boolean useDeleteBehavior)
Deletes the given object from the database and server state store (asynchronously). 
 | 
List<Future<Boolean>> | 
deleteAsync(IContext context,
           List<IMendixObject> objects,
           boolean useDeleteBehavior)
Deletes the given object from the database and server state store (asynchronously). 
 | 
boolean | 
deleteWithoutEvents(IContext context,
                   List<IMendixObject> objects,
                   boolean useDeleteBehavior)
Deletes the given objects from the database and server state store (synchronously) without events This action is executed in a transaction. 
 | 
Object | 
evaluateExpression(IContext context,
                  Map<String,Object> variables,
                  String expression)
Evaluate the given (microflow)expression. 
 | 
<R> R | 
execute(IContext context,
       String actionName,
       boolean executeInTransaction,
       Map<String,Object> params)
Execute the specified action (synchronously). 
 | 
<R> R | 
execute(IContext context,
       String actionName,
       Map<String,Object> params)
Execute the specified action (synchronously). 
 | 
<R> R | 
execute(IContext context,
       String actionName,
       Object... params)  | 
<T extends com.mendix.core.actionmanagement.CoreAction<R>,R> | 
execute(T action)
Execute an action asynchronously, result is given and/or exceptions are raised when calling Future.get(). 
 | 
<R> Future<R> | 
executeAsync(IContext context,
            String microflowName,
            long asyncId,
            boolean executeInTransaction,
            Map<String,Object> params)
Execute the specified microflow (asynchronously). 
 | 
<R> Future<R> | 
executeAsync(IContext context,
            String actionName,
            long asyncId,
            Object... params)
Execute the specified action (asynchronously)
 Result is given and/or exceptions are raised when calling Future.get(). 
 | 
<R> Future<R> | 
executeAsync(IContext context,
            String actionName,
            Object... params)
Execute the specified action (asynchronously)
 Result is given and/or exceptions are raised when calling Future.get(). 
 | 
<T extends ICoreAction<R>,R> | 
executeSync(T action)
Execute an action synchronously. 
 | 
<T extends com.mendix.core.actionmanagement.CoreAction<R>,R> | 
executeVoid(T action)
Execute the specified action (asynchronously). 
 | 
int | 
getActionQueueSize()
Returns the current action pool queue size. 
 | 
int | 
getActiveActionCount()
Returns the current number of active actions. 
 | 
ISession | 
getActiveSession(String userName)  | 
Collection<? extends ISession> | 
getActiveSessions()  | 
Iterable<IMendixObject> | 
getAllMendixObjects()
Get all IMendixObject types. 
 | 
long | 
getCompletedActionCount()
Returns the number of completed actions since server startup. 
 | 
long | 
getConcurrentUserCount(boolean anonymous)
The current number of concurrent users. 
 | 
Configuration | 
getConfiguration()  | 
int | 
getCurrentPoolSize()
Returns the current action pool size. 
 | 
String | 
getDatabaseChildColumnName(IMetaAssociation iMetaAssociation)  | 
String | 
getDatabaseColumnName(IMetaPrimitive iMetaPrimitive)  | 
String | 
getDatabaseParentColumnName(IMetaAssociation iMetaAssociation)  | 
String | 
getDatabaseTableName(IMetaAssociation iMetaAssociation)  | 
String | 
getDatabaseTableName(IMetaObject iMetaObject)  | 
ILanguage | 
getDefaultLanguage()
Returns the default language of the loaded project. 
 | 
InputStream | 
getFileDocumentContent(IContext context,
                      IMendixObject fileDocument)
Returns contents of a file document as an input stream. 
 | 
InputStream | 
getImage(IContext context,
        IMendixObject imageDocument,
        boolean retrieveThumbnail)
Retrieve contents of the given image document. 
 | 
Map<String,IDataType> | 
getInputParameters(String actionName)
Returns all input parameter data types the specified action by name. 
 | 
String | 
getInternationalizedString(IContext context,
                          String key,
                          Object... args)
Returns the translated string for a certain key and context. 
 | 
String | 
getInternationalizedString(String languageCode,
                          String key,
                          Object... args)
Returns the translated string for a certain key and language code. 
 | 
int | 
getLargestPoolSize()
Returns the largest action pool size. 
 | 
Locale | 
getLocale(IContext context)
Retrieve locale using the given context. 
 | 
Locale | 
getLocale(String languageCode)
Retrieve locale using the given language code (e.g. 
 | 
com.mendix.logging.ILogNode | 
getLogger(String name)  | 
int | 
getMaximumNumberConcurrentUsers()
Returns the maximum number of concurrent users since the server was started. 
 | 
IMetaAssociation | 
getMetaAssociation(String association)
Get the IMetaAssociation corresponding to the given association name. 
 | 
Iterable<IMetaAssociation> | 
getMetaAssociations()
Get all IMetaAssociations. 
 | 
IMetaObject | 
getMetaObject(String metaObjectName)
Get the IMetaObject corresponding to the given meta object name. 
 | 
Iterable<IMetaObject> | 
getMetaObjects()
Get all IMetaObjects. 
 | 
IMetaPrimitive | 
getMetaPrimitive(String qualifiedAttributeName)
Get the IMetaPrimtive based on a qualified attribute name (e.g. 
 | 
Set<String> | 
getMicroflowNames()
Returns the names of all modeled microflows. 
 | 
static InternalCore.Mode | 
getMode()
Deprecated. 
 
use Core.isInDevelopment() instead. 
 | 
long | 
getNamedUserCount()  | 
long | 
getNumberConcurrentSessions()
Returns current number of concurrent sessions. 
 | 
IProfiler | 
getProfiler()  | 
IDataType | 
getReturnType(String actionName)
Returns the return type of the specified action. 
 | 
int | 
getScheduledActionCount()
Returns the number of actions currently scheduled for future execution. 
 | 
Date | 
getStartupDateTime()
Returns the startup date time of the Mendix Business Server. 
 | 
List<String> | 
getSubtypesOf(String objectType)
Get all subtypes for an object type (including subtypes of subtypes, etc.). 
 | 
com.mendix.core.session.User | 
getUser(IContext context,
       String userName)
Returns a user using the given user name. 
 | 
String | 
getXASId()
Returns the id of this server instance. 
 | 
ISession | 
initializeGuestSession()
Initialize a new session for a guest user 
 | 
ISession | 
initializeSession(IUser user,
                 String currentSessionId)
Initialize a new session for the given user. 
 | 
IMendixObject | 
instantiate(IContext context,
           String objectType)
Creates a new IMendixObject with the given object type (synchronously). 
 | 
Future<IMendixObject> | 
instantiateAsync(IContext context,
                String objectType)
Creates a new IMendixObject with the given object type (asynchronously). 
 | 
boolean | 
isInDevelopment()  | 
boolean | 
isSubClassOf(IMetaObject superObject,
            IMetaObject type)
Checks whether a type is a subclass of or equal to a potential super class. 
 | 
boolean | 
isSubClassOf(String superClass,
            short typeHash)
Checks whether a type is a subclass of or equal to a potential super class. 
 | 
boolean | 
isSubClassOf(String superClass,
            String type)
Checks whether a type is a subclass of or equal to a potential super class. 
 | 
ISession | 
login(Map<String,? extends Object> params)
Generic login method (can be used in modules in combination with LoginAction replacement). 
 | 
ISession | 
login(String userName,
     String password)
Login user with the given user name and password. 
 | 
ISession | 
login(String userName,
     String password,
     com.mendix.m2ee.api.IMxRuntimeRequest request)  | 
ISession | 
login(String userName,
     String password,
     String currentSessionId)
Login user with the given parameters. 
 | 
void | 
logout(ISession session)
Logout the given session. 
 | 
void | 
registerLogSubscriber(com.mendix.logging.LogSubscriber subscriber)  | 
void | 
registerProfiler(IProfiler profiler)  | 
Future<Boolean> | 
removeAsync(IContext context,
           IMendixIdentifier id,
           boolean useDeleteBehavior)
Deprecated.  
 | 
boolean | 
removeScheduledFuture(RunnableScheduledFuture<?> scheduledFuture)
Remove scheduled future. 
 | 
<R> ScheduledFuture<?> | 
reschedule(RunnableScheduledFuture<R> scheduledFuture,
          com.mendix.core.actionmanagement.CoreAction<R> action,
          long newDelay,
          TimeUnit timeUnit)
Reschedule an action with a new delay. 
 | 
Object | 
resolveTokens(IContext context,
             String text)
Resolve tokens (Mendix system variables) in the given text. 
 | 
List<IMendixObject> | 
retrieveByIdWithSchema(IContext context,
                      IMendixIdentifier id,
                      IRetrievalSchema schema)  | 
List<IMendixObject> | 
retrieveByPath(IContext context,
              IMendixObject mxObject,
              String path)
Retrieves objects using the given object and path. 
 | 
List<IMendixObject> | 
retrieveByPath(IContext context,
              IMendixObject mxObject,
              String path,
              boolean isSelfAssociationChild)
Retrieves objects using the given object and path. 
 | 
IMendixObject | 
retrieveId(IContext context,
          IMendixIdentifier id)
Retrieves object with the given id (synchronously). 
 | 
Future<IMendixObject> | 
retrieveIdAsync(IContext context,
               IMendixIdentifier id)
Retrieves object with the given id (asynchronously). 
 | 
List<IMendixObject> | 
retrieveIdList(IContext context,
              List<IMendixIdentifier> ids)
Retrieves objects with the given ids (synchronously). 
 | 
List<IMendixObject> | 
retrieveIdList(IContext context,
              List<IMendixIdentifier> ids,
              int amount,
              int offset,
              Map<String,String> sort)
Retrieves objects with the given ids (synchronously). 
 | 
Future<List<IMendixObject>> | 
retrieveIdListAsync(IContext context,
                   List<IMendixIdentifier> ids)
Retrieves objects with the given ids (asynchronously). 
 | 
IDataTable | 
retrieveOQLDataTable(IContext context,
                    IGetRequest request)
Retrieve raw data (IDataTable) using an IGetRequest object (synchronously). 
 | 
IDataTable | 
retrieveOQLDataTable(IContext context,
                    String oqlQuery)
Retrieve raw data (IDataTable) using an IGetRequest object (synchronously). 
 | 
IDataTable | 
retrieveOQLDataTable(IContext context,
                    String oqlQuery,
                    int amount,
                    int offset)
Retrieve raw data (IDataTable) using an OQL query (asynchronously). 
 | 
Future<IDataTable> | 
retrieveOQLDataTableAsync(IContext context,
                         IGetRequest request)
Retrieve raw data (IDataTable) using an IGetRequest object (asynchronously). 
 | 
Future<IDataTable> | 
retrieveOQLDataTableAsync(IContext context,
                         String oqlQuery)
Retrieve raw data (IDataTable) using an OQL query (asynchronously). 
 | 
Future<IDataTable> | 
retrieveOQLDataTableAsync(IContext context,
                         String oqlQuery,
                         int amount,
                         int offset)
Retrieve raw data (IDataTable) using an OQL query (asynchronously). 
 | 
List<IMendixObject> | 
retrieveXPathQuery(IContext context,
                  String xpathQuery)
Retrieves object list based on the given XPath query (synchronously). 
 | 
List<IMendixObject> | 
retrieveXPathQuery(IContext context,
                  String xpathQuery,
                  int amount,
                  int offset,
                  Map<String,String> sort)
Retrieves object list based on the given XPath query (synchronously). 
 | 
List<IMendixObject> | 
retrieveXPathQuery(IContext context,
                  String xpathQuery,
                  int amount,
                  int offset,
                  Map<String,String> sort,
                  int depth)
Retrieves object list based on the given XPath query (synchronously). 
 | 
List<IMendixObject> | 
retrieveXPathQuery(IContext context,
                  String xpathQuery,
                  int amount,
                  int offset,
                  Map<String,String> sort,
                  int depth,
                  int timeout)  | 
Long | 
retrieveXPathQueryAggregate(IContext context,
                           String xpathQuery)
Retrieves long aggregate value based on the given query (root element of the query should be an aggregate function) (synchronously). 
 | 
Future<Long> | 
retrieveXPathQueryAggregateAsync(IContext context,
                                String xpathQuery)
Retrieves long aggregate value based on the given query (root element of the query should be an aggregate function) (asynchronously). 
 | 
Future<Double> | 
retrieveXPathQueryAggregateAsyncDouble(IContext context,
                                      String xpathQuery)
Retrieves long value based on the given query (query should have an aggregate function as root element) 
 | 
Double | 
retrieveXPathQueryAggregateDouble(IContext context,
                                 String xpathQuery)
Retrieves double aggregate value based on the given query (root element of the query should be an aggregate function) (synchronously). 
 | 
Long | 
retrieveXPathQueryAggregateSchema(IContext context,
                                 String xpathQuery,
                                 IRetrievalSchema retrievalSchema)
Retrieves long aggregate value based on the given query and schema (root element of the query should be an aggregate function) (asynchronously). 
 | 
Long | 
retrieveXPathQueryAggregateSchema(IContext context,
                                 String xpathQuery,
                                 IRetrievalSchema retrievalSchema,
                                 boolean disableSecurity)
Retrieves long aggregate value based on the given query and schema (root element of the query should be an aggregate function) (asynchronously). 
 | 
Future<List<IMendixObject>> | 
retrieveXPathQueryAsync(IContext context,
                       String xpathQuery,
                       int amount,
                       int offset,
                       Map<String,String> sort,
                       int depth)
Retrieves object list based on the given XPath query (asynchronously). 
 | 
List<IMendixObject> | 
retrieveXPathQueryEscaped(IContext context,
                         String xpathFormat,
                         int amount,
                         int offset,
                         Map<String,String> sort,
                         int depth,
                         String... params)
Retrieves object list based on the given XPath query (synchronously). 
 | 
List<IMendixObject> | 
retrieveXPathQueryEscaped(IContext context,
                         String xpathFormat,
                         String... params)
Retrieves object list based on the given XPath query (synchronously). 
 | 
IDataTable | 
retrieveXPathQueryRaw(IContext context,
                     String xpathQuery,
                     int amount,
                     int offset,
                     Map<String,String> sort,
                     int depth)
Retrieves raw data (IDataTables) based on the given XPath query (synchronously). 
 | 
List<IMendixObject> | 
retrieveXPathSchema(IContext context,
                   String xpathQuery,
                   IRetrievalSchema retrievalSchema,
                   boolean shouldRetrieveCount,
                   boolean disableSecurity)
Retrieves objects based on the XPath query and given schema (synchronously). 
 | 
List<IMendixObject> | 
retrieveXPathSchemaEscaped(IContext context,
                          String xpathFormat,
                          IRetrievalSchema retrievalSchema,
                          boolean shouldRetrieveCount,
                          boolean disableSecurity,
                          String... params)
Retrieves object list based on the given XPath query (synchronously). 
 | 
IDataTable | 
retrieveXPathSchemaRaw(IContext context,
                      String xpathQuery,
                      boolean shouldRetrieveCount,
                      IRetrievalSchema retrievalSchema)
Retrieves raw data (IDataTables) based on the XPath query and given schema (synchronously). 
 | 
IMendixObject | 
rollback(IContext context,
        IMendixIdentifier id)
Deprecated.  
 | 
IMendixObject | 
rollback(IContext context,
        IMendixObject object)
Rollback changes of the object with the given id (synchronously). 
 | 
Future<IMendixObject> | 
rollbackAsync(IContext context,
             IMendixIdentifier id)
Deprecated.  
 | 
Future<IMendixObject> | 
rollbackAsync(IContext context,
             IMendixObject object)
Rollback changes of the object with the given id (asynchronously). 
 | 
<R> RunnableScheduledFuture<?> | 
schedule(com.mendix.core.actionmanagement.CoreAction<R> action,
        long delay,
        TimeUnit timeUnit)
Schedule an action on a certain delay from now. 
 | 
RunnableScheduledFuture<?> | 
schedule(String actionName,
        Date date)
Schedule an action on a certain date. 
 | 
<R> void | 
scheduleAtFixedRate(com.mendix.core.actionmanagement.CoreAction<R> action,
                   Date firstRun,
                   long period,
                   TimeUnit timeUnit)
Schedule a periodic action that run for the first time on the given date/time, and subsequently with the given period; that is executions will commence on firstRun then initialDelay+period,
 then initialDelay + 2 * period, and so on. 
No result will be returned.  | 
<R> void | 
scheduleAtFixedRate(com.mendix.core.actionmanagement.CoreAction<R> action,
                   long initialDelay,
                   long period,
                   TimeUnit timeUnit)
Schedule a periodic action that runs for the first time after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then
 initialDelay+period, then initialDelay + 2 * period, and so on. 
 | 
void | 
scheduleAtFixedRate(String actionName,
                   Date firstRun,
                   long period,
                   TimeUnit timeUnit,
                   String name,
                   String description)
Schedule a periodic action that runs for the first time after the given initial delay (first run), and subsequently with the given period; that is executions will commence after initialDelay
 then initialDelay+period, then initialDelay + 2 * period, and so on. 
 | 
<R> void | 
scheduleWithFixedDelay(com.mendix.core.actionmanagement.CoreAction<R> action,
                      long initialDelay,
                      long delay,
                      TimeUnit timeUnit)
Schedule a periodic action that runs for the first time after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the
 next. 
 | 
void | 
storeFileDocumentContent(IContext context,
                        IMendixObject fileDocument,
                        InputStream inputStream)
Physically stores a file using the given input stream and commits the file document. 
 | 
void | 
storeFileDocumentContent(IContext context,
                        IMendixObject fileDocument,
                        String fileName,
                        InputStream inputStream)
Physically stores a file using the given input stream and commits the file document. 
 | 
void | 
storeImageDocumentContent(IContext context,
                         IMendixObject imageDocument,
                         InputStream inputStream,
                         int thumbnailWidth,
                         int thumbnailHeight)
Physically stores an image using the given input stream and commits the image document. 
 | 
void | 
unregisterProfiler()  | 
public InternalCore(com.mendix.core.component.LocalComponent component)
@Deprecated public static InternalCore.Mode getMode()
public <T extends com.mendix.core.actionmanagement.CoreAction<?>> void addListener(com.mendix.core.actionmanagement.ActionListener<T> al)
ICoreaddListener in interface ICoreal - the ActionListener to add.public void addUserAction(Class<? extends UserAction<?>> userActionClass)
ICoreexecute(actionName) for this action.addUserAction in interface ICoreuserActionClass - the action (e.g. com.mendix.action.MyAction).public boolean authenticate(IContext context, IUser user, String password) throws com.mendix.core.CoreException
ICoreauthenticate in interface ICoreuser - the user.password - the password.com.mendix.core.CoreExceptionpublic void buildException(StringBuilder trace, Throwable e)
buildException in interface ICorepublic boolean change(IContext context, IMendixObject object, Map<String,String> changes) throws com.mendix.core.CoreException
ICorepublic Future<Boolean> changeAsync(IContext context, IMendixObject obj, Map<String,String> changes)
ICorechangeAsync in interface ICorecontext - the context.obj - the MendixObject to changechanges - contains changes by member name (e.g. <"Name", "User1">).public IMendixObject commit(IContext context, IMendixObject object) throws com.mendix.core.CoreException
ICorepublic List<IMendixObject> commit(IContext context, List<IMendixObject> objects)
ICorepublic IMendixObject commit(IContext context, IMendixObject object, int queryTimeout)
ICorepublic List<Future<List<IMendixObject>>> commitAsync(IContext context, List<IMendixObject> objects)
ICorecommitAsync in interface ICorecontext - the contextobjects - the instances of IMendixObject to commit.public List<IMendixObject> commit(IContext context, List<IMendixObject> objects, int queryTimeout)
public IMendixObject commitWithoutEvents(IContext context, IMendixObject object)
ICorecommitWithoutEvents in interface ICorecontext - the context.object - the IMendixObject to commit.public IMendixObject commitWithoutEvents(IContext context, IMendixObject object, int queryTimeout)
ICorecommitWithoutEvents in interface ICorecontext - the context.object - the IMendixObject to commit.queryTimeout - the timeout for queries related to this commit.public List<IMendixObject> commitWithoutEvents(IContext context, List<IMendixObject> objects)
ICorecommitWithoutEvents in interface ICorecontext - the context.objects - the objects to commit.public List<IMendixObject> commitWithoutEvents(IContext context, List<IMendixObject> objects, int queryTimeout)
ICorecommitWithoutEvents in interface ICorecontext - the context.objects - the objects to commit.queryTimeout - the query timeout.public IDataType createDataType(String type)
ICorecreateDataType in interface ICoretype - the type to base the IDataType on.public IDataType createDataType(String objectType, String attributeName)
ICorecreateDataType in interface ICoreobjectType - the object type (format: "ModuleName.EntityName").attributeName - the attribute to create the IDataType for (should be a member of above object type)public IMendixIdentifier createMendixIdentifier(long guid)
ICorecreateMendixIdentifier in interface ICoreguid - the guid.public IMendixIdentifier createMendixIdentifier(String guid)
ICorecreateMendixIdentifier in interface ICoreguid - the guid.public IMetaAssociationSchema createMetaAssociationSchema(String metaAssociationName, IRetrievalSchema retrievalSchema)
ICorecreateMetaAssociationSchema in interface ICoremetaAssociationName - the name of the meta association of this schemaretrievalSchema - the retrieval schema of the associated meta objectpublic IOQLTextGetRequest createOQLTextGetRequest()
ICorecreateOQLTextGetRequest in interface ICorepublic IRetrievalSchema createRetrievalSchema()
ICorecreateRetrievalSchema in interface ICorepublic IContext createSystemContext()
ICorecreateSystemContext in interface ICorepublic IXPathTextGetRequest createXPathTextGetRequest()
ICorecreateXPathTextGetRequest in interface ICorepublic boolean delete(IContext context, IMendixObject... objects)
ICorepublic boolean delete(IContext context, int queryTimeout, IMendixObject... objects)
ICorepublic boolean delete(IContext context, List<IMendixObject> objectList)
ICorepublic List<Future<Boolean>> deleteAsync(IContext context, IMendixObject object, boolean useDeleteBehavior)
ICoredeleteAsync in interface ICorecontext - the context.object - the object to delete.useDeleteBehavior - whether to use delete behavior.public List<Future<Boolean>> deleteAsync(IContext context, List<IMendixObject> objects, boolean useDeleteBehavior)
ICoredeleteAsync in interface ICorecontext - the context.objects - the objects to delete.useDeleteBehavior - whether to use delete behavior.public boolean deleteWithoutEvents(IContext context, List<IMendixObject> objects, boolean useDeleteBehavior)
ICoredeleteWithoutEvents in interface ICorecontext - the context.objects - the objects to delete.useDeleteBehavior - whether to use delete behavior.public Object evaluateExpression(IContext context, Map<String,Object> variables, String expression)
ICoreevaluateExpression in interface ICorecontext - the context.variables - name of variables referenced in the expression (without '$') and their values.expression - the expressionpublic <R> R execute(IContext context, String actionName, boolean executeInTransaction, Map<String,Object> params) throws com.mendix.core.CoreException
ICoreexecute in interface ICorecontext - the context for this action.actionName - the name of a microflow or java action (format "ModuleName.ActionName").executeInTransaction - defines whether the action should be execute in a transaction (enables rolling back changes when exceptions are raised).params - action parameters by name.com.mendix.core.CoreExceptionpublic <R> R execute(IContext context, String actionName, Map<String,Object> params) throws com.mendix.core.CoreException
ICorepublic <R> R execute(IContext context, String actionName, Object... params) throws com.mendix.core.CoreException
public <T extends com.mendix.core.actionmanagement.CoreAction<R>,R> Future<R> execute(T action)
ICorepublic <R> Future<R> executeAsync(IContext context, String microflowName, long asyncId, boolean executeInTransaction, Map<String,Object> params) throws com.mendix.core.CoreException
ICoreexecuteAsync in interface ICorecontext - the context for this microflow.microflowName - the name of the microflow (format "ModuleName.ActionName").asyncId - async id of this microflow.executeInTransaction - defines whether the microflow should be executed in a transaction (enables rolling back changes when exceptions are raised).params - microflow parameters by name.com.mendix.core.CoreExceptionpublic <R> Future<R> executeAsync(IContext context, String actionName, long asyncId, Object... params) throws com.mendix.core.CoreException
ICoreexecuteAsync in interface ICorecontext - the context for this action.actionName - the name of a microflow or java action (format "ModuleName.ActionName").asyncId - the asyncId this action has.params - for microflows: add IMendixObject, IMendixIdentifier or primitive parameters.
                   for Java actions: add any object parameters.com.mendix.core.CoreExceptionpublic <R> Future<R> executeAsync(IContext context, String actionName, Object... params) throws com.mendix.core.CoreException
ICoreexecuteAsync in interface ICorecontext - the context for this action.actionName - the name of a microflow or java action (format "ModuleName.ActionName").params - for microflows: add IMendixObject, IMendixIdentifier or primitive parameters.
                   for Java actions: add any object parameters.com.mendix.core.CoreExceptionpublic <T extends ICoreAction<R>,R> R executeSync(T action) throws com.mendix.core.CoreException
ICoreexecuteSync in interface ICoreT - action type, subclass of CoreAction.R - result type of action, can be any object.action - the action to execute.com.mendix.core.CoreExceptionpublic <T extends com.mendix.core.actionmanagement.CoreAction<R>,R> void executeVoid(T action)
ICoreexecuteVoid in interface ICoreT - action type, subclass of CoreAction.R - result type of the action, can be any object.action - the action to execute.public int getActionQueueSize()
ICoregetActionQueueSize in interface ICorepublic int getActiveActionCount()
ICoregetActiveActionCount in interface ICorepublic ISession getActiveSession(String userName)
getActiveSession in interface ICoreuserName - the user name associated with the session to search for.public Collection<? extends ISession> getActiveSessions()
getActiveSessions in interface ICorepublic Iterable<IMendixObject> getAllMendixObjects()
ICoregetAllMendixObjects in interface ICorepublic long getCompletedActionCount()
ICoregetCompletedActionCount in interface ICorepublic long getConcurrentUserCount(boolean anonymous)
ICoregetConcurrentUserCount in interface ICoreanonymous - whether anonymous users should be included in the count.public Configuration getConfiguration()
getConfiguration in interface ICorepublic int getCurrentPoolSize()
ICoregetCurrentPoolSize in interface ICorepublic String getDatabaseChildColumnName(IMetaAssociation iMetaAssociation)
getDatabaseChildColumnName in interface ICoreiMetaAssociation - the meta association to get the database child column name forpublic String getDatabaseColumnName(IMetaPrimitive iMetaPrimitive)
getDatabaseColumnName in interface ICoreiMetaPrimitive - the meta primitive to get the database column name forpublic String getDatabaseParentColumnName(IMetaAssociation iMetaAssociation)
getDatabaseParentColumnName in interface ICoreiMetaAssociation - the meta association to get the database parent column name forpublic String getDatabaseTableName(IMetaObject iMetaObject)
getDatabaseTableName in interface ICoreiMetaObject - the meta object to get the database table name forpublic String getDatabaseTableName(IMetaAssociation iMetaAssociation)
getDatabaseTableName in interface ICoreiMetaAssociation - the meta association to get the database table name forpublic ILanguage getDefaultLanguage()
ICoregetDefaultLanguage in interface ICorepublic InputStream getFileDocumentContent(IContext context, IMendixObject fileDocument)
ICoregetFileDocumentContent in interface ICorecontext - the context.fileDocument - the file document from which the contents will be returned.public InputStream getImage(IContext context, IMendixObject imageDocument, boolean retrieveThumbnail)
ICorepublic Map<String,IDataType> getInputParameters(String actionName)
ICoregetInputParameters in interface ICoreactionName - the name of a microflow or java action (format "ModuleName.ActionName").public String getInternationalizedString(IContext context, String key, Object... args)
ICoregetInternationalizedString in interface ICorecontext - the context.key - the key referring to the translatable string.args - the arguments which should be applied to translatable string template.public String getInternationalizedString(String languageCode, String key, Object... args)
ICoregetInternationalizedString in interface ICorelanguageCode - the language code (ISO-639).key - the key referring to the translatable string.args - values which should replace possible templates in the translatable string ({1}, {2}, etc.).public int getLargestPoolSize()
ICoregetLargestPoolSize in interface ICorepublic Locale getLocale(IContext context)
ICorepublic Locale getLocale(String languageCode)
ICorepublic int getMaximumNumberConcurrentUsers()
                                    throws com.mendix.core.CoreException
ICoregetMaximumNumberConcurrentUsers in interface ICorecom.mendix.core.CoreExceptionpublic IMetaAssociation getMetaAssociation(String association)
ICoregetMetaAssociation in interface ICoreassociation - the association name (e.g. "System.UserRoles").public Iterable<IMetaAssociation> getMetaAssociations()
ICoregetMetaAssociations in interface ICorepublic IMetaObject getMetaObject(String metaObjectName)
ICoregetMetaObject in interface ICoremetaObjectName - the meta object name.public Iterable<IMetaObject> getMetaObjects()
ICoregetMetaObjects in interface ICorepublic IMetaPrimitive getMetaPrimitive(String qualifiedAttributeName)
ICoregetMetaPrimitive in interface ICorequalifiedAttributeName - the qualified attribute name.public Set<String> getMicroflowNames()
ICoregetMicroflowNames in interface ICorepublic long getNamedUserCount()
getNamedUserCount in interface ICorepublic long getNumberConcurrentSessions()
ICoregetNumberConcurrentSessions in interface ICorepublic IProfiler getProfiler()
getProfiler in interface ICorepublic IDataType getReturnType(String actionName)
ICoregetReturnType in interface ICoreactionName - the name of a microflow or java action (format "ModuleName.ActionName").public int getScheduledActionCount()
ICoregetScheduledActionCount in interface ICorepublic Date getStartupDateTime()
ICoregetStartupDateTime in interface ICorepublic List<String> getSubtypesOf(String objectType)
ICoregetSubtypesOf in interface ICoreobjectType - the object type.public com.mendix.core.session.User getUser(IContext context, String userName) throws com.mendix.core.CoreException
ICorepublic String getXASId()
ICorepublic com.mendix.logging.ILogNode getLogger(String name)
public ISession initializeGuestSession() throws com.mendix.core.CoreException
ICoreinitializeGuestSession in interface ICorecom.mendix.core.CoreExceptionpublic ISession initializeSession(IUser user, String currentSessionId) throws com.mendix.core.CoreException
ICoreinitializeSession in interface ICoreuser - the user for which the session should be initialized.currentSessionId - id of the current session, will be used to transfer data when current session is associated with a guest user.com.mendix.core.CoreExceptionpublic IMendixObject instantiate(IContext context, String objectType)
ICoreinstantiate in interface ICorecontext - the context.objectType - type of object to create (e.g. "System.User").public Future<IMendixObject> instantiateAsync(IContext context, String objectType)
ICoreinstantiateAsync in interface ICorecontext - the context.objectType - type of object to create (e.g. "System.User").public boolean isInDevelopment()
isInDevelopment in interface ICorepublic boolean isSubClassOf(IMetaObject superObject, IMetaObject type)
ICoreisSubClassOf in interface ICoresuperObject - the super object.type - the name of the type to check.public boolean isSubClassOf(String superClass, short typeHash)
ICoreisSubClassOf in interface ICoresuperClass - the name of the super classtypeHash - the hash of the name of the type to checkpublic boolean isSubClassOf(String superClass, String type)
ICoreisSubClassOf in interface ICoresuperClass - the name of the super classtype - the name of the type to checkpublic ISession login(Map<String,? extends Object> params) throws com.mendix.core.CoreException
ICorepublic ISession login(String userName, String password) throws com.mendix.core.CoreException
ICorepublic ISession login(String userName, String password, com.mendix.m2ee.api.IMxRuntimeRequest request) throws com.mendix.core.CoreException
public ISession login(String userName, String password, String currentSessionId) throws com.mendix.core.CoreException
ICorepublic void logout(ISession session)
ICorepublic void registerLogSubscriber(com.mendix.logging.LogSubscriber subscriber)
registerLogSubscriber in interface ICorepublic void registerProfiler(IProfiler profiler) throws MendixException
registerProfiler in interface ICoreMendixExceptionpublic boolean removeScheduledFuture(RunnableScheduledFuture<?> scheduledFuture)
ICoreremoveScheduledFuture in interface ICorescheduledFuture - the RunnableScheduledFuture to remove.public <R> ScheduledFuture<?> reschedule(RunnableScheduledFuture<R> scheduledFuture, com.mendix.core.actionmanagement.CoreAction<R> action, long newDelay, TimeUnit timeUnit)
ICorereschedule in interface ICorescheduledFuture - the scheduledFuture (old action) to remove from the queue.action - the action to reschedule.newDelay - the new delay.timeUnit - time unit of the delay.public Object resolveTokens(IContext context, String text)
ICoreresolveTokens in interface ICorecontext - the context.text - the text to resolve.public List<IMendixObject> retrieveByIdWithSchema(IContext context, IMendixIdentifier id, IRetrievalSchema schema)
retrieveByIdWithSchema in interface ICorepublic List<IMendixObject> retrieveByPath(IContext context, IMendixObject mxObject, String path)
ICoreretrieveByPath in interface ICorecontext - the context.mxObject - the start point of the path.path - the path (association) to the objects to retrieve.public List<IMendixObject> retrieveByPath(IContext context, IMendixObject mxObject, String path, boolean isSelfAssociationChild)
ICoreretrieveByPath in interface ICorecontext - the context.mxObject - the start point of the path.path - the path (association) to the objects to retrieve.isSelfAssociationChild - defines whether the mxObject instance is the child of the path of a self association.public IMendixObject retrieveId(IContext context, IMendixIdentifier id) throws com.mendix.core.CoreException
ICoreretrieveId in interface ICorecontext - the context.id - id of the object to retrieve.com.mendix.core.CoreExceptionpublic Future<IMendixObject> retrieveIdAsync(IContext context, IMendixIdentifier id)
ICoreretrieveIdAsync in interface ICorecontext - the context.id - id of the object to retrieve.public List<IMendixObject> retrieveIdList(IContext context, List<IMendixIdentifier> ids) throws com.mendix.core.CoreException
ICoreretrieveIdList in interface ICorecontext - the context.ids - ids of the objects to retrieve.com.mendix.core.CoreExceptionpublic List<IMendixObject> retrieveIdList(IContext context, List<IMendixIdentifier> ids, int amount, int offset, Map<String,String> sort) throws com.mendix.core.CoreException
ICoreretrieveIdList in interface ICorecontext - the context.ids - ids of the objects to retrieve.amount - the maximum number of objects to retrieve from the database.offset - offset of returned objects when retrieved from the database.sort - sorting of returned objects when retrieved from the database (e.g. <"Name", "ASC">, <"Age", "DESC">).com.mendix.core.CoreExceptionpublic Future<List<IMendixObject>> retrieveIdListAsync(IContext context, List<IMendixIdentifier> ids)
ICoreretrieveIdListAsync in interface ICorecontext - the context.ids - ids of the objects to retrieve.public IDataTable retrieveOQLDataTable(IContext context, String oqlQuery, int amount, int offset) throws com.mendix.core.CoreException
ICoreretrieveOQLDataTable in interface ICorecontext - the context.oqlQuery - the OQL query to execute.amount - maximum number of objects to retrieve.offset - index of first object to retrieve.com.mendix.core.CoreExceptionpublic IDataTable retrieveOQLDataTable(IContext context, IGetRequest request) throws com.mendix.core.CoreException
ICoreretrieveOQLDataTable in interface ICorecontext - the context.request - the request object.com.mendix.core.CoreExceptionpublic IDataTable retrieveOQLDataTable(IContext context, String oqlQuery) throws com.mendix.core.CoreException
ICoreretrieveOQLDataTable in interface ICorecontext - the context.oqlQuery - the OQL query to execute.com.mendix.core.CoreExceptionpublic Future<IDataTable> retrieveOQLDataTableAsync(IContext context, String oqlQuery)
ICoreretrieveOQLDataTableAsync in interface ICorecontext - the context.oqlQuery - the OQL query to execute.public Future<IDataTable> retrieveOQLDataTableAsync(IContext context, IGetRequest request)
ICoreretrieveOQLDataTableAsync in interface ICorecontext - the context.request - the request object.public Future<IDataTable> retrieveOQLDataTableAsync(IContext context, String oqlQuery, int amount, int offset)
ICoreretrieveOQLDataTableAsync in interface ICorecontext - the context.oqlQuery - the OQL query to execute.amount - maximum number of objects to retrieve.offset - index of first object to retrieve.public List<IMendixObject> retrieveXPathQuery(IContext context, String xpathQuery, int amount, int offset, Map<String,String> sort) throws com.mendix.core.CoreException
ICoreretrieveXPathQuery in interface ICorecontext - the context.xpathQuery - the XPath query to execute.amount - maximum number of objects to retrieve.offset - index of first object to retrieve.sort - sorting of returned objects when retrieved from the database (e.g. <"Name", "ASC">, <"Age", "DESC">).com.mendix.core.CoreExceptionpublic Long retrieveXPathQueryAggregate(IContext context, String xpathQuery) throws com.mendix.core.CoreException
ICoreretrieveXPathQueryAggregate in interface ICorecontext - the context.xpathQuery - the aggregate xpath query (e.g. "COUNT(//System.User)").com.mendix.core.CoreExceptionpublic Double retrieveXPathQueryAggregateDouble(IContext context, String xpathQuery) throws com.mendix.core.CoreException
ICoreretrieveXPathQueryAggregateDouble in interface ICorecontext - the context.xpathQuery - the aggregate xpath query (e.g. "COUNT(//System.User)").com.mendix.core.CoreExceptionpublic IDataTable retrieveXPathQueryRaw(IContext context, String xpathQuery, int amount, int offset, Map<String,String> sort, int depth) throws com.mendix.core.CoreException
ICoreretrieveXPathQueryRaw in interface ICorecontext - the context.xpathQuery - the XPath query to execute.amount - maximum number of objects to retrieve.offset - index of first object to retrieve.sort - sorting of returned objects when retrieved from the database (e.g. <"Name", "ASC">, <"Age", "DESC">).depth - indicates the level until which each reference (IMendixIdentifier) is also retrieved as an IMendixObject.com.mendix.core.CoreExceptionpublic List<IMendixObject> retrieveXPathQueryEscaped(IContext context, String xpathFormat, String... params) throws com.mendix.core.CoreException
ICoreretrieveXPathQueryEscaped in interface ICorecontext - the context.xpathFormat - the XPath query to execute with %s for each param to escape.params - a collection of parameters for each %s in xpathFormat.com.mendix.core.CoreExceptionpublic List<IMendixObject> retrieveXPathQuery(IContext context, String xpathQuery) throws com.mendix.core.CoreException
ICoreretrieveXPathQuery in interface ICorecontext - the context.xpathQuery - the XPath query to execute.com.mendix.core.CoreExceptionpublic List<IMendixObject> retrieveXPathQuery(IContext context, String xpathQuery, int amount, int offset, Map<String,String> sort, int depth) throws com.mendix.core.CoreException
ICoreretrieveXPathQuery in interface ICorecontext - the context.xpathQuery - the XPath query to execute.amount - maximum number of objects to retrieve.offset - index of first object to retrieve.sort - sorting of returned objects when retrieved from the database (e.g. <"Name", "ASC">, <"Age", "DESC">).depth - indicates the level until which each reference (IMendixIdentifier) is also retrieved as an IMendixObject.com.mendix.core.CoreExceptionpublic List<IMendixObject> retrieveXPathQuery(IContext context, String xpathQuery, int amount, int offset, Map<String,String> sort, int depth, int timeout) throws com.mendix.core.CoreException
retrieveXPathQuery in interface ICorecom.mendix.core.CoreExceptionpublic Long retrieveXPathQueryAggregateSchema(IContext context, String xpathQuery, IRetrievalSchema retrievalSchema) throws com.mendix.core.CoreException
ICoreretrieveXPathQueryAggregateSchema in interface ICorecontext - the context.xpathQuery - the aggregate xpath query (e.g. "COUNT(//System.User)").retrievalSchema - the schema.com.mendix.core.CoreExceptionpublic Long retrieveXPathQueryAggregateSchema(IContext context, String xpathQuery, IRetrievalSchema retrievalSchema, boolean disableSecurity) throws com.mendix.core.CoreException
ICoreretrieveXPathQueryAggregateSchema in interface ICorecontext - the context.xpathQuery - the aggregate xpath query (e.g. "COUNT(//System.User)").retrievalSchema - the schema.disableSecurity - whether security should be applied for this retrieval.com.mendix.core.CoreExceptionpublic Future<Double> retrieveXPathQueryAggregateAsyncDouble(IContext context, String xpathQuery)
ICoreretrieveXPathQueryAggregateAsyncDouble in interface ICorepublic Future<Long> retrieveXPathQueryAggregateAsync(IContext context, String xpathQuery)
ICoreretrieveXPathQueryAggregateAsync in interface ICorecontext - the context.xpathQuery - the aggregate xpath query (e.g. "COUNT(//System.User)").public Future<List<IMendixObject>> retrieveXPathQueryAsync(IContext context, String xpathQuery, int amount, int offset, Map<String,String> sort, int depth)
ICoreretrieveXPathQueryAsync in interface ICorecontext - the context.xpathQuery - the XPath query to execute.amount - maximum number of objects to retrieve.offset - index of first object to retrieve.sort - sorting of returned objects when retrieved from the database (e.g. <"Name", "ASC">, <"Age", "DESC">).depth - indicates the level until which each reference (IMendixIdentifier) is also retrieved as an IMendixObject.public List<IMendixObject> retrieveXPathSchema(IContext context, String xpathQuery, IRetrievalSchema retrievalSchema, boolean shouldRetrieveCount, boolean disableSecurity) throws com.mendix.core.CoreException
ICoreretrieveXPathSchema in interface ICorecontext - the context.xpathQuery - the XPath query to execute.retrievalSchema - the schema to apply.shouldRetrieveCount - indicates whether the total number object corresponding to the given schema should be included in the result.disableSecurity - indicates whether security should be applied when this query is being executed.com.mendix.core.CoreExceptionpublic List<IMendixObject> retrieveXPathQueryEscaped(IContext context, String xpathFormat, int amount, int offset, Map<String,String> sort, int depth, String... params) throws com.mendix.core.CoreException
ICoreretrieveXPathQueryEscaped in interface ICorecontext - the context.xpathFormat - the XPath query to execute with %s for each param to escape.amount - maximum number of objects to retrieve.offset - index of first object to retrieve.sort - sorting of returned objects when retrieved from the database (e.g. <"Name", "ASC">, <"Age", "DESC">).depth - depth of the retrieval (0 is all attributes and association guids, 1 is also all attributes of 1-deep associations and 2-deep associaton guids etc.).params - xpath arguments.com.mendix.core.CoreExceptionpublic List<IMendixObject> retrieveXPathSchemaEscaped(IContext context, String xpathFormat, IRetrievalSchema retrievalSchema, boolean shouldRetrieveCount, boolean disableSecurity, String... params) throws com.mendix.core.CoreException
ICoreretrieveXPathSchemaEscaped in interface ICorecontext - the context.xpathFormat - the XPath query to execute with %s for each param to escape.retrievalSchema - the schema to apply.shouldRetrieveCount - indicates whether the total number object corresponding to the given schema should be included in the result.disableSecurity - indicates whether security should be disabled when executing this query.params - a collection of parameters for each %s in xpathFormat.com.mendix.core.CoreExceptionpublic IDataTable retrieveXPathSchemaRaw(IContext context, String xpathQuery, boolean shouldRetrieveCount, IRetrievalSchema retrievalSchema) throws com.mendix.core.CoreException
ICoreretrieveXPathSchemaRaw in interface ICorecontext - the context.xpathQuery - the XPath query to execute.shouldRetrieveCount - indicates whether the total number object corresponding to the given schema should be included in the result.retrievalSchema - the schema to apply.com.mendix.core.CoreExceptionpublic IMendixObject rollback(IContext context, IMendixObject object) throws com.mendix.core.CoreException
ICorepublic Future<IMendixObject> rollbackAsync(IContext context, IMendixObject object)
ICorerollbackAsync in interface ICorecontext - the context.object - the object to rollback.public RunnableScheduledFuture<?> schedule(String actionName, Date date) throws com.mendix.core.CoreException
ICoreschedule in interface ICoreactionName - the name of a microflow or java action (format "ModuleName.ActionName")date - the date and time on which the action should be executedcom.mendix.core.CoreExceptionpublic <R> RunnableScheduledFuture<?> schedule(com.mendix.core.actionmanagement.CoreAction<R> action, long delay, TimeUnit timeUnit)
ICorepublic <R> void scheduleAtFixedRate(com.mendix.core.actionmanagement.CoreAction<R> action,
                                    Date firstRun,
                                    long period,
                                    TimeUnit timeUnit)
ICorescheduleAtFixedRate in interface ICoreaction - the action to executefirstRun - the Date/time on which the action will be executed the first timeperiod - the period between each start of the execution of the actiontimeUnit - the timeUnit in which the period is specifiedpublic <R> void scheduleAtFixedRate(com.mendix.core.actionmanagement.CoreAction<R> action,
                                    long initialDelay,
                                    long period,
                                    TimeUnit timeUnit)
ICorescheduleAtFixedRate in interface ICoreaction - the action to execute.initialDelay - the delay after which the action will be executed the first time.period - the period between each start of the execution of the action.timeUnit - the timeUnit in which the initialDelay and the period is specified.public void scheduleAtFixedRate(String actionName, Date firstRun, long period, TimeUnit timeUnit, String name, String description)
ICorescheduleAtFixedRate in interface ICoreactionName - the name of a microflow or java action (format "ModuleName.ActionName").firstRun - the date on which the action will be executed the first time.period - the period between each start of the execution of the action.timeUnit - the timeUnit in which the initialDelay and the period is specified.name - the name of the scheduled event.description - the description of the scheduled event.public <R> void scheduleWithFixedDelay(com.mendix.core.actionmanagement.CoreAction<R> action,
                                       long initialDelay,
                                       long delay,
                                       TimeUnit timeUnit)
ICorescheduleWithFixedDelay in interface ICoreaction - the action to execute.initialDelay - the delay after which the action will be executed the first time.delay - the delay between the end of the execution of the action and the start of the next time the action will be executed.timeUnit - the timeUnit in which the initialDelay and the delay is specified.public void storeFileDocumentContent(IContext context, IMendixObject fileDocument, InputStream inputStream)
storeFileDocumentContent in interface ICorecontext - the context.fileDocument - the file document to which the file to store is linked to.inputStream - the content of the filepublic void storeFileDocumentContent(IContext context, IMendixObject fileDocument, String fileName, InputStream inputStream)
ICorestoreFileDocumentContent in interface ICorecontext - the context.fileDocument - the file document to which the file to store is linked to.fileName - the original name of the file (will be stored in the Name attribute)inputStream - the content of the filepublic void storeImageDocumentContent(IContext context, IMendixObject imageDocument, InputStream inputStream, int thumbnailWidth, int thumbnailHeight)
ICorestoreImageDocumentContent in interface ICorecontext - the context.imageDocument - the image document to which the image to store is linked to.inputStream - the content of the filethumbnailWidth - the width of the thumbnail to create for this image.thumbnailHeight - the width of the thumbnail to create for this image.public void unregisterProfiler()
unregisterProfiler in interface ICore@Deprecated public Future<Boolean> removeAsync(IContext context, IMendixIdentifier id, boolean useDeleteBehavior) throws com.mendix.core.CoreException
ICoreremoveAsync in interface ICorecontext - the context.id - id of the object to remove.useDeleteBehavior - whether to use delete behavior.com.mendix.core.CoreException@Deprecated public Future<IMendixObject> rollbackAsync(IContext context, IMendixIdentifier id) throws com.mendix.core.CoreException
ICorerollbackAsync in interface ICorecontext - the context.id - the identifier of the object to rollback.com.mendix.core.CoreException@Deprecated public IMendixObject rollback(IContext context, IMendixIdentifier id) throws com.mendix.core.CoreException
ICore