Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.confserver.requests.objects
Class RequestUnregisterNotification

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.objects.RequestUnregisterNotification
All Implemented Interfaces:
ProtocolDescriptionSupport

public abstract class RequestUnregisterNotification
extends Message

Unregisters application from receiving notifications on the objects specified in the Subscription list.


Field Summary
static int ID
           
static java.lang.String NAME
           
 
Method Summary
static RequestUnregisterNotification create()
          Creates instance of RequestUnregisterNotification with no parameters set.
static RequestUnregisterNotification create(KeyValueCollection subscription)
          Creates instance of RequestUnregisterNotification with all parameters set.
abstract  java.lang.Integer getReferenceId()
          Reference ID to connect response to request.
abstract  KeyValueCollection getSubscription()
          Two-dimensional TKVList containing lists with the following properties (the names of the keys on the first level are disregarded - let them just be unique): object_type - type of the objects to receive notifications on (if equals to 0 - means all the object types), tenant_id - Tenant affiliation of the objects to receive notifications on (if equals to 0 - means all the Tenants), object_dbid - DBID of the specific object to receive notifications on (used in conjunction with object_type), exclude_bytecode - if set, Configuration Server will filter out binary userProperties field 'bytecode' from notifications.
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 setSubscription(KeyValueCollection subscription)
          Two-dimensional TKVList containing lists with the following properties (the names of the keys on the first level are disregarded - let them just be unique): object_type - type of the objects to receive notifications on (if equals to 0 - means all the object types), tenant_id - Tenant affiliation of the objects to receive notifications on (if equals to 0 - means all the Tenants), object_dbid - DBID of the specific object to receive notifications on (used in conjunction with object_type), exclude_bytecode - if set, Configuration Server will filter out binary userProperties field 'bytecode' from notifications.
 
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 RequestUnregisterNotification create()
Creates instance of RequestUnregisterNotification with no parameters set.

Returns:
instance of RequestUnregisterNotification

create

public static RequestUnregisterNotification create(KeyValueCollection subscription)
Creates instance of RequestUnregisterNotification with all parameters set.

Parameters:
subscription - Two-dimensional TKVList containing lists with the following properties (the names of the keys on the first level are disregarded - let them just be unique): object_type - type of the objects to receive notifications on (if equals to 0 - means all the object types), tenant_id - Tenant affiliation of the objects to receive notifications on (if equals to 0 - means all the Tenants), object_dbid - DBID of the specific object to receive notifications on (used in conjunction with object_type), exclude_bytecode - if set, Configuration Server will filter out binary userProperties field 'bytecode' from notifications.
Returns:
instance of RequestUnregisterNotification

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.


getSubscription

public abstract KeyValueCollection getSubscription()
Two-dimensional TKVList containing lists with the following properties (the names of the keys on the first level are disregarded - let them just be unique): object_type - type of the objects to receive notifications on (if equals to 0 - means all the object types), tenant_id - Tenant affiliation of the objects to receive notifications on (if equals to 0 - means all the Tenants), object_dbid - DBID of the specific object to receive notifications on (used in conjunction with object_type), exclude_bytecode - if set, Configuration Server will filter out binary userProperties field 'bytecode' from notifications.

Returns:
property value

setSubscription

public abstract void setSubscription(KeyValueCollection subscription)
Two-dimensional TKVList containing lists with the following properties (the names of the keys on the first level are disregarded - let them just be unique): object_type - type of the objects to receive notifications on (if equals to 0 - means all the object types), tenant_id - Tenant affiliation of the objects to receive notifications on (if equals to 0 - means all the Tenants), object_dbid - DBID of the specific object to receive notifications on (used in conjunction with object_type), exclude_bytecode - if set, Configuration Server will filter out binary userProperties field 'bytecode' from notifications.

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