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