ICfgFilterBasedQuery<CfgTenant>
, ICfgQuery<CfgTenant>
, ICfgQueryObjectClass<CfgTenant>
@Generated(value="com.genesyslab.platform.applicationblocks.com.generator.COMGenerator", date="2021-06-14T15:47:13-07:00") public class CfgTenantQuery extends CfgFilterBasedQuery<CfgTenant>
ConfService
,
CfgTenant
Constructor | Description |
---|---|
CfgTenantQuery() |
Create query object with default filter value for configuration objects
of CfgTenant type.
|
CfgTenantQuery(int dbid) |
Create query object with filter initialized for the object DBID.
|
CfgTenantQuery(IConfService service) |
Create query object with default filter value for configuration objects
of CfgTenant type.
|
CfgTenantQuery(java.lang.String name) |
Create query object with filter initialized for object name value.
|
Modifier and Type | Method | Description |
---|---|---|
AsyncRequestResult<CfgTenant> |
beginExecute(Action<AsyncRequestResult<CfgTenant>> callback,
java.lang.Object state) |
Begins the asynchronous execution of the current query.
|
java.util.Collection<CfgTenant> |
execute() |
Executes the query and returns a list of CfgTenant objects.
|
CfgTenant |
executeSingleResult() |
Executes a query the result of which is a single object.
|
int |
getAllTenants() |
If specified , Configuration
Server will return information about all tenants including tenant
with DBID=1.
|
int |
getDbid() |
A unique identifier of a tenant.
|
java.lang.String |
getName() |
Name of a tenant.
|
CfgObjectState |
getState() |
Current state of a tenant (see
CfgObjectState
).
|
void |
setAllTenants(int value) |
If specified , Configuration
Server will return information about all tenants including tenant
with DBID=1.
|
void |
setDbid(int value) |
A unique identifier of a tenant.
|
void |
setName(java.lang.String value) |
Name of a tenant.
|
void |
setState(CfgObjectState value) |
Current state of a tenant (see
CfgObjectState
).
|
equals, getCfgObjectClass, getCfgObjectType, getDoRequestFolderId, getDoRequestObjectPath, getExtraFilter, getFilter, getInt, getProperty, getQueryObjectClass, getString, hashCode, setDoRequestFolderId, setDoRequestObjectPath, setObjectClass, setProperty, toString
beginExecute, endExecute, execute, executeSingleResult
beginExecute, endExecute, execute, executeSingleResult
public CfgTenantQuery()
public CfgTenantQuery(IConfService service)
service
- The configuration service to use when executing this querypublic CfgTenantQuery(int dbid)
dbid
- value for filter on object dbidsetDbid(int)
public CfgTenantQuery(java.lang.String name)
name
- value for filter on object namesetName(String)
public CfgTenant executeSingleResult() throws ConfigException
executeSingleResult
in class CfgQuery<CfgTenant>
ConfigException
public java.util.Collection<CfgTenant> execute() throws ConfigException, java.lang.InterruptedException
execute
in class CfgQuery<CfgTenant>
ConfigException
java.lang.InterruptedException
public AsyncRequestResult<CfgTenant> beginExecute(Action<AsyncRequestResult<CfgTenant>> callback, java.lang.Object state) throws ConfigException
callback
- The method to be called when query results are availablestate
- a user-defined object that qualifies or contains information about an asynchronous operationConfigException
public final void setDbid(int value)
value
- filter value on field "dbid".public final int getDbid()
setDbid(int)
public final void setName(java.lang.String value)
value
- filter value on field "name".public final java.lang.String getName()
setName(String)
public final void setState(CfgObjectState value)
value
- filter value on field "state".public final CfgObjectState getState()
setState(CfgObjectState)
public final void setAllTenants(int value)
value
- filter value on field "all_tenants".public final int getAllTenants()
setAllTenants(int)
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.