|
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.events.EventLocaleRead
public abstract class EventLocaleRead
Server response with information from data resource repository corresponding
to the requested LocaleID identifier.
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...
}
RequestReadLocale
,
RequestGetLocaleSets
,
CfgLanguageLCID
Field Summary | |
---|---|
static int |
ID
|
static java.lang.String |
NAME
|
Method Summary | |
---|---|
static EventLocaleRead |
create()
Creates instance of EventLocaleRead with no parameters set. |
static EventLocaleRead |
create(java.lang.Integer localeId,
org.w3c.dom.Document schemaInfo)
Deprecated. Use new configuration server structures instead of DOM. |
abstract java.lang.Integer |
getLocaleId()
Locale identifier |
abstract java.lang.Integer |
getReferenceId()
Reference ID to connect response to request. |
abstract ConfSchema |
getSchemaData()
Configuration Schema and Localization data |
abstract org.w3c.dom.Document |
getSchemaInfo()
Deprecated. Use new configuration server structures instead of DOM. |
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. |
abstract void |
setSchemaData(ConfSchema schemaData)
Configuration Schema and Localization data |
abstract void |
setSchemaInfo(org.w3c.dom.Document schemaInfo)
Deprecated. Use new configuration server structures instead of DOM. |
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 EventLocaleRead create()
public static EventLocaleRead create(java.lang.Integer localeId, org.w3c.dom.Document schemaInfo)
localeId
- Locale identifierschemaInfo
- Xml Schema
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@Deprecated public abstract org.w3c.dom.Document getSchemaInfo()
@Deprecated public abstract void setSchemaInfo(org.w3c.dom.Document schemaInfo)
schemaInfo
- new value of the propertypublic abstract ConfSchema getSchemaData()
public abstract void setSchemaData(ConfSchema schemaData)
schemaData
- 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 |