The BBjAPI object is the entry point for creating and using BBj Objects.
Obtain a BBjAPI object through the following method:
|
Return Value |
Method |
|
BBjAPI |
BBjAPI() |
|
Return Value |
Method |
|
void |
changePassword(string userName, string oldPassword, string newPassword) |
|
void |
clearCustomEventCallback(string eventName) |
|
ClientObject |
cloneAsClientObject(Object serverObj) |
|
Object |
cloneAsServerObject(ClientObject clientObj) |
|
createFileRecordSet(string filename, string modes, string template) |
|
|
createMemoryRecordSet(string stringTemplate) |
|
|
createSQLRecordSet(string connect, string modes, string select) |
|
|
void |
createTimer(Object key, int seconds, string label) |
|
void |
createTimer(Object key, int seconds, CustomObject obj, string methodName) |
|
getAdmin(string user, string password) |
|
|
getBBjPDFForm(string filename) |
|
|
getBBjPDFForm(string filename, boolean useImage) |
|
|
getBBjPDFForm(string filename, PrintRequestAttributeSet attributes) |
|
|
getBBjPDFForm(string filename, PrintRequestAttributeSet attributes, boolean useImage) |
|
|
getBBjPrinter(int client) |
|
|
getBBjPrinter(AttributeSet attributes, int client) |
|
|
getBBjPrinter(string name, int client) |
|
|
getProgramInfo(string filename) |
|
|
string |
getDatabaseGlobal(string databaseName, string propertyName) |
|
getExistingNamespace(string name) |
|
|
java.lang.Throwable |
|
|
getMDI() |
|
|
getNamespace(string prefixName, string baseName, int createIfNeeded) |
|
|
getNewNamespace(string prefixName) |
|
|
getForm(int dialog) |
|
|
int |
isInMDI() |
|
void |
killSession(BBjSessionInfo SessionInfo, string username, string password) |
|
string |
|
|
lookupPrinters(AttributeSet attributes) |
|
|
makeColor(int colorNum) |
|
|
makeColor(int red, int green, int blue) |
|
|
makeColor(string colorName) |
|
|
int |
newBBjSession(BBjCommandLineObject cmdLineObj) |
|
int |
newSynchBBjSession(BBjCommandLineObject cmdLineObj) |
|
openSysGui(string alias) |
|
|
void |
postCustomEvent(string eventName, Object payload) |
|
void |
postPriorityCustomEvent(string eventName, Object payload) |
|
void |
removeDatabaseGlobal(string databaseName, string propertyName) |
|
void |
setCustomEventCallback(string eventName, string subRoutineName) |
|
void |
setCustomEventCallback(string eventName, CustomObject customObj, string methodName) |
|
void |
setDatabaseGlobal(string databaseName, string propertyName, string value) |
|
void |
|
|
void |
removeTimer(Object key) |
None.
|
0 |
FALSE |
|
1 |
TRUE |
|
REM Obtain the instance of the BBjAPI object |
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.