|
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>
public class CfgQuery<TT extends ICfgObject>
The base class for all types of Configuration Server queries.
Constructor Summary | |
---|---|
CfgQuery()
Creates a new instance of the class. |
|
CfgQuery(IConfService confService)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CfgQuery()
@Deprecated public CfgQuery(IConfService confService)
confService
- reference to IConfService to be used for query execution.Method Detail |
---|
@Deprecated public <T extends ICfgObject> java.util.Collection<T> execute(java.lang.Class<T> clazz) throws ConfigException, java.lang.InterruptedException
IConfService.retrieveMultipleObjects(java.lang.Class, com.genesyslab.platform.applicationblocks.com.ICfgQuery)
directly.
execute
in interface ICfgQuery<TT extends ICfgObject>
T
- The type of configuration object returnedclazz
- class used for generic matching
ConfigException
java.lang.InterruptedException
public java.util.Collection<? extends ICfgObject> execute() throws ConfigException, java.lang.InterruptedException
ConfigException
java.lang.InterruptedException
@Deprecated public <T extends ICfgObject> AsyncRequestResult<T> beginExecute(java.lang.Class<T> clazz, Action<AsyncRequestResult<T>> callback, java.lang.Object state) throws ConfigException
IConfService.beginRetrieveMultipleObjects(java.lang.Class, com.genesyslab.platform.applicationblocks.com.ICfgQuery, com.genesyslab.platform.applicationblocks.commons.Action>)
directly.
beginExecute
in interface ICfgQuery<TT extends ICfgObject>
T
- the type of object returnedcallback
- The method to be called when query results are availablestate
- a user-defined object that qualifies or contains information about an asynchronous operationclazz
- class used for generic matching
ConfigException
@Deprecated public <T extends ICfgObject> java.util.Collection<T> endExecute(AsyncRequestResult<T> asyncResult) throws ConfigException, java.lang.InterruptedException
IConfService.endRetrieveMultipleObjects(com.genesyslab.platform.applicationblocks.com.AsyncRequestResult)
directly.
endExecute
in interface ICfgQuery<TT extends ICfgObject>
T
- the type of object returnedasyncResult
- The AsyncRequestResult object used to track the current request
ConfigException
java.lang.InterruptedException
@Deprecated public <T extends ICfgObject> T executeSingleResult(java.lang.Class<T> clazz) throws ConfigException
IConfService.retrieveObject(com.genesyslab.platform.applicationblocks.com.ICfgQuery)
directly.
executeSingleResult
in interface ICfgQuery<TT extends ICfgObject>
T
- the type of object returnedclazz
- class used for generic matching
ConfigException
public ICfgObject executeSingleResult() throws ConfigException
ConfigException
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |