BBjThinClient

Creation Path

BBjAPI

|

+--BBjThinClient

Description

The BBjThinClient API exposes various methods that interact with the client machine in a thin client environment.

Creation

BBjThinClient may be obtained through the following BBjAPI object method:

Return Value

Method

BBjThinClient

getThinClient()

Methods of BBjThinClient

Return Value

Method

void

browse(string url)

void

browse(string url, string name, string features)

void

clearUserProperties()

void

clearUserProperties(long group)

int

clientExec(BBjVector commandLine!)

int

clientExec(BBjVector commandLine!, string workingDir)

int

clientExec(string commandString)

int

clientExec(string commandString, string workingDir)

string

getClientBBjVersion()

string

getClientBuildDate()

BBjClientFileSystem

getClientFileSystem()

string

getClientIPAddress()

string

getClientJavaVersion()

string

getClientLocale()

string

getClientName()

string

getClientOSName()

string

getClientOSVersion()

string

getClientPortID()

java.util.TimeZone

getClientTimeZone()

Map

getUserProperties()

Map

getUserProperties(java.util.Collection properties)

Map

getUserProperties(long group)

Map

getUserProperties(long group, java.util.Collection properties)

string

getUserProperty(string key)

boolean

isInServerJVM()

void

setClientTimeZone(java.util.TimeZone clientTimeZone)

void

setUserProperties(java.util.Map map)

void

setUserProperties(long group, java.util.Map map)

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 implementation of this API. See BUI: Interacting with client files for a detailed discussion of the BUI BBjThinClient.

Constants

0

USER_PROPERTIES_COOKIES

1

USER_PROPERTIES_STORAGE

-1

USER_PROPERTIES_SESSION

Example

tc! = bbjapi().getThinClient()

See Also

BBjAPI

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.