|
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.commons.protocol.DataObject
com.genesyslab.platform.commons.protocol.Message
com.genesyslab.platform.configuration.protocol.confserver.requests.locale.RequestReadLocale
public abstract class RequestReadLocale
This request message does query for the information from data resource repository
corresponding to the given LocaleID identifier (0 - default locale).
For example:
int lcid = 0;
Message resp = confProtocol.request(RequestReadLocale.create(lcid));
if (resp != null && resp.messageId() == EventLocaleRead.ID) {
ConfSchema lcSchema = ((EventLocaleRead) resp).getSchemaData();
// use localization data in 'lcSchema'...
} else {
// handle error...
}
EventLocaleRead
,
RequestGetLocaleSets
,
CfgLanguageLCID
Field Summary | |
---|---|
static int |
ID
|
static java.lang.String |
NAME
|
Method Summary | |
---|---|
static RequestReadLocale |
create()
Creates instance of RequestReadLocale with no parameters set. |
static RequestReadLocale |
create(java.lang.Integer localeId)
Creates instance of RequestReadLocale with all parameters set. |
abstract java.lang.Integer |
getLocaleId()
Locale identifier |
abstract java.lang.Integer |
getReferenceId()
Reference ID to connect response to request. |
abstract void |
setLocaleId(int localeId)
Locale identifier |
abstract void |
setLocaleId(java.lang.Integer localeId)
Locale identifier |
abstract void |
setReferenceId(int referenceId)
Reference ID to connect response to request. |
abstract void |
setReferenceId(java.lang.Integer referenceId)
Reference ID to connect response to request. |
Methods inherited from class com.genesyslab.platform.commons.protocol.Message |
---|
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription |
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject |
---|
equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ID
public static final java.lang.String NAME
Method Detail |
---|
public static RequestReadLocale create()
public static RequestReadLocale create(java.lang.Integer localeId)
localeId
- Locale identifier
public abstract java.lang.Integer getReferenceId()
public abstract void setReferenceId(java.lang.Integer referenceId)
public abstract void setReferenceId(int referenceId)
public abstract java.lang.Integer getLocaleId()
public abstract void setLocaleId(java.lang.Integer localeId)
localeId
- new value of the propertypublic abstract void setLocaleId(int localeId)
localeId
- new value of the property
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |