ICfgFilterBasedQuery<CfgDN>
, ICfgQuery<CfgDN>
, ICfgQueryObjectClass<CfgDN>
@Generated(value="com.genesyslab.platform.applicationblocks.com.generator.COMGenerator", date="2021-06-14T15:47:13-07:00") public class CfgDNQuery extends CfgFilterBasedQuery<CfgDN>
ConfService
,
CfgDN
Constructor | Description |
---|---|
CfgDNQuery() |
Create query object with default filter value for configuration objects
of CfgDN type.
|
CfgDNQuery(int dbid) |
Create query object with filter initialized for the object DBID.
|
CfgDNQuery(IConfService service) |
Create query object with default filter value for configuration objects
of CfgDN type.
|
CfgDNQuery(java.lang.String name) |
Create query object with filter initialized for object name value.
|
Modifier and Type | Method | Description |
---|---|---|
AsyncRequestResult<CfgDN> |
beginExecute(Action<AsyncRequestResult<CfgDN>> callback,
java.lang.Object state) |
Begins the asynchronous execution of the current query.
|
java.util.Collection<CfgDN> |
execute() |
Executes the query and returns a list of CfgDN objects.
|
CfgDN |
executeSingleResult() |
Executes a query the result of which is a single object.
|
java.lang.String |
getAssociation() |
An entity associated with a DN.
|
int |
getDbid() |
A unique identifier of a DN.
|
java.lang.String |
getDnNumber() |
Directory number of a DN.
|
CfgDNType |
getDnType() |
Type of the DN (see
CfgDNType
).
|
int |
getGroupDbid() |
A unique identifier of the group of DNs.
|
int |
getIvrDbid() |
A unique identifier of an IVR object (see
CfgIVR
).
|
java.lang.String |
getName() |
Name of a DN.
|
int |
getNoPlaceDbid() |
Configuration Server will return information only about the DN(s)
that ) that are allowed to be assigned to the place and not associated
with any place.
|
int |
getPlaceDbid() |
A unique identifier of a place.
|
CfgObjectState |
getState() |
Current state of a DN (see
CfgObjectState
).
|
int |
getSwitchDbid() |
A unique identifier of a switch.
|
int |
getTenantDbid() |
A unique identifier of a tenant.
|
void |
setAssociation(java.lang.String value) |
An entity associated with a DN.
|
void |
setDbid(int value) |
A unique identifier of a DN.
|
void |
setDnNumber(java.lang.String value) |
Directory number of a DN.
|
void |
setDnType(CfgDNType value) |
Type of the DN (see
CfgDNType
).
|
void |
setGroupDbid(int value) |
A unique identifier of the group of DNs.
|
void |
setIvrDbid(int value) |
A unique identifier of an IVR object (see
CfgIVR
).
|
void |
setName(java.lang.String value) |
Name of a DN.
|
void |
setNoPlaceDbid(int value) |
Configuration Server will return information only about the DN(s)
that ) that are allowed to be assigned to the place and not associated
with any place.
|
void |
setPlaceDbid(int value) |
A unique identifier of a place.
|
void |
setState(CfgObjectState value) |
Current state of a DN (see
CfgObjectState
).
|
void |
setSwitchDbid(int value) |
A unique identifier of a switch.
|
void |
setTenantDbid(int value) |
A unique identifier of a tenant.
|
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 CfgDNQuery()
public CfgDNQuery(IConfService service)
service
- The configuration service to use when executing this querypublic CfgDNQuery(int dbid)
dbid
- value for filter on object dbidsetDbid(int)
public CfgDNQuery(java.lang.String name)
name
- value for filter on object namesetName(String)
public CfgDN executeSingleResult() throws ConfigException
executeSingleResult
in class CfgQuery<CfgDN>
ConfigException
public java.util.Collection<CfgDN> execute() throws ConfigException, java.lang.InterruptedException
execute
in class CfgQuery<CfgDN>
ConfigException
java.lang.InterruptedException
public AsyncRequestResult<CfgDN> beginExecute(Action<AsyncRequestResult<CfgDN>> 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 setTenantDbid(int value)
value
- filter value on field "tenant_dbid".public final int getTenantDbid()
setTenantDbid(int)
public final void setSwitchDbid(int value)
value
- filter value on field "switch_dbid".public final int getSwitchDbid()
setSwitchDbid(int)
public final void setDnType(CfgDNType value)
value
- filter value on field "dn_type".public final CfgDNType getDnType()
setDnType(CfgDNType)
public final void setPlaceDbid(int value)
value
- filter value on field "place_dbid".public final int getPlaceDbid()
setPlaceDbid(int)
public final void setNoPlaceDbid(int value)
value
- filter value on field "no_place_dbid".public final int getNoPlaceDbid()
setNoPlaceDbid(int)
public final void setGroupDbid(int value)
value
- filter value on field "group_dbid".public final int getGroupDbid()
setGroupDbid(int)
public final void setAssociation(java.lang.String value)
value
- filter value on field "association".public final java.lang.String getAssociation()
setAssociation(String)
public final void setState(CfgObjectState value)
value
- filter value on field "state".public final CfgObjectState getState()
setState(CfgObjectState)
public final void setDnNumber(java.lang.String value)
value
- filter value on field "dn_number".public final java.lang.String getDnNumber()
setDnNumber(String)
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 setIvrDbid(int value)
value
- filter value on field "ivr_dbid".public final int getIvrDbid()
setIvrDbid(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.