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