Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.confserver.requests.locale
Class RequestReadLocale

java.lang.Object
  extended by com.genesyslab.platform.commons.protocol.DataObject
      extended by com.genesyslab.platform.commons.protocol.Message
          extended by com.genesyslab.platform.configuration.protocol.confserver.requests.locale.RequestReadLocale
All Implemented Interfaces:
ProtocolDescriptionSupport

public abstract class RequestReadLocale
extends Message

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...
  }

See Also:
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

ID

public static final int ID
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Method Detail

create

public static RequestReadLocale create()
Creates instance of RequestReadLocale with no parameters set.

Returns:
instance of RequestReadLocale

create

public static RequestReadLocale create(java.lang.Integer localeId)
Creates instance of RequestReadLocale with all parameters set.

Parameters:
localeId - Locale identifier
Returns:
instance of RequestReadLocale

getReferenceId

public abstract java.lang.Integer getReferenceId()
Reference ID to connect response to request. If set to 0, it means that ReferenceID should be assigned by ReferenceBuilder.


setReferenceId

public abstract void setReferenceId(java.lang.Integer referenceId)
Reference ID to connect response to request. If set to 0, it means that ReferenceID should be assigned by ReferenceBuilder.


setReferenceId

public abstract void setReferenceId(int referenceId)
Reference ID to connect response to request. If set to 0, it means that ReferenceID should be assigned by ReferenceBuilder.


getLocaleId

public abstract java.lang.Integer getLocaleId()
Locale identifier

Returns:
property value

setLocaleId

public abstract void setLocaleId(java.lang.Integer localeId)
Locale identifier

Parameters:
localeId - new value of the property

setLocaleId

public abstract void setLocaleId(int localeId)
Locale identifier

Parameters:
localeId - new value of the property

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.