|
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<CfgTreatment>
com.genesyslab.platform.applicationblocks.com.queries.CfgTreatmentQuery
public class CfgTreatmentQuery
Class designed to construct queries to the Configuration Service for reading CfgTreatment object(s).
ConfService
,
CfgTreatment
Constructor Summary | |
---|---|
CfgTreatmentQuery()
Create query object with default filter value for configuration objects of CfgTreatment type. |
|
CfgTreatmentQuery(IConfService service)
Create query object with default filter value for configuration objects of CfgTreatment type. |
|
CfgTreatmentQuery(int dbid)
Create query object with filter initialized for the object DBID. |
|
CfgTreatmentQuery(java.lang.String name)
Create query object with filter initialized for object name value. |
Method Summary | |
---|---|
AsyncRequestResult<CfgTreatment> |
beginExecute(Action<AsyncRequestResult<CfgTreatment>> callback,
java.lang.Object state)
Begins the asynchronous execution of the current query. |
java.util.Collection<CfgTreatment> |
execute()
Executes the query and returns a list of CfgTreatment objects. |
CfgTreatment |
executeSingleResult()
Executes a query the result of which is a single object. |
CfgCallActionCode |
getCallActionCode()
A call action code(See
CfgCallActionCode
). |
GctiCallState |
getCallResult()
A call result related to this treatment (See
GctiCallState
). |
int |
getDbid()
A unique identifier of the treatment. |
int |
getDestDnDbid()
A unique identifier of destination dn. |
java.lang.String |
getName()
Name of a treatment. |
CfgRecActionCode |
getRecActionCode()
A record action code(See
CfgRecActionCode
). |
CfgObjectState |
getState()
Current state of the table access (See
CfgObjectState
). |
int |
getTenantDbid()
A unique identifier of the tenant. |
void |
setCallActionCode(CfgCallActionCode value)
A call action code(See
CfgCallActionCode
). |
void |
setCallResult(GctiCallState value)
A call result related to this treatment (See
GctiCallState
). |
void |
setDbid(int value)
A unique identifier of the treatment. |
void |
setDestDnDbid(int value)
A unique identifier of destination dn. |
void |
setName(java.lang.String value)
Name of a treatment. |
void |
setRecActionCode(CfgRecActionCode value)
A record action code(See
CfgRecActionCode
). |
void |
setState(CfgObjectState value)
Current state of the table access (See
CfgObjectState
). |
void |
setTenantDbid(int value)
A unique identifier of the tenant. |
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 CfgTreatmentQuery()
public CfgTreatmentQuery(IConfService service)
service
- The configuration service to use when executing this querypublic CfgTreatmentQuery(int dbid)
dbid
- value for filter on object dbidsetDbid(int)
public CfgTreatmentQuery(java.lang.String name)
name
- value for filter on object namesetName(String)
Method Detail |
---|
public CfgTreatment executeSingleResult() throws ConfigException
executeSingleResult
in class CfgQuery<CfgTreatment>
ConfigException
public java.util.Collection<CfgTreatment> execute() throws ConfigException, java.lang.InterruptedException
execute
in class CfgQuery<CfgTreatment>
ConfigException
java.lang.InterruptedException
public AsyncRequestResult<CfgTreatment> beginExecute(Action<AsyncRequestResult<CfgTreatment>> 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 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 setName(java.lang.String value)
value
- filter value on field "name".public final java.lang.String getName()
setName(String)
public final void setCallResult(GctiCallState value)
GctiCallState
). If specified, Configuration
Server will return information only about the treatments(s) with
that call result.
value
- filter value on field "call_result".public final GctiCallState getCallResult()
GctiCallState
). If specified, Configuration
Server will return information only about the treatments(s) with
that call result.
setCallResult(GctiCallState)
public final void setRecActionCode(CfgRecActionCode value)
CfgRecActionCode
).
If specified, Configuration Server will return information only
about the treatments(s) with that record action code.
value
- filter value on field "rec_action_code".public final CfgRecActionCode getRecActionCode()
CfgRecActionCode
).
If specified, Configuration Server will return information only
about the treatments(s) with that record action code.
setRecActionCode(CfgRecActionCode)
public final void setDestDnDbid(int value)
value
- filter value on field "dest_dn_dbid".public final int getDestDnDbid()
setDestDnDbid(int)
public final void setCallActionCode(CfgCallActionCode value)
CfgCallActionCode
). If
specified, Configuration Server will return information only about
the treatments(s) with that call action code.
value
- filter value on field "call_action_code".public final CfgCallActionCode getCallActionCode()
CfgCallActionCode
). If
specified, Configuration Server will return information only about
the treatments(s) with that call action code.
setCallActionCode(CfgCallActionCode)
public final void setState(CfgObjectState value)
CfgObjectState
). If specified, Configuration
Server will return information only about the table access(s) 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 the table access(s) that
are currently in this state.
setState(CfgObjectState)
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |