Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.confserver.events
Class EventLocaleSets

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.events.EventLocaleSets
All Implemented Interfaces:
ProtocolDescriptionSupport

public abstract class EventLocaleSets
extends Message

Configuration Server response with information about configured localization sets.
It contains array with integer identifiers (LCID) of available LocaleSet's.
Usage sample:

   Message resp = confProtocol.request(RequestGetLocaleSets.create());

   if (resp != null && resp.messageId() == EventLocaleSets.ID) {
       int[] locales = ((EventLocaleSets) resp).getLocaleSets();
       // do something using the LCID's list...
   } else {
       // handle error...
   }
Localization ID may be used to read locale configuration with RequestReadLocale or to initialize the configuration protocol metadata with particular localization configuration using ConfServerProtocol.loadLocalization(Integer).

See Also:
RequestGetLocaleSets, RequestReadLocale, CfgLanguageLCID

Field Summary
static int ID
           
static java.lang.String NAME
           
 
Method Summary
static EventLocaleSets create()
          Creates instance of EventLocaleSets with no parameters set.
static EventLocaleSets create(int[] localeSets)
          Creates instance of EventLocaleSets with all parameters set.
abstract  int[] getLocaleSets()
          IDs of Locale's configured on the Configuration Server
abstract  java.lang.Integer getReferenceId()
          Reference ID to connect response to request.
abstract  void setLocaleSets(int[] localeSets)
          IDs of Locale's configured on the Configuration Server
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 EventLocaleSets create()
Creates instance of EventLocaleSets with no parameters set.

Returns:
instance of EventLocaleSets

create

public static EventLocaleSets create(int[] localeSets)
Creates instance of EventLocaleSets with all parameters set.

Parameters:
localeSets - IDs of Locale's configured on the Configuration Server
Returns:
instance of EventLocaleSets

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.


getLocaleSets

public abstract int[] getLocaleSets()
IDs of Locale's configured on the Configuration Server

Returns:
property value

setLocaleSets

public abstract void setLocaleSets(int[] localeSets)
IDs of Locale's configured on the Configuration Server

Parameters:
localeSets - 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.