public class Client
extends org.termweb.api.data.BaseTermWebObj
| Parameter | Type | Value |
|---|---|---|
| __objtype | String |
'Client' |
| id | String |
Client ID |
| name | String |
Client login name |
| fullName | String |
Client display name |
| active | Boolean |
True if the client is active |
| maxConcurrentUsers | Integer |
Number of max concurrent user for this client. 0 if unlimited (limited by TermWeb license) |
| maxUserAccounts | Integer |
Number of max user accounts for this client. 0 if unlimited (limited by TermWeb license) |
Example:
{
"__objtype": "Client",
"id": "1073709059",
"name": "admin",
"fullName": "Administrator client",
"active": true,
"maxConcurrentUsers": 0,
"maxUserAccounts": 0
}
| Constructor and Description |
|---|
Client()
Creates a new client.
|
Client(TermWebID id)
Creates a new client with specified ID.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFullName()
Returns the client's full name.
|
int |
getMaxConcurrentUsers()
Returns the max number of concurrent users.
|
int |
getMaxUserAccounts()
Returns the max number of users.
|
boolean |
isActive()
Checks if this client is active.
|
void |
setActive(boolean active)
Sets if this client is active.
|
void |
setFullName(String fullName)
Sets the client's full name.
|
void |
setMaxConcurrentUsers(int maxConcurrentUsers)
Sets the max number of concurrent users.
|
void |
setMaxUserAccounts(int maxUserAccounts)
Sets the max number of user accounts.
|
public Client()
public Client(TermWebID id)
id - The ID.public int getMaxConcurrentUsers()
public int getMaxUserAccounts()
public boolean isActive()
public void setFullName(String fullName)
fullName - The full name.public void setMaxConcurrentUsers(int maxConcurrentUsers)
maxConcurrentUsers - Max concurrent users.public void setMaxUserAccounts(int maxUserAccounts)
maxUserAccounts - Max user accounts.public void setActive(boolean active)
active - True if it is active.public String getFullName()
Copyright © 2009-2016 Interverbum Technology AB. All Rights Reserved.