|
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<CfgStatTable>
com.genesyslab.platform.applicationblocks.com.queries.CfgStatTableQuery
public class CfgStatTableQuery
Class designed to construct queries to the Configuration Service for reading CfgStatTable object(s).
ConfService
,
CfgStatTable
Constructor Summary | |
---|---|
CfgStatTableQuery()
Create query object with default filter value for configuration objects of CfgStatTable type. |
|
CfgStatTableQuery(IConfService service)
Create query object with default filter value for configuration objects of CfgStatTable type. |
|
CfgStatTableQuery(int dbid)
Create query object with filter initialized for the object DBID. |
|
CfgStatTableQuery(java.lang.String name)
Create query object with filter initialized for object name value. |
Method Summary | |
---|---|
AsyncRequestResult<CfgStatTable> |
beginExecute(Action<AsyncRequestResult<CfgStatTable>> callback,
java.lang.Object state)
Begins the asynchronous execution of the current query. |
java.util.Collection<CfgStatTable> |
execute()
Executes the query and returns a list of CfgStatTable objects. |
CfgStatTable |
executeSingleResult()
Executes a query the result of which is a single object. |
int |
getDbid()
A unique identifier of a table. |
int |
getGroupDbid()
A unique identifier of a group. |
java.lang.String |
getName()
Name of a table. |
int |
getStatDayDbid()
A unique identifier of a stat day. |
CfgObjectState |
getState()
Current state of a stat table (see
CfgObjectState
). |
int |
getTableType()
Type of the table. |
int |
getTenantDbid()
A unique identifier of a tenant. |
void |
setDbid(int value)
A unique identifier of a table. |
void |
setGroupDbid(int value)
A unique identifier of a group. |
void |
setName(java.lang.String value)
Name of a table. |
void |
setStatDayDbid(int value)
A unique identifier of a stat day. |
void |
setState(CfgObjectState value)
Current state of a stat table (see
CfgObjectState
). |
void |
setTableType(int value)
Type of the table. |
void |
setTenantDbid(int value)
A unique identifier of a 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 CfgStatTableQuery()
public CfgStatTableQuery(IConfService service)
service
- The configuration service to use when executing this querypublic CfgStatTableQuery(int dbid)
dbid
- value for filter on object dbidsetDbid(int)
public CfgStatTableQuery(java.lang.String name)
name
- value for filter on object namesetName(String)
Method Detail |
---|
public CfgStatTable executeSingleResult() throws ConfigException
executeSingleResult
in class CfgQuery<CfgStatTable>
ConfigException
public java.util.Collection<CfgStatTable> execute() throws ConfigException, java.lang.InterruptedException
execute
in class CfgQuery<CfgStatTable>
ConfigException
java.lang.InterruptedException
public AsyncRequestResult<CfgStatTable> beginExecute(Action<AsyncRequestResult<CfgStatTable>> 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 setTableType(int value)
value
- filter value on field "table_type".public final int getTableType()
setTableType(int)
public final void setGroupDbid(int value)
value
- filter value on field "group_dbid".public final int getGroupDbid()
setGroupDbid(int)
public final void setState(CfgObjectState value)
CfgObjectState
). If specified, Configuration Server
will return information only about tables 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 tables 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)
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 setStatDayDbid(int value)
value
- filter value on field "stat_day_dbid".public final int getStatDayDbid()
setStatDayDbid(int)
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |