|
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<CfgTimeZone>
com.genesyslab.platform.applicationblocks.com.queries.CfgTimeZoneQuery
public class CfgTimeZoneQuery
Class designed to construct queries to the Configuration Service for reading CfgTimeZone object(s).
ConfService
,
CfgTimeZone
Constructor Summary | |
---|---|
CfgTimeZoneQuery()
Create query object with default filter value for configuration objects of CfgTimeZone type. |
|
CfgTimeZoneQuery(IConfService service)
Create query object with default filter value for configuration objects of CfgTimeZone type. |
|
CfgTimeZoneQuery(int dbid)
Create query object with filter initialized for the object DBID. |
|
CfgTimeZoneQuery(java.lang.String name)
Create query object with filter initialized for object name value. |
Method Summary | |
---|---|
AsyncRequestResult<CfgTimeZone> |
beginExecute(Action<AsyncRequestResult<CfgTimeZone>> callback,
java.lang.Object state)
Begins the asynchronous execution of the current query. |
java.util.Collection<CfgTimeZone> |
execute()
Executes the query and returns a list of CfgTimeZone objects. |
CfgTimeZone |
executeSingleResult()
Executes a query the result of which is a single object. |
int |
getDbid()
A unique identifier of the time zone. |
java.lang.String |
getName()
Name of a time zone. |
java.lang.String |
getNameMsexplorer()
A pointer to the time zone name used by Microsoft browser. |
java.lang.String |
getNameNetscape()
A pointer to the time zone name used by Netscape Navigator browser. |
int |
getOffset()
A time zone offset. |
CfgObjectState |
getState()
Current state of the time zone (See
CfgObjectState
). |
int |
getTenantDbid()
A unique identifier of the tenant. |
void |
setDbid(int value)
A unique identifier of the time zone. |
void |
setName(java.lang.String value)
Name of a time zone. |
void |
setNameMsexplorer(java.lang.String value)
A pointer to the time zone name used by Microsoft browser. |
void |
setNameNetscape(java.lang.String value)
A pointer to the time zone name used by Netscape Navigator browser. |
void |
setOffset(int value)
A time zone offset. |
void |
setState(CfgObjectState value)
Current state of the time zone (See
CfgObjectState
). |
void |
setTenantDbid(int value)
A unique identifier of the 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 CfgTimeZoneQuery()
public CfgTimeZoneQuery(IConfService service)
service
- The configuration service to use when executing this querypublic CfgTimeZoneQuery(int dbid)
dbid
- value for filter on object dbidsetDbid(int)
public CfgTimeZoneQuery(java.lang.String name)
name
- value for filter on object namesetName(String)
Method Detail |
---|
public CfgTimeZone executeSingleResult() throws ConfigException
executeSingleResult
in class CfgQuery<CfgTimeZone>
ConfigException
public java.util.Collection<CfgTimeZone> execute() throws ConfigException, java.lang.InterruptedException
execute
in class CfgQuery<CfgTimeZone>
ConfigException
java.lang.InterruptedException
public AsyncRequestResult<CfgTimeZone> beginExecute(Action<AsyncRequestResult<CfgTimeZone>> 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 setOffset(int value)
value
- filter value on field "offset".public final int getOffset()
setOffset(int)
public final void setNameNetscape(java.lang.String value)
value
- filter value on field "name_netscape".public final java.lang.String getNameNetscape()
setNameNetscape(String)
public final void setNameMsexplorer(java.lang.String value)
value
- filter value on field "name_msexplorer".public final java.lang.String getNameMsexplorer()
setNameMsexplorer(String)
public final void setState(CfgObjectState value)
CfgObjectState
). If specified, Configuration Server
will return information only about the time zone(s) 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 the time zone(s) that are currently
in this state.
setState(CfgObjectState)
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |