|
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<CfgTableAccess>
com.genesyslab.platform.applicationblocks.com.queries.CfgTableAccessQuery
public class CfgTableAccessQuery
Class designed to construct queries to the Configuration Service for reading CfgTableAccess object(s).
ConfService
,
CfgTableAccess
Constructor Summary | |
---|---|
CfgTableAccessQuery()
Create query object with default filter value for configuration objects of CfgTableAccess type. |
|
CfgTableAccessQuery(IConfService service)
Create query object with default filter value for configuration objects of CfgTableAccess type. |
|
CfgTableAccessQuery(int dbid)
Create query object with filter initialized for the object DBID. |
|
CfgTableAccessQuery(java.lang.String name)
Create query object with filter initialized for object name value. |
Method Summary | |
---|---|
AsyncRequestResult<CfgTableAccess> |
beginExecute(Action<AsyncRequestResult<CfgTableAccess>> callback,
java.lang.Object state)
Begins the asynchronous execution of the current query. |
java.util.Collection<CfgTableAccess> |
execute()
Executes the query and returns a list of CfgTableAccess objects. |
CfgTableAccess |
executeSingleResult()
Executes a query the result of which is a single object. |
int |
getDbaccessDbid()
A unique identifier of the data base access point through which the table can be accessed. |
int |
getDbid()
A unique identifier of a table access. |
java.lang.String |
getDbTableName()
Name of the table. |
int |
getFormatDbid()
A unique identifier of format of the table. |
java.lang.String |
getName()
Name of a table access. |
CfgObjectState |
getState()
Current state of the table access (See
CfgObjectState
). |
int |
getTenantDbid()
A unique identifier of the tenant. |
CfgTableType |
getType()
A type of table (See
CfgTableType
). |
void |
setDbaccessDbid(int value)
A unique identifier of the data base access point through which the table can be accessed. |
void |
setDbid(int value)
A unique identifier of a table access. |
void |
setDbTableName(java.lang.String value)
Name of the table. |
void |
setFormatDbid(int value)
A unique identifier of format of the table. |
void |
setName(java.lang.String value)
Name of a table access. |
void |
setState(CfgObjectState value)
Current state of the table access (See
CfgObjectState
). |
void |
setTenantDbid(int value)
A unique identifier of the tenant. |
void |
setType(CfgTableType value)
A type of table (See
CfgTableType
). |
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 CfgTableAccessQuery()
public CfgTableAccessQuery(IConfService service)
service
- The configuration service to use when executing this querypublic CfgTableAccessQuery(int dbid)
dbid
- value for filter on object dbidsetDbid(int)
public CfgTableAccessQuery(java.lang.String name)
name
- value for filter on object namesetName(String)
Method Detail |
---|
public CfgTableAccess executeSingleResult() throws ConfigException
executeSingleResult
in class CfgQuery<CfgTableAccess>
ConfigException
public java.util.Collection<CfgTableAccess> execute() throws ConfigException, java.lang.InterruptedException
execute
in class CfgQuery<CfgTableAccess>
ConfigException
java.lang.InterruptedException
public AsyncRequestResult<CfgTableAccess> beginExecute(Action<AsyncRequestResult<CfgTableAccess>> 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 setType(CfgTableType value)
CfgTableType
). If
specified, Configuration Server will return information only about
the table(s) of that type.
value
- filter value on field "type".public final CfgTableType getType()
CfgTableType
). If
specified, Configuration Server will return information only about
the table(s) of that type.
setType(CfgTableType)
public final void setDbaccessDbid(int value)
value
- filter value on field "dbaccess_dbid".public final int getDbaccessDbid()
setDbaccessDbid(int)
public final void setFormatDbid(int value)
value
- filter value on field "format_dbid".public final int getFormatDbid()
setFormatDbid(int)
public final void setDbTableName(java.lang.String value)
value
- filter value on field "db_table_name".public final java.lang.String getDbTableName()
setDbTableName(String)
public final void setState(CfgObjectState value)
CfgObjectState
). If specified, Configuration
Server will return information only about the table access(es) 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(es) 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 |