MultiSite API Functions
You can use API functions in hooks and external applications to determine whether you are working with a replicated database and whether your current replica masters the record or object you want to modify.
Table 10 describes three API methods you can use with MultiSite. For a complete list of API commands, see the API Reference for Rational ClearQuest.
Table 10 MultiSite API Functions
API method
|
Associated object
|
What it does
|
SiteHasMastership
|
Entity Workspace User
|
Returns a value that indicates which replica masters a record, Workspace item, user or group
|
GetSiteExtendedName
|
Entity Workspace User
|
Returns the value of the ratl_keysite name, which helps you determine which records, users or groups have naming conflicts and must be renamed
|
GetLocalReplica
|
Session object
|
Lists replica information. You can use this method to determine whether the database you are working with is a replica.
|