org.apache.directory.server.core.event
Class NotificationCriteria

java.lang.Object
  extended by org.apache.directory.server.core.event.NotificationCriteria

public class NotificationCriteria
extends java.lang.Object

Contains the set of notification criteria required for triggering the delivery of change notifications notifications to DirectoryListeners.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
static org.apache.directory.shared.ldap.message.AliasDerefMode DEFAULT_ALIAS_DEREF_MODE
           
static org.apache.directory.shared.ldap.name.DN DEFAULT_BASE
           
static org.apache.directory.shared.ldap.filter.ExprNode DEFAULT_FILTER
           
static org.apache.directory.shared.ldap.filter.SearchScope DEFAULT_SCOPE
           
 
Constructor Summary
NotificationCriteria()
           
NotificationCriteria(org.apache.directory.shared.ldap.message.internal.InternalSearchRequest req)
           
 
Method Summary
 org.apache.directory.shared.ldap.message.AliasDerefMode getAliasDerefMode()
           
 org.apache.directory.shared.ldap.name.DN getBase()
           
 int getEventMask()
           
 org.apache.directory.shared.ldap.filter.ExprNode getFilter()
           
 org.apache.directory.shared.ldap.filter.SearchScope getScope()
           
 void setAliasDerefMode(org.apache.directory.shared.ldap.message.AliasDerefMode aliasDerefMode)
           
 void setBase(org.apache.directory.shared.ldap.name.DN base)
           
 void setBase(java.lang.String base)
           
 void setEventMask(EventType... eventTypes)
           
 void setEventMask(int eventMask)
           
 void setFilter(org.apache.directory.shared.ldap.filter.ExprNode filter)
           
 void setFilter(java.lang.String filter)
           
 void setScope(org.apache.directory.shared.ldap.filter.SearchScope scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SCOPE

public static final org.apache.directory.shared.ldap.filter.SearchScope DEFAULT_SCOPE

DEFAULT_ALIAS_DEREF_MODE

public static final org.apache.directory.shared.ldap.message.AliasDerefMode DEFAULT_ALIAS_DEREF_MODE

DEFAULT_BASE

public static final org.apache.directory.shared.ldap.name.DN DEFAULT_BASE

DEFAULT_FILTER

public static final org.apache.directory.shared.ldap.filter.ExprNode DEFAULT_FILTER
Constructor Detail

NotificationCriteria

public NotificationCriteria()

NotificationCriteria

public NotificationCriteria(org.apache.directory.shared.ldap.message.internal.InternalSearchRequest req)
Method Detail

setScope

public void setScope(org.apache.directory.shared.ldap.filter.SearchScope scope)
Parameters:
scope - the scope to set

getScope

public org.apache.directory.shared.ldap.filter.SearchScope getScope()
Returns:
the scope

setAliasDerefMode

public void setAliasDerefMode(org.apache.directory.shared.ldap.message.AliasDerefMode aliasDerefMode)
Parameters:
aliasDerefMode - the aliasDerefMode to set

getAliasDerefMode

public org.apache.directory.shared.ldap.message.AliasDerefMode getAliasDerefMode()
Returns:
the aliasDerefMode

setBase

public void setBase(org.apache.directory.shared.ldap.name.DN base)
Parameters:
base - the base to set

setBase

public void setBase(java.lang.String base)
             throws java.lang.Exception
Parameters:
base - the base to set
Throws:
java.lang.Exception

getBase

public org.apache.directory.shared.ldap.name.DN getBase()
Returns:
the base

setFilter

public void setFilter(org.apache.directory.shared.ldap.filter.ExprNode filter)
Parameters:
filter - the filter to set

setFilter

public void setFilter(java.lang.String filter)
               throws java.lang.Exception
Parameters:
filter - the filter to set
Throws:
java.lang.Exception

getFilter

public org.apache.directory.shared.ldap.filter.ExprNode getFilter()
Returns:
the filter

setEventMask

public void setEventMask(int eventMask)
Parameters:
eventMask - the eventMask to set

setEventMask

public void setEventMask(EventType... eventTypes)
Parameters:
eventMask - the eventMask to set

getEventMask

public int getEventMask()
Returns:
the eventMask


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.