BBjThinClient
Description
The BBjThinClient API exposes various methods that interact with the client machine in a thin client environment.
Creation
BBjAPI > BBjThinClient
BBjThinClient may be obtained through the following BBjAPI object method:
Return Value |
Method |
---|---|
BBjThinClient |
Methods of BBjThinClient
Return Value |
Method |
---|---|
void |
browse(string url) |
void |
browse(string url, string name, string features) |
void |
clearUserProperties(long group) |
int |
clientExec(BBjVector commandLine!) clientExec(BBjVector commandLine!, string workingDir) clientExec(string commandString) clientExec(string commandString, string workingDir) |
string |
|
string |
|
string |
|
string |
|
string |
|
BBjVector | getClientLocales() |
string |
|
string |
|
string |
|
string |
|
string |
|
getUserProperties(Collection properties) getUserProperties(long group) getUserProperties(long group, Collection properties) |
|
string |
getUserProperty(long group, string key) getUserProperty(string key) |
boolean |
|
void |
setClientTimeZone(java.util.TimeZone clientTimeZone) |
void | setUserProperties(Map map) |
void | setUserProperties(long group, Mapmap) |
void | setUserProperties(long group, String attributes, Map map) |
void | setUserProperty(long group, String attributes, String key, String value) |
void | setUserProperty(long group, String key, String value) |
void | setUserProperty(String key, String value) |
Remarks
Browser security restrictions and differences between Java and JavaScript impose some limitations on the BUI and DWC implementations of this API. See Interacting with client files in BUI and DWC for a detailed discussion of the browser-based BBjThinClient API.
Constants
Value | Constant | Type |
---|---|---|
0 |
USER_PROPERTIES_COOKIES |
long |
1 |
USER_PROPERTIES_STORAGE |
long |
-1 |
USER_PROPERTIES_SESSION |
long |
"" |
SAME_SITE_DEFAULT |
String |
"Lax" |
SAME_SITE_LAX |
String |
"None" |
SAME_SITE_NONE |
String |
"Strict" |
SAME_SITE_STRICT |
String |
Example
|
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.