|
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<CfgEnumeratorValue>
com.genesyslab.platform.applicationblocks.com.queries.CfgEnumeratorValueQuery
public class CfgEnumeratorValueQuery
Class designed to construct queries to the Configuration Service for reading CfgEnumeratorValue object(s).
ConfService
,
CfgEnumeratorValue
Constructor Summary | |
---|---|
CfgEnumeratorValueQuery()
Create query object with default filter value for configuration objects of CfgEnumeratorValue type. |
|
CfgEnumeratorValueQuery(IConfService service)
Create query object with default filter value for configuration objects of CfgEnumeratorValue type. |
|
CfgEnumeratorValueQuery(int dbid)
Create query object with filter initialized for the object DBID. |
|
CfgEnumeratorValueQuery(java.lang.String name)
Create query object with filter initialized for object name value. |
Method Summary | |
---|---|
AsyncRequestResult<CfgEnumeratorValue> |
beginExecute(Action<AsyncRequestResult<CfgEnumeratorValue>> callback,
java.lang.Object state)
Begins the asynchronous execution of the current query. |
java.util.Collection<CfgEnumeratorValue> |
execute()
Executes the query and returns a list of CfgEnumeratorValue objects. |
CfgEnumeratorValue |
executeSingleResult()
Executes a query the result of which is a single object. |
int |
getDbid()
A unique identifier of an enumerator value. |
int |
getDefaultValue()
A default value of an enumerator. |
java.lang.String |
getDisplayName()
Display name of an enumerator value. |
int |
getEnumeratorDbid()
A unique identifier of an enumerator. |
java.lang.String |
getName()
System name of an enumerator value. |
CfgObjectState |
getState()
Current state of a enumerator value(see
CfgObjectState
). |
int |
getTenantDbid()
A unique identifier of a tenant. |
void |
setDbid(int value)
A unique identifier of an enumerator value. |
void |
setDefaultValue(int value)
A default value of an enumerator. |
void |
setDisplayName(java.lang.String value)
Display name of an enumerator value. |
void |
setEnumeratorDbid(int value)
A unique identifier of an enumerator. |
void |
setName(java.lang.String value)
System name of an enumerator value. |
void |
setState(CfgObjectState value)
Current state of a enumerator value(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 CfgEnumeratorValueQuery()
public CfgEnumeratorValueQuery(IConfService service)
service
- The configuration service to use when executing this querypublic CfgEnumeratorValueQuery(int dbid)
dbid
- value for filter on object dbidsetDbid(int)
public CfgEnumeratorValueQuery(java.lang.String name)
name
- value for filter on object namesetName(String)
Method Detail |
---|
public CfgEnumeratorValue executeSingleResult() throws ConfigException
executeSingleResult
in class CfgQuery<CfgEnumeratorValue>
ConfigException
public java.util.Collection<CfgEnumeratorValue> execute() throws ConfigException, java.lang.InterruptedException
execute
in class CfgQuery<CfgEnumeratorValue>
ConfigException
java.lang.InterruptedException
public AsyncRequestResult<CfgEnumeratorValue> beginExecute(Action<AsyncRequestResult<CfgEnumeratorValue>> 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 setEnumeratorDbid(int value)
value
- filter value on field "enumerator_dbid".public final int getEnumeratorDbid()
setEnumeratorDbid(int)
public final void setDefaultValue(int value)
CFGTrue
.
value
- filter value on field "default_value".public final int getDefaultValue()
CFGTrue
.
setDefaultValue(int)
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 setTenantDbid(int value)
value
- filter value on field "tenant_dbid".public final int getTenantDbid()
setTenantDbid(int)
public final void setState(CfgObjectState value)
CfgObjectState
). If specified, Configuration Server
will return information only about enumerator values 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 enumerator values that are currently
in this state.
setState(CfgObjectState)
public final void setDisplayName(java.lang.String value)
value
- filter value on field "display_name".public final java.lang.String getDisplayName()
setDisplayName(String)
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |