Package com.smartgwt.client.docs

# Interface GraalUtilities

public interface GraalUtilities

### Graal Utilities

Utility methods added to the `isc` global namespace when running under GraalJS. These provide convenient Java<->JavaScript type conversion, DSResponse creation, and logging without requiring `Java.type()` calls.

These methods are automatically available in server-side JavaScript when using `contextFiles="databinding"` or any other Smart GWT module shortcut.

#### Type Conversion

- `isc.toJavaMap()` / `isc.fromJavaMap()` - Object conversion
- `isc.toJavaList()` / `isc.fromJavaList()` - Array conversion
- `isc.hashMap()` / `isc.concurrentHashMap()` - Create Java Maps

#### DataSource Operations

- `isc.dsResponse()` - Create DSResponse with automatic type conversion
- `isc.dsRequest()` - Create DSRequest for direct Java execution

#### Logging

- `isc.log()` - Simple console output via System.out.println()
- Smart GWT logging (isc.Log.logWarn, this.logDebug, etc.) - Structured logging with categories and levels, also available under GraalJS

#### Other Utilities

- `isc.nanoTime()` - High-resolution timing
- `isc.fileExists()` / `isc.readFile()` - File operations
- `isc.getConfig()` - Smart GWT server configuration
- `isc.runProcess()` - Execute external processes

See Also:
  - `com.smartgwt.client.util.isc#getGraalTypes`
  - `com.smartgwt.client.util.isc#toJavaMap`
  - `com.smartgwt.client.util.isc#toJavaList`
  - `com.smartgwt.client.util.isc#fromJavaMap`
  - `com.smartgwt.client.util.isc#fromJavaList`
  - `com.smartgwt.client.util.isc#fromJavaValue`
  - `com.smartgwt.client.util.isc#javaBoolean`
  - `com.smartgwt.client.util.isc#dsResponse`
  - `com.smartgwt.client.util.isc#log`
  - `com.smartgwt.client.util.isc#nanoTime`
  - `com.smartgwt.client.util.isc#dsRequest`
  - `com.smartgwt.client.util.isc#javaInteger`
  - `com.smartgwt.client.util.isc#hashMap`
  - `com.smartgwt.client.util.isc#concurrentHashMap`
  - `com.smartgwt.client.util.isc#getSystemProperty`
  - `com.smartgwt.client.util.isc#setSystemProperty`
  - `com.smartgwt.client.util.isc#jacksonMapper`
  - `com.smartgwt.client.util.isc#fileExists`
  - `com.smartgwt.client.util.isc#readFile`
  - `com.smartgwt.client.util.isc#getConfig`
  - `com.smartgwt.client.util.isc#findInPath`
  - `com.smartgwt.client.util.isc#runProcess`
  - `com.smartgwt.client.util.isc#newUUID`
  - `com.smartgwt.client.util.isc#now`
  - `com.smartgwt.client.util.isc#nowPlus`
  - `com.smartgwt.client.util.isc#isExpired`
  - `com.smartgwt.client.util.isc#failureResponse`
  - `com.smartgwt.client.util.isc#successResponse`
  - `com.smartgwt.client.util.isc#executeDSRequest`
  - `com.smartgwt.client.util.isc#fetchOne`
  - `com.smartgwt.client.util.isc#updateRecord`
  - `com.smartgwt.client.util.isc#addRecord`