public interface ClientDatabaseCache_Interface
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteClientFromCache(int clientDBID)
Delete a client from the client database cache.
|
int |
getClientCount()
Returns the cached client count.
|
int |
getCreatedAt(int clientDBID)
Get the client created at time from client database id.
|
int |
getDatabaseID(String clientUniqueID)
Get the client database id from client unique id.
|
String |
getDescription(int clientDBID)
Get the client description from client database id.
|
String |
getLastIP(int clientDBID)
Get the last client IP address from client database id.
|
int |
getLastOnline(int clientDBID)
Get the client last online time from client database id.
|
String |
getNickname(int clientDBID)
Get the client nickname from client database id.
|
String |
getUniqueID(int clientDBID)
Get the client unique id from client database id.
|
boolean |
isCacheLocal()
Check if a local cache of the TS3 client database exists.
|
boolean |
isUpdateRunning()
Check if the local client database cache is still updating.
|
Vector<Integer> |
searchClientNickname(String search)
Search for clients with a specified client name or unique id.
|
Vector<Integer> |
searchDescription(String search)
Search for clients with a specified description.
|
Vector<HashMap<String,Integer>> |
searchInactiveClients(int daysInactive,
int sortOrder)
Search for clients who was not online in the last X days.
|
Vector<Integer> |
searchIPAddress(String search)
Search for clients with a specified IP address.
|
boolean deleteClientFromCache(int clientDBID)
clientDBID - Client database idtrue, if the client was found and removed from the local Client Database Cache, false if not.int getClientCount()
int getCreatedAt(int clientDBID)
clientDBID - Client database idint getDatabaseID(String clientUniqueID)
clientUniqueID - Client Unique IDString getDescription(int clientDBID)
clientDBID - Client database idString getLastIP(int clientDBID)
clientDBID - Client database idint getLastOnline(int clientDBID)
clientDBID - Client database idString getNickname(int clientDBID)
clientDBID - Client database idString getUniqueID(int clientDBID)
clientDBID - Client database idboolean isCacheLocal()
true, if a local cache of the TS3 client database exists.boolean isUpdateRunning()
true, if the cache is still updating.Vector<Integer> searchClientNickname(String search)
search - The search string with the client name (or parts of it) or the unique id.Vector<Integer> searchDescription(String search)
search - The search string with the description (or parts of it)Vector<HashMap<String,Integer>> searchInactiveClients(int daysInactive, int sortOrder)
daysInactive - Days of inactivitysortOrder - Set to 1 to get the list sorted from oldest to youngest last online time, 0 for youngest to oldest sorting, -1 to disable sorting.Vector<Integer> searchIPAddress(String search)
search - The search string with the ip address (or parts of it)