Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com
Class NotificationQuery

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.com.NotificationQuery

public class NotificationQuery
extends java.lang.Object

This class is used to subscribe to notifications from the Configuration Server.

Author:
Petr Makagon, Vladislav Baranovsky, Alexander Filatov, Anton Brazhnyk, Sergii Volokh

Constructor Summary
NotificationQuery()
          Creates a new instance of subscription request query object.
 
Method Summary
 java.util.Hashtable<java.lang.String,java.lang.Object> getFilter()
           
 java.lang.Integer getObjectDbid()
          This property is used if the client wants to follow changes in a specific object.
 CfgObjectType getObjectType()
          This property is used if the client wants to subscribe to all events happening with all objects of a the specific type.
 java.lang.Integer getTenantDbid()
          This property is used if the client wants to subscribe to all events happening at the specific Tenant.
 void setObjectDbid(java.lang.Integer dbid)
          This property is used if the client wants to follow changes in a specific object.
 void setObjectType(CfgObjectType type)
          This property is used if the client wants to subscribe to all events happening with all objects of a the specific type.
 void setTenantDbid(java.lang.Integer dbid)
          This property is used if the client wants to subscribe to all events happening at the specific Tenant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationQuery

public NotificationQuery()
Creates a new instance of subscription request query object.

Method Detail

setObjectDbid

public void setObjectDbid(java.lang.Integer dbid)
This property is used if the client wants to follow changes in a specific object. To identify particular object it is also required to specify valid object type - setObjectType(CfgObjectType).

Parameters:
dbid - dbid of the object to be monitored

getObjectDbid

public java.lang.Integer getObjectDbid()
This property is used if the client wants to follow changes in a specific object. To identify particular object it is also required to specify valid object type - getObjectType().

Returns:
dbid of the object to be monitored
See Also:
setObjectDbid(Integer)

setTenantDbid

public void setTenantDbid(java.lang.Integer dbid)
This property is used if the client wants to subscribe to all events happening at the specific Tenant.

Parameters:
dbid - dbid of the tenant to be monitored

getTenantDbid

public java.lang.Integer getTenantDbid()
This property is used if the client wants to subscribe to all events happening at the specific Tenant.

Returns:
dbid of the tenant to be monitored or -1 (if not set)
See Also:
setTenantDbid(Integer)

setObjectType

public void setObjectType(CfgObjectType type)
This property is used if the client wants to subscribe to all events happening with all objects of a the specific type.

Parameters:
type - object type for monitoring

getObjectType

public CfgObjectType getObjectType()
This property is used if the client wants to subscribe to all events happening with all objects of a the specific type.

Returns:
object type or "NoObject"
See Also:
setObjectType(CfgObjectType)

getFilter

public final java.util.Hashtable<java.lang.String,java.lang.Object> getFilter()

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.