Home > @i2analyze/notebook-sdk > app > IApplication
app.IApplication interface
The top-level i2 Notebook application.
Signature:
interface IApplication extends IApplicationEvents
Extends: IApplicationEvents
Introduced: version 1.0
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
allTimeZones | readonly |
data.IKeyedReadOnlyCollection<data.TimeZoneId, data.ITimeZone> | Gets a list of all the valid time zones, in the same order as they appear in the application. |
locale | readonly |
ILocale | Gets the locale in which the application is operating. |
metadataTimeZone | readonly |
data.ITimeZone | Gets the time zone that the application assumes date and time values in metadata to have. |
serverComponents | readonly |
IServerComponents | Gets information about the i2 Analyze components that are deployed on the application server. |
systemActions | readonly |
dialog.ISystemDialogActions | Gets the identifiers of the system dialog actions. |
theme | readonly |
ITheme | Gets the current theme of the application. |
user | readonly |
IUserAndPermissions | Gets the logged-in user of the application. |
Methods
Method | Description |
---|---|
addEventListener(type, listener, options) | Adds an event listener. See app.ApplicationEventMap for the available events. (Inherited from IApplicationEvents) |
removeEventListener(type, listener) | Removes an event listener. See app.ApplicationEventMap for the available events. (Inherited from IApplicationEvents) |
runTrackedMutations(mutationHandler, responseHandler, options) | Queues a function that performs tracked mutations on the application contents at the next available opportunity, and can respond to the changes that the mutations cause. |
runTrackedMutations(mutationHandler, options) | Queues a function that performs tracked mutations on the application contents at the next available opportunity. |
runTransaction(handler, options) | Queues a function that performs read-only work on the application contents at the next available opportunity. |
runUntrackedMutations(mutationHandler, responseHandler, options) | Queues a function that performs untracked mutations on the application contents at the next available opportunity, and can respond to the changes that the mutations cause. |
runUntrackedMutations(mutationHandler, options) | Queues a function that performs untracked mutations on the application contents at the next available opportunity. |