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