Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com.cache
Class ConfCacheFilter

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.com.cache.ConfCacheFilter
All Implemented Interfaces:
Predicate<ConfCacheEvent>

public final class ConfCacheFilter
extends java.lang.Object
implements Predicate<ConfCacheEvent>

A filter for ConfCacheEvents. Note that the filter properties are evaluated using the "and" operator. For example, if ObjectDbid and ObjectType are set, events regarding objects with the specified dbid AND the specified type will be sent to the subscriber.


Constructor Summary
ConfCacheFilter()
           
 
Method Summary
 int getObjectDbid()
          The dbid of the object regarding which events are to be sent to the subscriber.
 CfgObjectType getObjectType()
          The type of object regarding which events are to be sent to the subscriber.
 ConfCacheUpdateType getUpdateType()
          The type of update regarding which events are to be sent to the subscriber.
 boolean invoke(ConfCacheEvent cacheEvent)
          Evaluate filter's condition on truth or false.
 void setObjectDbid(int value)
          The dbid of the object regarding which events are to be sent to the subscriber.
 void setObjectType(CfgObjectType value)
          The type of object regarding which events are to be sent to the subscriber.
 void setUpdateType(ConfCacheUpdateType value)
          The type of update regarding which events are to be sent to the subscriber.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfCacheFilter

public ConfCacheFilter()
Method Detail

getObjectDbid

public int getObjectDbid()
The dbid of the object regarding which events are to be sent to the subscriber.

Returns:
dbid filter value or -1

setObjectDbid

public void setObjectDbid(int value)
The dbid of the object regarding which events are to be sent to the subscriber.

Parameters:
value - dbid filter value or -1

getObjectType

public CfgObjectType getObjectType()
The type of object regarding which events are to be sent to the subscriber.

Returns:
object type filter value

setObjectType

public void setObjectType(CfgObjectType value)
The type of object regarding which events are to be sent to the subscriber.

Parameters:
value - object type filter value

getUpdateType

public ConfCacheUpdateType getUpdateType()
The type of update regarding which events are to be sent to the subscriber.

Returns:
cache event type

setUpdateType

public void setUpdateType(ConfCacheUpdateType value)
The type of update regarding which events are to be sent to the subscriber.

Parameters:
value - cache event type

invoke

public boolean invoke(ConfCacheEvent cacheEvent)
Evaluate filter's condition on truth or false.

Specified by:
invoke in interface Predicate<ConfCacheEvent>
Parameters:
cacheEvent - event instance to be used for checking the filter condition
Returns:
the truth or false of the filter's condition

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.