The following tables list the method details of common bean objects initialized by script execution. The bean and the method are accessed from JACL script as follows:
$ISStatementAdmin executeStatement "alter sandbox set batch mode"
where $ISStatementAdmin is the bean exposed by the framework, executeStatement is the method on the bean, and the string is the argument to the method.
Note: | See the sample model in install-root/samples/sample for examples of different JACL scripts. |
Table 7. DBAdmin Method Summary
Bean | Method |
---|
Connection | getConnection() |
String | getFormattedServerDate() |
Date | getServerDate() |
long | getServerTime() |
String | getServerTimeAsString() |
String | toOracleDate(Date date) |
Date | toSqlDate(Date date) |
String | toSQLServerDate(Date date) |
Time | toSqlTime(Date date) |
Timestamp | toSqlTimestamp(Date date) |
Table 8. EmailAdmin Method Summary
Bean | Method |
---|
MailMessage | createMessage(String toUser, String ccUser, String fromUser, String subject, String content, String attachmentPath) |
Table 9. ISStatementAdmin Method Summary
Bean | Method |
---|
Object | executeStatement(String statement) |
Table 10. ModelAdmin Method Summary
Bean | Method |
---|
Model | getReadOnly() |
Model | getReadWrite() |
Table 11. SandboxAdmin Method Summary
Bean | Method |
---|
ListWrapper | getSandboxNamesForResponsesWithChanges( String responseType) |
Table 12. SessionAdmin Method Summary
Bean | Method |
---|
long | getCurrentSandboxID() |
String | getCurrentSandboxName() |
boolean | isScriptAccessExclusive(String lockName) |
void | setExclusiveScriptAccess(String lockName) |
Table 13. TaskAdmin Method Summary
Bean | Method |
---|
void | addTask(String taskCmd, String groupName) |
boolean | containsPendingTask(String taskCmd, String groupName) |
void | deleteTasks(String groupName) |
void | executeTasks(String groupName, boolean waitForCompletion) |