|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.com.CfgQuery<TT>
com.genesyslab.platform.applicationblocks.com.CfgFilterBasedQuery<CfgIVR>
com.genesyslab.platform.applicationblocks.com.queries.CfgIVRQuery
public class CfgIVRQuery
Class designed to construct queries to the Configuration Service for reading CfgIVR object(s).
ConfService
,
CfgIVR
Constructor Summary | |
---|---|
CfgIVRQuery()
Create query object with default filter value for configuration objects of CfgIVR type. |
|
CfgIVRQuery(IConfService service)
Create query object with default filter value for configuration objects of CfgIVR type. |
|
CfgIVRQuery(int dbid)
Create query object with filter initialized for the object DBID. |
|
CfgIVRQuery(java.lang.String name)
Create query object with filter initialized for object name value. |
Method Summary | |
---|---|
AsyncRequestResult<CfgIVR> |
beginExecute(Action<AsyncRequestResult<CfgIVR>> callback,
java.lang.Object state)
Begins the asynchronous execution of the current query. |
java.util.Collection<CfgIVR> |
execute()
Executes the query and returns a list of CfgIVR objects. |
CfgIVR |
executeSingleResult()
Executes a query the result of which is a single object. |
int |
getDbid()
A unique identifier of an IVR. |
int |
getIvrServerDbid()
A unique identifier of an IVR interface server. |
java.lang.String |
getName()
Name of IVR. |
CfgObjectState |
getState()
Current state of an IVR (see
CfgObjectState
). |
int |
getTenantDbid()
A unique identifier of a tenant. |
CfgIVRType |
getType()
Type of the IVR (see type
CfgIVRType
). |
void |
setDbid(int value)
A unique identifier of an IVR. |
void |
setIvrServerDbid(int value)
A unique identifier of an IVR interface server. |
void |
setName(java.lang.String value)
Name of IVR. |
void |
setState(CfgObjectState value)
Current state of an IVR (see
CfgObjectState
). |
void |
setTenantDbid(int value)
A unique identifier of a tenant. |
void |
setType(CfgIVRType value)
Type of the IVR (see type
CfgIVRType
). |
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgFilterBasedQuery |
---|
equals, getCfgObjectClass, getCfgObjectType, getDoRequestFolderId, getDoRequestObjectPath, getExtraFilter, getFilter, getInt, getProperty, getQueryObjectClass, getString, hashCode, setDoRequestFolderId, setDoRequestObjectPath, setObjectClass, setProperty, toString |
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgQuery |
---|
beginExecute, endExecute, execute, executeSingleResult |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.genesyslab.platform.applicationblocks.com.ICfgQuery |
---|
beginExecute, endExecute, execute, executeSingleResult |
Constructor Detail |
---|
public CfgIVRQuery()
public CfgIVRQuery(IConfService service)
service
- The configuration service to use when executing this querypublic CfgIVRQuery(int dbid)
dbid
- value for filter on object dbidsetDbid(int)
public CfgIVRQuery(java.lang.String name)
name
- value for filter on object namesetName(String)
Method Detail |
---|
public CfgIVR executeSingleResult() throws ConfigException
executeSingleResult
in class CfgQuery<CfgIVR>
ConfigException
public java.util.Collection<CfgIVR> execute() throws ConfigException, java.lang.InterruptedException
execute
in class CfgQuery<CfgIVR>
ConfigException
java.lang.InterruptedException
public AsyncRequestResult<CfgIVR> beginExecute(Action<AsyncRequestResult<CfgIVR>> 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 operation
ConfigException
public final void setTenantDbid(int value)
value
- filter value on field "tenant_dbid".public final int getTenantDbid()
setTenantDbid(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 setType(CfgIVRType value)
CfgIVRType
).
If specified, Configuration Server will return information only
about the IVR of this type.
value
- filter value on field "type".public final CfgIVRType getType()
CfgIVRType
).
If specified, Configuration Server will return information only
about the IVR of this type.
setType(CfgIVRType)
public final void setIvrServerDbid(int value)
value
- filter value on field "ivr_server_dbid".public final int getIvrServerDbid()
setIvrServerDbid(int)
public final void setState(CfgObjectState value)
CfgObjectState
).
If specified, Configuration Server will return information only
about IVRs that are currently in this state.
value
- filter value on field "state".public final CfgObjectState getState()
CfgObjectState
).
If specified, Configuration Server will return information only
about IVRs that are currently in this state.
setState(CfgObjectState)
public final void setDbid(int value)
value
- filter value on field "dbid".public final int getDbid()
setDbid(int)
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |